public function EntityTranslationControllerInterface::getViewPath

Returns the path of the entity view page.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity to the path should refer to.

Return value

string The entity view path.

1 method overrides EntityTranslationControllerInterface::getViewPath()
EntityTranslationController::getViewPath in drupal/core/modules/translation_entity/lib/Drupal/translation_entity/EntityTranslationController.php
Implements EntityTranslationControllerInterface::getViewPath().

File

drupal/core/modules/translation_entity/lib/Drupal/translation_entity/EntityTranslationControllerInterface.php, line 114
Definition of Drupal\translation_entity\EntityTranslationControllerInterface.

Class

EntityTranslationControllerInterface
Interface for providing entity translation.

Namespace

Drupal\translation_entity

Code

public function getViewPath(EntityInterface $entity);