Class

eZ\Publish\Core\Base\Exceptions\ContentTypeFieldDefinitionValidationException

class ContentTypeFieldDefinitionValidationException extends ContentTypeFieldDefinitionValidationException implements Translatable

This Exception is thrown on create or update content one or more given fields are not valid.

Methods

ValidationError[] getFieldErrors()

Returns an array of field validation error messages.

__construct(array $errors)

Generates: Content fields did not validate.

Details

at line 54
public ValidationError[] getFieldErrors()

Returns an array of field validation error messages.

Return Value

ValidationError[]

at line 42
public __construct(array $errors)

Generates: Content fields did not validate.

Also sets the given $fieldErrors to the internal property, retrievable by getFieldErrors()

Parameters

array $errors