Defines a data type annotation object. The typed data API allows modules to support any kind of data based upon pre-defined primitive types
The definition class to use for defining data of this type. Must implement the
The data type plugin ID. Type: string File core/lib
The human-readable name of the data type. Type:
The definition class to use for defining a list of items of this type. Must implement the
An array of validation constraints for this type. Type:
The pre-defined primitive type that this data type maps to. If set, it must be a constant defined by \Drupal\Core\TypedData\Primitive such as
Whether the typed object wraps the canonical representation of the data. Type: bool See also
The typed data class used for wrapping multiple data items of the type. Must implement the
The description of the data type. Type: