Elgg  Version master
Static Public Member Functions | List of all members
Elgg\Menus\Site Class Reference

Register menu items to the site menu. More...

Static Public Member Functions

static registerAdminConfiguredItems (\Elgg\Event $event)
 Registers custom menu items. More...
 
static reorderItems (\Elgg\Event $event)
 Reorder the site menu based on custom order and move excess to dropdown. More...
 

Detailed Description

Register menu items to the site menu.

Since
4.0

Definition at line 14 of file Site.php.

Member Function Documentation

static Elgg\Menus\Site::registerAdminConfiguredItems ( \Elgg\Event  $event)
static

Registers custom menu items.

Parameters
\Elgg\Event$event'register', 'menu:site'
Returns
void|MenuItems

Definition at line 23 of file Site.php.

static Elgg\Menus\Site::reorderItems ( \Elgg\Event  $event)
static

Reorder the site menu based on custom order and move excess to dropdown.

Parameters
\Elgg\Event$event'prepare', 'menu:site'
Returns
void|PreparedMenu

Definition at line 53 of file Site.php.


The documentation for this class was generated from the following file: