Elgg  Version 6.2
Variables
password.php File Reference

Go to the source code of this file.

Variables

 $user = elgg_extract('entity', $vars, elgg_get_page_owner_entity())
 Provide a way of setting your password. More...
 
if(! $user instanceof \ElggUser$fields = []
 
if(!elgg_is_admin_logged_in()||elgg_is_admin_logged_in() && $user->guid===elgg_get_logged_in_user_guid()) $fields []
 

Variable Documentation

◆ $fields [1/2]

if (! $user instanceof \ElggUser) $fields = []

Definition at line 14 of file password.php.

◆ $fields [2/2]

$fields[]
Initial value:
= [
'#type' => 'password',
'#label' => elgg_echo('user:password:label'),
'name' => 'password',
'autocomplete' => 'new-password',
'add_security_requirements' => true,
]
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17

Definition at line 24 of file password.php.

◆ $user

$user = elgg_extract('entity', $vars, elgg_get_page_owner_entity())

Provide a way of setting your password.

@uses $vars['entity'] the user to set settings for

Definition at line 8 of file password.php.