public function getDefaultFormFieldValueOptions(FieldInterface $field)
    {
        $defaultOptions = ['label' => false];
        if ($field->getHint()) {
            $defaultOptions['attr']['help'] = $field->getHint();
        }
        return $defaultOptions;
    }
public function getDefaultFormFieldValueOptions(FieldInterface $field)
    {
        $defaultOptions = ['label' => false];
        if ($field->getHint()) {
            $defaultOptions['attr']['help'] = $field->getHint();
        }
        return $defaultOptions;
    }
public function getDefaultFormFieldValueOptions ( FieldInterface $ field ) { $ defaultOptions = [ 'label' => false ] ; if ( $ field -> getHint ( ) ) { $ defaultOptions [ 'attr' ] [ 'help' ] = $ field -> getHint ( ) ; } return $ defaultOptions ; }
Add field hint to field value form

@param $field

@return array
Add field hint to field value form