function ResourceTypeField::disabled
Same name in other branches
- 8.9.x core/modules/jsonapi/src/ResourceType/ResourceTypeField.php \Drupal\jsonapi\ResourceType\ResourceTypeField::disabled()
- 10 core/modules/jsonapi/src/ResourceType/ResourceTypeField.php \Drupal\jsonapi\ResourceType\ResourceTypeField::disabled()
- 11.x core/modules/jsonapi/src/ResourceType/ResourceTypeField.php \Drupal\jsonapi\ResourceType\ResourceTypeField::disabled()
Gets a new instance of the field that is disabled.
Return value
static A new instance of the field that is disabled.
1 call to ResourceTypeField::disabled()
- ResourceTypeRelationship::disabled in core/
modules/ jsonapi/ src/ ResourceType/ ResourceTypeRelationship.php - Gets a new instance of the field that is disabled.
1 method overrides ResourceTypeField::disabled()
- ResourceTypeRelationship::disabled in core/
modules/ jsonapi/ src/ ResourceType/ ResourceTypeRelationship.php - Gets a new instance of the field that is disabled.
File
-
core/
modules/ jsonapi/ src/ ResourceType/ ResourceTypeField.php, line 104
Class
- ResourceTypeField
- Abstract value object containing all metadata for a JSON:API resource field.
Namespace
Drupal\jsonapi\ResourceTypeCode
public function disabled() {
return new static($this->internalName, $this->publicName, FALSE, $this->hasOne);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.