Elgg  Version 6.0
Variables
save.php File Reference

Go to the source code of this file.

Variables

 $widget = elgg_extract('entity', $vars)
 Elgg widget edit settings. More...
 
if(!$widget instanceof\ElggWidget) $custom_form_section = ''
 
if(elgg_view_exists("widgets/{$widget->handler}/edit")) $access = ''
 
if(elgg_extract('show_access', $vars, true)) if (!$custom_form_section &&!$access)
 
if(elgg_in_context('default_widgets')) $footer
 

Variable Documentation

if (elgg_view_exists("widgets/{$widget->handler}/edit")) $access = ''

Definition at line 19 of file save.php.

if (!$widget instanceof\ElggWidget) $custom_form_section = ''

Definition at line 14 of file save.php.

if (elgg_in_context('default_widgets')) $footer
Initial value:
'#type' => 'submit',
'text' => elgg_echo('save'),
])
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
Definition: views.php:1112
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17

Definition at line 51 of file save.php.

$widget = elgg_extract('entity', $vars)

Elgg widget edit settings.

$vars['entity'] The widget entity $vars['show_access'] (bool) should widget access setting be available default: true

Definition at line 9 of file save.php.

if (elgg_extract('show_access', $vars, true)) if(!$custom_form_section &&!$access)

Definition at line 30 of file save.php.