Password
class Password
Provides a form element for entering a password, with hidden text.
Usage example:
$form['pass'] = array( '#type' => 'password', '#title' => $this->t('Password'), '#size' => 25, );
Plugin annotation
@FormElement("password")
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, 登录查看完整内容