function ResourceType::isMutable
Same name in other branches
- 9 core/modules/jsonapi/src/ResourceType/ResourceType.php \Drupal\jsonapi\ResourceType\ResourceType::isMutable()
- 8.9.x core/modules/jsonapi/src/ResourceType/ResourceType.php \Drupal\jsonapi\ResourceType\ResourceType::isMutable()
- 10 core/modules/jsonapi/src/ResourceType/ResourceType.php \Drupal\jsonapi\ResourceType\ResourceType::isMutable()
Whether resources of this resource type are mutable.
Indicates that resources of this type may not be created, updated or deleted (POST, PATCH or DELETE, respectively).
Return value
bool TRUE if the resource type's resources are mutable. FALSE otherwise.
File
-
core/
modules/ jsonapi/ src/ ResourceType/ ResourceType.php, line 315
Class
- ResourceType
- Value object containing all metadata for a JSON:API resource type.
Namespace
Drupal\jsonapi\ResourceTypeCode
public function isMutable() {
return $this->isMutable;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.