You are here

public function ResourceType::getEntityTypeId in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/jsonapi/src/ResourceType/ResourceType.php \Drupal\jsonapi\ResourceType\ResourceType::getEntityTypeId()
  2. 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

1 call to ResourceType::getEntityTypeId()
ResourceType::getPath in core/modules/jsonapi/src/ResourceType/ResourceType.php
Get the resource path.

File

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

Class

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

Namespace

Drupal\jsonapi\ResourceType

Code

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