Skip to content
Snippets Groups Projects
Commit 593b09f9 authored by catch's avatar catch
Browse files

Issue #2047119 by fago, msankhala, LinL: Remove deprecated documentation in DataType annotation

(cherry picked from commit 5d7ae059)
parent d7442be7
No related branches found
No related tags found
8 merge requests!10011Issue #3200534 by quietone, longwave, Kristen Pol: Use dataprovider for...,!2571Issue #3000717: Missing mapping for "nodereference_url" widget,!2521Issue #3185775: Place Views preview on the side on large monitors,!1603Issue #3231707: mxr576's core patch playground,!1479Issue #3250298: Return empty string "" with JSON Serializer instead of FALSE,!1478Issue #3250298: Return empty string "" with JSON Serializer instead of FALSE,!1203Issue #3236191 Wrong group exposed form widgets and multiple selection error.,!1076Issue #2903336 Added node context for tokens.
...@@ -10,11 +10,11 @@ ...@@ -10,11 +10,11 @@
* The typed data API allows modules to support any kind of data based upon * 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. * 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 * Defined data types may map to one of the pre-defined primitive types below
* \Drupal\Core\TypedData\Primitive or may be complex data types, containing on * \Drupal\Core\TypedData\Type or may be complex data types, containing
* or more data properties. Typed data objects for complex data types have to * one or more data properties. Typed data objects for complex data types have
* implement the \Drupal\Core\TypedData\ComplexDataInterface. Further interface * to implement the \Drupal\Core\TypedData\ComplexDataInterface. Further
* that may be implemented are: * interfaces that may be implemented are:
* - \Drupal\Core\Access\AccessibleInterface * - \Drupal\Core\Access\AccessibleInterface
* - \Drupal\Core\TypedData\TranslatableInterface * - \Drupal\Core\TypedData\TranslatableInterface
* *
...@@ -82,16 +82,6 @@ class DataType extends Plugin { ...@@ -82,16 +82,6 @@ class DataType extends Plugin {
*/ */
public $list_definition_class = '\Drupal\Core\TypedData\ListDataDefinition'; 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. * An array of validation constraints for this type.
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment