public property DataType::$primitive_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 \Drupal\Core\TypedData\Primitive::STRING.
Type: string
File
- core/lib/Drupal/Core/TypedData/Annotation/DataType.php, line 93
Class
- DataType
- Defines a data type annotation object.
Namespace
Drupal\Core\TypedData\AnnotationCode
public $primitive_type;
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!TypedData!Annotation!DataType.php/property/DataType::primitive_type/8.1.x