public function ResourceType::isMutable in JSON:API 8.2
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
- src/
ResourceType/ ResourceType.php, line 279
Class
- ResourceType
- Value object containing all metadata for a JSON:API resource type.
Namespace
Drupal\jsonapi\ResourceTypeCode
public function isMutable() {
return $this->isMutable;
}