Elgg  Version 6.1
controls.php
Go to the documentation of this file.
1 <?php
9 echo elgg_view_menu('widget', [
10  'entity' => elgg_extract('widget', $vars),
11  'show_edit' => elgg_extract('show_edit', $vars, true),
12  'show_access' => elgg_extract('show_access', $vars),
13  'class' => 'elgg-menu-hz',
14 ]);
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:256
elgg_view_menu($menu, array $vars=[])
Render a menu.
Definition: views.php:441
$vars
Definition: theme.php:5