Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ContentTranslationRouteSubscriber.php

function ContentTranslationRouteSubscriber::__construct

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 30

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;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal