function ResourceType::getEntityTypeId

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

Gets the entity type ID.

Return value

string The entity type ID.

See also

\Drupal\Core\Entity\EntityInterface::getEntityTypeId

File

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

Class

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

Namespace

Drupal\jsonapi\ResourceType

Code

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

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