Further modules included.
[yaffs-website] / web / modules / contrib / drupalmoduleupgrader / templates / RouteSubscriber.html.twig
diff --git a/web/modules/contrib/drupalmoduleupgrader/templates/RouteSubscriber.html.twig b/web/modules/contrib/drupalmoduleupgrader/templates/RouteSubscriber.html.twig
new file mode 100644 (file)
index 0000000..32429bd
--- /dev/null
@@ -0,0 +1,29 @@
+/**
+ * @file
+ * Contains \Drupal\{{ module }}\Routing\RouteSubscriber.
+ */
+
+namespace Drupal\{{ module }}\Routing;
+
+use Drupal\Core\Routing\RouteSubscriberBase;
+use Symfony\Component\Routing\RouteCollection;
+
+/**
+ * Listens to dynamic route events.
+ */
+class RouteSubscriber extends RouteSubscriberBase {
+
+  /**
+   * {@inheritdoc}
+   */
+  public function alterRoutes(RouteCollection $collection) {
+    /**
+     * @FIXME
+     * Parts of your hook_menu_alter() logic should be moved in here. You should NOT
+     * use this method to define new routes -- read the documentation at
+     * https://www.drupal.org/node/2122201 to learn how to define dynamic routes --
+     * but to alter existing ones.
+     */
+  }
+
+}