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\Hook $hook)
 Registers custom menu items. More...
 
static reorderItems (\Elgg\Hook $hook)
 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\Hook  $hook)
static

Registers custom menu items.

Parameters
\Elgg\Hook$hook'register', 'menu:site'
Returns
void|MenuItems

Definition at line 23 of file Site.php.

static Elgg\Menus\Site::reorderItems ( \Elgg\Hook  $hook)
static

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

Parameters
\Elgg\Hook$hook'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: