function ResourceType::isVersionable

Same name in other branches
  1. 8.9.x core/modules/jsonapi/src/ResourceType/ResourceType.php \Drupal\jsonapi\ResourceType\ResourceType::isVersionable()
  2. 10 core/modules/jsonapi/src/ResourceType/ResourceType.php \Drupal\jsonapi\ResourceType\ResourceType::isVersionable()
  3. 11.x core/modules/jsonapi/src/ResourceType/ResourceType.php \Drupal\jsonapi\ResourceType\ResourceType::isVersionable()

Whether resources of this resource type are versionable.

Return value

bool TRUE if the resource type's resources are versionable. FALSE otherwise.

File

core/modules/jsonapi/src/ResourceType/ResourceType.php, line 325

Class

ResourceType
Value object containing all metadata for a JSON:API resource type.

Namespace

Drupal\jsonapi\ResourceType

Code

public function isVersionable() {
    return $this->isVersionable;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.