function 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 322

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.