Elgg  Version 5.1
Variables
settings.php File Reference

Go to the source code of this file.

Variables

 $widget = elgg_extract('widget', $vars)
 
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(string $action, array $form_vars=[], array $body_vars=[])
Definition: views.php:1054

Definition at line 15 of file settings.php.

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

Definition at line 10 of file settings.php.

if(empty($form))

Definition at line 22 of file settings.php.