public function Role::uri

Implements \Drupal\Core\Entity\EntityInterface::uri().

Overrides Entity::uri

File

drupal/core/modules/user/lib/Drupal/user/Plugin/Core/Entity/Role.php, line 71
Contains Drupal\user\Plugin\Core\Entity\Role.

Class

Role
Defines the user role entity class.

Namespace

Drupal\user\Plugin\Core\Entity

Code

public function uri() {
  return array(
    'path' => 'admin/people/roles/manage/' . $this
      ->id(),
    'options' => array(
      'entity_type' => $this->entityType,
      'entity' => $this,
    ),
  );
}