function ResourceType::getEntityTypeId

Same name 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()
  3. 11.x 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;
}

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