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

Register menu items to the entity menu. More...

Static Public Member Functions

static registerEdit (\Elgg\Hook $hook)
 Register the edit menu item. More...
 
static registerDelete (\Elgg\Hook $hook)
 Register the delete menu item. More...
 
static registerPlugin (\Elgg\Hook $hook)
 Registers menu items for the entity menu of a plugin. More...
 
static registerUpgrade (\Elgg\Hook $hook)
 Add menu items to the entity menu of ElggUpgrade. More...
 
static registerUserHoverAdminSection (\Elgg\Hook $hook)
 Add the user hover admin section to the entity menu of an ElggUser, if requested. More...
 

Detailed Description

Register menu items to the entity menu.

Since
4.0

Definition at line 13 of file Entity.php.

Member Function Documentation

static Elgg\Menus\Entity::registerDelete ( \Elgg\Hook  $hook)
static

Register the delete menu item.

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

Definition at line 57 of file Entity.php.

static Elgg\Menus\Entity::registerEdit ( \Elgg\Hook  $hook)
static

Register the edit menu item.

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

Definition at line 22 of file Entity.php.

static Elgg\Menus\Entity::registerPlugin ( \Elgg\Hook  $hook)
static

Registers menu items for the entity menu of a plugin.

Parameters
\Elgg\Hook$hook'register', 'menu:entity:object:plugin'
Returns
void|MenuItems

Definition at line 97 of file Entity.php.

static Elgg\Menus\Entity::registerUpgrade ( \Elgg\Hook  $hook)
static

Add menu items to the entity menu of ElggUpgrade.

Parameters
\Elgg\Hook$hook'register', 'menu:entity:object:elgg_upgrade'
Returns
void|MenuItems

Definition at line 191 of file Entity.php.

static Elgg\Menus\Entity::registerUserHoverAdminSection ( \Elgg\Hook  $hook)
static

Add the user hover admin section to the entity menu of an ElggUser, if requested.

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

Definition at line 237 of file Entity.php.


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