7 $menu = 
elgg()->menus->getUnpreparedMenu(
'site', [
 
   26     'value' => 
elgg_echo(
'admin:menu_items:description'),
 
   27     'class' => 
'elgg-text-help',
 
   41         'name' => 
'featured_menu_names[]',
 
   47     '#type' => 
'fieldset',
 
   48     'class' => 
'elgg-fieldset-wrap',
 
   49     'align' => 
'horizontal',
 
   56     'value' => 
elgg_echo(
'admin:add_menu_item:description'),
 
   57     'class' => 
'elgg-text-help',
 
   68         '#type' => 
'fieldset',
 
   69         'align' => 
'horizontal',
 
   74                 'name' => 
'custom_menu_titles[]',
 
   80                 'name' => 
'custom_menu_urls[]',
 
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
foreach($plugin_guids as $guid) if(empty($deactivated_plugins)) $url
elgg()
Bootstrapping and helper procedural code available for use in Elgg core and plugins.
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
elgg_view_module(string $type, string $title, string $body, array $vars=[])
Wrapper function for the module display pattern.
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
elgg_set_form_footer(string $footer='')
Sets form footer and defers its rendering until the form view and extensions have been rendered.
elgg_view(string $view, array $vars=[], string $viewtype='')
Return a parsed view.
$current_value
Elgg switch input.