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(). NULL if the entity has no URI of its own.

2 methods override EntityInterface::uri()
Entity::uri in drupal/core/lib/Drupal/Core/Entity/Entity.php
Implements EntityInterface::uri().
ViewUI::uri in drupal/core/modules/views/views_ui/lib/Drupal/views_ui/ViewUI.php
Implements \Drupal\Core\Entity\EntityInterface::uri().

File

drupal/core/lib/Drupal/Core/Entity/EntityInterface.php, line 127
Definition of Drupal\Core\Entity\EntityInterface.

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function uri();