public function ResourceType::isMutable in Drupal 9
Same name and namespace in other branches
- 8 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;
}