final public function ContentRoute::convert in Drupal 7 to 8/9 Module Upgrader 8
Conform with ConverterInterface, which we implement through ConverterBase. Because route conversion is so complex, the Routing plugin never calls this method. It relies instead on the other methods defined in RouteConverterInterface.
Overrides ConverterInterface::convert
File
- src/
Plugin/ DMU/ Routing/ ContentRoute.php, line 59
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 final function convert(TargetInterface $target) {
}