18         '#type' => 
'password',
 
   19         '#label' => 
elgg_echo(
'email:address:password'),
 
   20         '#help' => 
elgg_echo(
'email:address:password:help'),
 
   21         'name' => 
'email_password',
 
   22         'autocomplete' => 
'current-password',
 
   33     '#label' => 
elgg_echo(
'email:address:label'),
 
   36     'value' => 
$user->email,
 
   45     '#type' => 
'fieldset',
 
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
if(! $user instanceof \ElggUser) $fields
$user
Provide a way of setting your email.
if(elgg_get_config('security_email_require_password') &&($user->guid===elgg_get_logged_in_user_guid())) $email_help
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.
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
elgg_get_page_owner_entity()
Gets the owner entity for the current page.
elgg_get_logged_in_user_guid()
Return the current logged in user by guid.