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().
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();