function ResourceIdentifierInterface::getResourceType
Same name in other branches
- 9 core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierInterface.php \Drupal\jsonapi\JsonApiResource\ResourceIdentifierInterface::getResourceType()
- 8.9.x core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierInterface.php \Drupal\jsonapi\JsonApiResource\ResourceIdentifierInterface::getResourceType()
- 10 core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierInterface.php \Drupal\jsonapi\JsonApiResource\ResourceIdentifierInterface::getResourceType()
Gets the resource identifier's JSON:API resource type.
Return value
\Drupal\jsonapi\ResourceType\ResourceType The JSON:API resource type.
1 method overrides ResourceIdentifierInterface::getResourceType()
- 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/ ResourceIdentifierInterface.php, line 43
Class
- ResourceIdentifierInterface
- An interface for identifying a related resource.
Namespace
Drupal\jsonapi\JsonApiResourceCode
public function getResourceType();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.