Go to the source code of this file.
◆ $fields
Initial value:= [
[
'#type' => 'hidden',
'name' => 'guid',
],
[
'#type' => 'checkbox',
'#label' =>
elgg_echo(
'user:delete:confirm'),
'required' => true,
],
]
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
Delete user confirmation form.
Definition at line 6 of file delete.php.
◆ $footer
foreach ( $fields as $field) $footer |
Initial value:
'#type' => 'submit',
])
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
Definition at line 23 of file delete.php.