public function EntityInterface::uri

Returns the URI elements of the entity.

Return value

An array containing the 'path' and 'options' keys used to build the URI of the entity, and matching the signature of url().

3 methods override EntityInterface::uri()
Entity::uri in drupal/core/lib/Drupal/Core/Entity/Entity.php
Implements \Drupal\Core\Entity\EntityInterface::uri().
EntityBCDecorator::uri in drupal/core/lib/Drupal/Core/Entity/EntityBCDecorator.php
Forwards the call to the decorated entity.
ViewUI::uri in drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewUI.php
Implements \Drupal\Core\Entity\EntityInterface::uri().

File

drupal/core/lib/Drupal/Core/Entity/EntityInterface.php, line 136
Contains \Drupal\Core\Entity\EntityInterface.

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function uri();