public function ResourceType::getEntityTypeId in Drupal 9
Same name and namespace in other branches
- 8 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\ResourceTypeCode
public function getEntityTypeId() {
return $this->entityTypeId;
}