Elgg  Version master
Variables
delete.php File Reference

Go to the source code of this file.

Variables

 $fields
 Delete user confirmation form. More...
 
foreach($fields as $field) $footer
 

Variable Documentation

◆ $fields

$fields
Initial value:
= [
[
'#type' => 'hidden',
'name' => 'guid',
'value' => elgg_extract('guid', $vars),
],
[
'#type' => 'checkbox',
'#label' => elgg_echo('user:delete:confirm'),
'required' => true,
],
]
$vars
Definition: theme.php:5
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:256
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17

Delete user confirmation form.

Definition at line 6 of file delete.php.

◆ $footer

foreach ( $fields as $field) $footer
Initial value:
'#type' => 'submit',
'text' => elgg_echo('delete'),
])
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
Definition: views.php:1112

Definition at line 23 of file delete.php.