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 data type plugin ID. Type: string File core/lib
The definition class to use for defining data of this type. Must implement the
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 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 human-readable name of the data type. Type:
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: