public setField ( string $fieldDefIdentifier, mixed $value, string | null $language = null ) | ||
$fieldDefIdentifier | string | the identifier of the field definition |
$value | mixed | Either a plain value which is understandable by the corresponding field type or an instance of a Value class provided by the field type |
$language | string | null | If not given on a translatable field the initial language is used |