public function ContentRoute::__construct in Drupal 7 to 8/9 Module Upgrader 8
Constructs a RouteConverterBase object.
Overrides PluginBase::__construct
1 call to ContentRoute::__construct()
- FormRoute::__construct in src/
Plugin/ DMU/ Routing/ FormRoute.php - Constructs a RouteConverterBase object.
1 method overrides ContentRoute::__construct()
- FormRoute::__construct in src/
Plugin/ DMU/ Routing/ FormRoute.php - Constructs a RouteConverterBase object.
File
- src/
Plugin/ DMU/ Routing/ ContentRoute.php, line 47
Class
- ContentRoute
- Plugin annotation @Converter( id = "default", description = @Translation("Converts a menu item to a _controller route."), dependencies = { "router.route_provider", "plugin.manager.drupalmoduleupgrader.rewriter" } )
Namespace
Drupal\drupalmoduleupgrader\Plugin\DMU\RoutingCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, TranslationInterface $translator, LoggerInterface $log, RouteProviderInterface $route_provider, PluginManagerInterface $rewriters) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $translator, $log);
$this->routeProvider = $route_provider;
$this->rewriters = $rewriters;
}