public function EntityTranslationControllerInterface::getBasePath

Returns the base path for the current entity.

Parameters

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

Return value

string The entity base path.

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

File

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

Class

EntityTranslationControllerInterface
Interface for providing entity translation.

Namespace

Drupal\translation_entity

Code

public function getBasePath(EntityInterface $entity);