public function LingotekRouteSubscriber::__construct in Lingotek Translation 8
Same name and namespace in other branches
- 8.2 src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()
- 4.0.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()
- 3.0.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()
- 3.1.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()
- 3.2.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()
- 3.3.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()
- 3.4.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()
- 3.5.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()
- 3.6.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()
- 3.7.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()
- 3.8.x src/Routing/LingotekRouteSubscriber.php \Drupal\lingotek\Routing\LingotekRouteSubscriber::__construct()
Constructs a RouteSubscriber object.
Parameters
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity type manager.
File
- src/
Routing/ LingotekRouteSubscriber.php, line 35 - Contains \Drupal\lingotek\Routing\LingotekRouteSubscriber.
Class
- LingotekRouteSubscriber
- Subscriber to add lingotek controller and generate bulk administration routes for content entity translation.
Namespace
Drupal\lingotek\RoutingCode
public function __construct(EntityManagerInterface $entity_manager) {
$this->entityManager = $entity_manager;
}