protected property ResourceTypeField::$hasOne in Drupal 8
Same name and namespace in other branches
- 9 core/modules/jsonapi/src/ResourceType/ResourceTypeField.php \Drupal\jsonapi\ResourceType\ResourceTypeField::hasOne
Whether the field can only have one value.
Type: bool
File
- core/
modules/ jsonapi/ src/ ResourceType/ ResourceTypeField.php, line 44
Class
- ResourceTypeField
- Abstract value object containing all metadata for a JSON:API resource field.
Namespace
Drupal\jsonapi\ResourceTypeCode
protected $hasOne;