public function ResourceType::getEntityTypeId in JSON:API 8
Same name and namespace in other branches
- 8.2 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 src/
ResourceType/ ResourceType.php - Get the resource path.
File
- src/
ResourceType/ ResourceType.php, line 67
Class
- ResourceType
- Value object containing all metadata for a JSON API resource type.
Namespace
Drupal\jsonapi\ResourceTypeCode
public function getEntityTypeId() {
return $this->entityTypeId;
}