function ContentTranslationManagerInterface::access

Same name and namespace in other branches
  1. 11.x core/modules/content_translation/src/ContentTranslationManagerInterface.php \Drupal\content_translation\ContentTranslationManagerInterface::access()

Access callback for the translation overview page.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity whose translation overview should be displayed.

Return value

\Drupal\Core\Access\AccessResultInterface The access result.

1 method overrides ContentTranslationManagerInterface::access()
ContentTranslationManager::access in core/modules/content_translation/src/ContentTranslationManager.php
Access callback for the translation overview page.

File

core/modules/content_translation/src/ContentTranslationManagerInterface.php, line 90

Class

ContentTranslationManagerInterface
Provides an interface for common functionality for content translation.

Namespace

Drupal\content_translation

Code

public function access(EntityInterface $entity) : AccessResultInterface;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.