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

◆ $form

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

Definition at line 19 of file edit.php.

◆ $widget

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

Definition at line 10 of file edit.php.

◆ if

if(empty($form)) ( empty( $form)  )

Definition at line 26 of file edit.php.