type = 'password';
$this->icon = 'key';
$this->label = l('fields.password.label', 'Password');
}
public function input() {
$input = parent::input();
if($this->suggestion) {
$input->data(array(
'field' => 'passwordSuggestion'
));
}
return $input;
}
public function help() {
if($this->suggestion and !$this->readonly) {
$this->help = $this->suggestion();
}
return parent::help();
}
public function suggestion() {
return '
';
}
}