Go to the source code of this file.
$children = $item->getChildren() |
if (!empty($children)) elseif ($item->getData('show_with_empty_children')===false) $deps = $item->getDeps() |
A single element of a menu.
$vars['item'] ElggMenuItem $vars['item_class'] Additional CSS class for the menu item
Definition at line 9 of file item.php.
if (elgg_extract('data-toggle', $item->getValues())) foreach ($deps as $module) $item_vars['data-menu-item'] = $item->getName() |
Initial value:=
elgg_view(
$item->getItemContentsView() ?:
'navigation/menu/elements/item/url', [
])
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition at line 68 of file item.php.