public function LocalTasks::__construct in RNG - Events and Registrations 8
Same name in this branch
- 8 src/Plugin/Derivative/LocalTasks.php \Drupal\rng\Plugin\Derivative\LocalTasks::__construct()
- 8 rng_debug/src/Plugin/Derivative/LocalTasks.php \Drupal\rng_debug\Plugin\Derivative\LocalTasks::__construct()
Same name and namespace in other branches
- 8.2 rng_debug/src/Plugin/Derivative/LocalTasks.php \Drupal\rng_debug\Plugin\Derivative\LocalTasks::__construct()
- 3.x rng_debug/src/Plugin/Derivative/LocalTasks.php \Drupal\rng_debug\Plugin\Derivative\LocalTasks::__construct()
Constructs a LocalTasks object.
Parameters
\Drupal\Core\Routing\RouteProviderInterface $route_provider: The route provider.
\Drupal\rng\EventManagerInterface $event_manager: The RNG event manager.
File
- rng_debug/
src/ Plugin/ Derivative/ LocalTasks.php, line 31
Class
- LocalTasks
- Provides dynamic tasks.
Namespace
Drupal\rng_debug\Plugin\DerivativeCode
public function __construct(RouteProviderInterface $route_provider, EventManagerInterface $event_manager) {
$this->routeProvider = $route_provider;
$this->eventManager = $event_manager;
}