Further modules included.
[yaffs-website] / web / modules / contrib / drupalmoduleupgrader / templates / RouteSubscriber.html.twig
1 /**
2  * @file
3  * Contains \Drupal\{{ module }}\Routing\RouteSubscriber.
4  */
5
6 namespace Drupal\{{ module }}\Routing;
7
8 use Drupal\Core\Routing\RouteSubscriberBase;
9 use Symfony\Component\Routing\RouteCollection;
10
11 /**
12  * Listens to dynamic route events.
13  */
14 class RouteSubscriber extends RouteSubscriberBase {
15
16   /**
17    * {@inheritdoc}
18    */
19   public function alterRoutes(RouteCollection $collection) {
20     /**
21      * @FIXME
22      * Parts of your hook_menu_alter() logic should be moved in here. You should NOT
23      * use this method to define new routes -- read the documentation at
24      * https://www.drupal.org/node/2122201 to learn how to define dynamic routes --
25      * but to alter existing ones.
26      */
27   }
28
29 }