public function ResourceIdentifierTrait::getId in Drupal 10
Same name and namespace in other branches
- 8 core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierTrait.php \Drupal\jsonapi\JsonApiResource\ResourceIdentifierTrait::getId()
- 9 core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierTrait.php \Drupal\jsonapi\JsonApiResource\ResourceIdentifierTrait::getId()
File
- core/
modules/ jsonapi/ src/ JsonApiResource/ ResourceIdentifierTrait.php, line 35
Class
- ResourceIdentifierTrait
- Used to associate an object like an exception to a particular resource.
Namespace
Drupal\jsonapi\JsonApiResourceCode
public function getId() {
return $this->resourceIdentifier
->getId();
}