You are here

public property DataType::$primitive_type in Drupal 8

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;