Elgg  Version 3.0
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  'class' => 'elgg-menu-hz',
13 ]);
elgg_view_menu($menu, array $vars=[])
Render a menu.
Definition: views.php:755
elgg echo
Translates a string.
Definition: languages.js:43
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:1131
$vars['type']
Definition: save.php:11