Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::uriRelationships()
  2. 9 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::uriRelationships()

Gets a list of URI relationships supported by this entity.

Return value

string[] An array of link relationships supported by this entity.

1 method overrides EntityInterface::uriRelationships()
EntityBase::uriRelationships in core/lib/Drupal/Core/Entity/EntityBase.php
Gets a list of URI relationships supported by this entity.

File

core/lib/Drupal/Core/Entity/EntityInterface.php, line 175

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function uriRelationships();