You are here

public function LingotekRouteSubscriber::__construct in Lingotek Translation 3.4.x

Same name and namespace in other branches
  1. 8 src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()
  2. 8.2 src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()
  3. 4.0.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()
  4. 3.0.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()
  5. 3.1.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()
  6. 3.2.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()
  7. 3.3.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()
  8. 3.5.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()
  9. 3.6.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()
  10. 3.7.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()
  11. 3.8.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()

Constructs a RouteSubscriber object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

File

src/Routing/LingotekRouteSubscriber.php, line 30

Class

LingotekRouteSubscriber
Subscriber to add lingotek controller and generate bulk administration routes for content entity translation.

Namespace

Drupal\lingotek\Routing

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}