Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ResourceIdentifierInterface.php

function ResourceIdentifierInterface::getId

Gets the resource identifier's ID.

Return value

string A resource ID.

1 method overrides ResourceIdentifierInterface::getId()
ResourceIdentifier::getId in core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php
Gets the ResourceIdentifier's ID.

File

core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierInterface.php, line 27

Class

ResourceIdentifierInterface
An interface for identifying a related resource.

Namespace

Drupal\jsonapi\JsonApiResource

Code

public function getId();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal