function ContentTranslationContextualLinks::__construct
Same name in other branches
- 9 core/modules/content_translation/src/Plugin/Derivative/ContentTranslationContextualLinks.php \Drupal\content_translation\Plugin\Derivative\ContentTranslationContextualLinks::__construct()
- 10 core/modules/content_translation/src/Plugin/Derivative/ContentTranslationContextualLinks.php \Drupal\content_translation\Plugin\Derivative\ContentTranslationContextualLinks::__construct()
- 11.x core/modules/content_translation/src/Plugin/Derivative/ContentTranslationContextualLinks.php \Drupal\content_translation\Plugin\Derivative\ContentTranslationContextualLinks::__construct()
Constructs a new ContentTranslationContextualLinks.
Parameters
\Drupal\content_translation\ContentTranslationManagerInterface $content_translation_manager: The content translation manager.
File
-
core/
modules/ content_translation/ src/ Plugin/ Derivative/ ContentTranslationContextualLinks.php, line 30
Class
- ContentTranslationContextualLinks
- Provides dynamic contextual links for content translation.
Namespace
Drupal\content_translation\Plugin\DerivativeCode
public function __construct(ContentTranslationManagerInterface $content_translation_manager) {
$this->contentTranslationManager = $content_translation_manager;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.