Elgg  Version 4.3
Variables
settings.php File Reference

Go to the source code of this file.

Variables

 $widget = elgg_extract('widget', $vars)
 Elgg widget edit settings. More...
 
if(!$widget instanceof ElggWidget$form
 
 if (empty($form))
 

Variable Documentation

if (!$widget instanceof ElggWidget) $form
Initial value:
= elgg_view_form('widgets/save', [
'class' => [
preg_replace('/[^a-z0-9-]/i', '-', "elgg-form-widgets-save-{$widget->handler}"),
],
'prevent_double_submit' => false,
], $vars)
$vars['type']
Definition: settings.php:5
elgg_view_form($action, $form_vars=[], $body_vars=[])
Definition: views.php:1064

Definition at line 13 of file settings.php.

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

Elgg widget edit settings.

$vars['widget']

Definition at line 8 of file settings.php.

if(empty($form))

Definition at line 20 of file settings.php.