Elgg  Version master
Variables
edit.php File Reference

Go to the source code of this file.

Variables

 $widget = elgg_extract('entity', $vars)
 
if(!$widget instanceof\ElggWidget) if(!$widget->canEdit()) $form
 
 if (empty($form))
 

Variable Documentation

if (!$widget instanceof\ElggWidget) if (!$widget->canEdit()) $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)
elgg_view_form(string $action, array $form_vars=[], array $body_vars=[])
Definition: views.php:1033
$vars
Definition: theme.php:5

Definition at line 19 of file edit.php.

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

Definition at line 10 of file edit.php.

if(empty($form))

Definition at line 26 of file edit.php.