You are here

public function ContentTranslationContextualLinks::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 35
Contains \Drupal\content_translation\Plugin\Derivative\ContentTranslationContextualLinks.

Class

ContentTranslationContextualLinks
Provides dynamic contextual links for content translation.

Namespace

Drupal\content_translation\Plugin\Derivative

Code

public function __construct(ContentTranslationManagerInterface $content_translation_manager) {
  $this->contentTranslationManager = $content_translation_manager;
}