function NullGenerator::getInternalPathFromRoute
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Routing/NullGenerator.php \Drupal\Core\Routing\NullGenerator::getInternalPathFromRoute()
- 10 core/lib/Drupal/Core/Routing/NullGenerator.php \Drupal\Core\Routing\NullGenerator::getInternalPathFromRoute()
- 11.x core/lib/Drupal/Core/Routing/NullGenerator.php \Drupal\Core\Routing\NullGenerator::getInternalPathFromRoute()
Overrides UrlGenerator::getInternalPathFromRoute
File
-
core/
lib/ Drupal/ Core/ Routing/ NullGenerator.php, line 55
Class
- NullGenerator
- No-op implementation of a URL Generator, needed for backward compatibility.
Namespace
Drupal\Core\RoutingCode
protected function getInternalPathFromRoute($name, Route $route, $parameters = [], &$query_params = []) {
return $route->getPath();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.