Commit 21eaf37f authored by alexpott's avatar alexpott

Issue #2078285 followup by tim.plunkett: Fixed Add short-cut methods to the...

Issue #2078285 followup by tim.plunkett: Fixed Add short-cut methods to the \Drupal class for generating URLs and links from routes.
parent c6f8449f
......@@ -397,9 +397,9 @@ public static function urlGenerator() {
* substituted for them in the pattern. Extra params are added as query
* strings to the URL.
*
* @param string $name
* @param string $route_name
* The name of the route
* @param array $parameters
* @param array $route_parameters
* An associative array of parameter names and values.
* @param array $options
* (optional) An associative array of additional options, with the following
......@@ -432,7 +432,7 @@ public static function urlGenerator() {
*
* @see \Drupal\Core\Routing\UrlGeneratorInterface::generateFromRoute()
*/
public static function url($route_name, $rotue_parameters = array(), $options = array()) {
public static function url($route_name, $route_parameters = array(), $options = array()) {
return static::$container->get('url_generator')->generateFromRoute($route_name, $route_parameters, $options);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment