eZ Systems Website
  Editor documentation

  Developer documentation

  Back to the top

The documentation is moving!

We're moving our developer docs to Github and a new site.
The migration is still in progress, so please contact us in #documentation-contrib on eZ Community Slack if you have any questions or feedback.

This space will not be updated from now on except for critical fixes.

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

This Field Type represents an ISBN string.

NameInternal nameExpected input type


This Field Type makes it possible to store and retrieve an ISBN string in either an ISBN-10 or ISBN-13 format.

PHP API Field Type 

Value object


The Value class of this Field Type contains the following properties:

$isbnstringThis property will be used for the ISBN string.
String representation

An ISBN's string representation is the the $isbn property's value, as a string.


The constructor for this value object will initialize a new Value object with the value provided. It accepts a string as argument and will set it to the isbn attribute.


The input passed into this Field Type is subject of ISBN validation depending on the Field settings in its FieldDefinition stored in the Content Type. An example of this Field setting is shown below and will control if input is validated as ISBN-13 or ISBN-10:

Code Block
    [isISBN13] => true


For more details on the Value object for this Field Type please refer to the auto-generated documentation (todo: update link when available, see here for the value object and its doc in the mean time).