ContentTranslationRouteSubscriber::__construct

public ContentTranslationRouteSubscriber::__construct(ContentTranslationManagerInterface $content_translation_manager)

Constructs a ContentTranslationRouteSubscriber object.

Parameters

\Drupal\content_translation\ContentTranslationManagerInterface $content_translation_manager: The content translation manager.

File

core/modules/content_translation/src/Routing/ContentTranslationRouteSubscriber.php, line 29

Class

ContentTranslationRouteSubscriber
Subscriber for entity translation routes.

Namespace

Drupal\content_translation\Routing

Code

public function __construct(ContentTranslationManagerInterface $content_translation_manager) {
  $this->contentTranslationManager = $content_translation_manager;
}
doc_Drupal
2016-10-29 08:58:29
Comments
Leave a Comment

Please login to continue.