Elgg  Version 6.1
Variables
add_button.php File Reference

Go to the source code of this file.

Variables

 $href
 Button area for showing the add widgets panel. More...
 

Variable Documentation

$href
Initial value:
= elgg_generate_url('widgets:add_panel', [
'context' => elgg_get_context(),
'context_stack' => elgg_get_context_stack(),
'show_access' => elgg_extract('show_access', $vars, true),
'owner_guid' => elgg_extract('owner_guid', $vars, elgg_get_page_owner_guid()),
'new_widget_column' => elgg_extract('new_widget_column', $vars),
'new_widget_position' => elgg_extract('new_widget_position', $vars),
])
elgg_get_context()
Get the current context.
Definition: context.php:41
elgg_get_page_owner_guid()
Elgg page owner library.
Definition: pageowner.php:12
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
$vars
Definition: theme.php:5
elgg_generate_url(string $name, array $parameters=[])
Generate a URL for named route.
elgg_get_context_stack()
Get the entire context stack (e.g.
Definition: context.php:88

Button area for showing the add widgets panel.

Definition at line 6 of file add_button.php.