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 definition class to use for defining a list of items of this type. Must implement the
The human-readable name of the data type. Type:
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
The typed data class used for wrapping multiple data items of the type. Must implement the
Whether the typed object wraps the canonical representation of the data. Type: bool See also
The description of the data type. Type: