public function setFieldForRelation($fieldName, FormField $field)
    {
        if (self::isLocalizedRelation($fieldName)) {
            self::$localizedFields[$this->ownerBaseClass . '_has_one'][$fieldName]['FormField'] = $field;
        }
    }
public function setFieldForRelation($fieldName, FormField $field)
    {
        if (self::isLocalizedRelation($fieldName)) {
            self::$localizedFields[$this->ownerBaseClass . '_has_one'][$fieldName]['FormField'] = $field;
        }
    }
public function setFieldForRelation ( $ fieldName , FormField $ field ) { if ( self :: isLocalizedRelation ( $ fieldName ) ) { self :: $ localizedFields [ $ this -> ownerBaseClass . '_has_one' ] [ $ fieldName ] [ 'FormField' ] = $ field ; } }
Setter for relation specific FormField. Will be cloned in scaffolding functions
@param string $fieldName
@param FormField $field
Setter for relation specific FormField . Will be cloned in scaffolding functions