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\Annotation

Code

public $primitive_type;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.