function ResourceType::getEntityTypeId
Same name and namespace in other branches
- 10 core/modules/jsonapi/src/ResourceType/ResourceType.php \Drupal\jsonapi\ResourceType\ResourceType::getEntityTypeId()
- 11.x core/modules/jsonapi/src/ResourceType/ResourceType.php \Drupal\jsonapi\ResourceType\ResourceType::getEntityTypeId()
- 9 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\ResourceTypeCode
public function getEntityTypeId() {
return $this->entityTypeId;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.