Ouzo\Helper\ModelFormBuilder::passwordField PHP Method

passwordField() public method

public passwordField ( $field, array $options = [] )
$options array
    public function passwordField($field, array $options = array())
    {
        $attributes = $this->_generatePredefinedAttributes($field);
        $attributes = $this->_mergeAttributes($attributes, $options);
        return passwordFieldTag($this->generateName($field), $this->_object->{$field}, $attributes);
    }