public function ResourceType::isLocatable in JSON:API 8
Same name and namespace in other branches
- 8.2 src/ResourceType/ResourceType.php \Drupal\jsonapi\ResourceType\ResourceType::isLocatable()
Whether resources of this resource type are locatable.
A resource type may for example not be locatable when it is not stored.
Return value
bool TRUE if the resource type's resources are locatable. FALSE otherwise.
File
- src/
ResourceType/ ResourceType.php, line 194
Class
- ResourceType
- Value object containing all metadata for a JSON API resource type.
Namespace
Drupal\jsonapi\ResourceTypeCode
public function isLocatable() {
return $this->isLocatable;
}