Loading core/lib/Drupal/Core/TypedData/Annotation/DataType.php +5 −15 Original line number Diff line number Diff line Loading @@ -10,11 +10,11 @@ * The typed data API allows modules to support any kind of data based upon * pre-defined primitive types and interfaces for complex data and lists. * * Defined data types may map to one of the pre-defined primitive types in * \Drupal\Core\TypedData\Primitive or may be complex data types, containing on * or more data properties. Typed data objects for complex data types have to * implement the \Drupal\Core\TypedData\ComplexDataInterface. Further interface * that may be implemented are: * Defined data types may map to one of the pre-defined primitive types below * \Drupal\Core\TypedData\Type or may be complex data types, containing * one or more data properties. Typed data objects for complex data types have * to implement the \Drupal\Core\TypedData\ComplexDataInterface. Further * interfaces that may be implemented are: * - \Drupal\Core\Access\AccessibleInterface * - \Drupal\Core\TypedData\TranslatableInterface * Loading Loading @@ -82,16 +82,6 @@ class DataType extends Plugin { */ public $list_definition_class = '\Drupal\Core\TypedData\ListDataDefinition'; /** * 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 \Drupal\Core\TypedData\Primitive::STRING. * * @var string */ public $primitive_type; /** * An array of validation constraints for this type. * Loading Loading
core/lib/Drupal/Core/TypedData/Annotation/DataType.php +5 −15 Original line number Diff line number Diff line Loading @@ -10,11 +10,11 @@ * The typed data API allows modules to support any kind of data based upon * pre-defined primitive types and interfaces for complex data and lists. * * Defined data types may map to one of the pre-defined primitive types in * \Drupal\Core\TypedData\Primitive or may be complex data types, containing on * or more data properties. Typed data objects for complex data types have to * implement the \Drupal\Core\TypedData\ComplexDataInterface. Further interface * that may be implemented are: * Defined data types may map to one of the pre-defined primitive types below * \Drupal\Core\TypedData\Type or may be complex data types, containing * one or more data properties. Typed data objects for complex data types have * to implement the \Drupal\Core\TypedData\ComplexDataInterface. Further * interfaces that may be implemented are: * - \Drupal\Core\Access\AccessibleInterface * - \Drupal\Core\TypedData\TranslatableInterface * Loading Loading @@ -82,16 +82,6 @@ class DataType extends Plugin { */ public $list_definition_class = '\Drupal\Core\TypedData\ListDataDefinition'; /** * 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 \Drupal\Core\TypedData\Primitive::STRING. * * @var string */ public $primitive_type; /** * An array of validation constraints for this type. * Loading