function ResourceIdentifier::getTypeName
Gets the ResourceIdentifier's JSON:API resource type name.
Return value
string The JSON:API resource type name.
Overrides ResourceIdentifierInterface::getTypeName
1 call to ResourceIdentifier::getTypeName()
- ResourceIdentifier::getResourceType in core/
modules/ jsonapi/ src/ JsonApiResource/ ResourceIdentifier.php - Gets the resource identifier's JSON:API resource type.
File
-
core/
modules/ jsonapi/ src/ JsonApiResource/ ResourceIdentifier.php, line 97
Class
- ResourceIdentifier
- Represents a JSON:API resource identifier object.
Namespace
Drupal\jsonapi\JsonApiResourceCode
public function getTypeName() {
return $this->resourceTypeName;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.