diff --git a/core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php index 57cf8b6..39f9ceb 100644 --- a/core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php @@ -47,9 +47,13 @@ protected function alterRoutes(RouteCollection $collection, $module) { } /** - * {@inheritdoc} + * Delegates the route altering to self::alterRoutes(). + * + * @param \Drupal\Core\Routing\RouteBuildEvent $event + * The route build event. * - * In contrast to the parent function this returns the altered routes. + * @return bool + * Returns TRUE if the variables were succesfully replaced, otherwise FALSE. */ public function onAlterRoutes(RouteBuildEvent $event) { $collection = $event->getRouteCollection();