Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console-en / translations / generate.routesubscriber.yml
index 7958c01c6a926b8730b228edf3ff085afe59a65c..f509067a1cb808083e437398dd409b888dafd5df 100644 (file)
@@ -2,10 +2,17 @@ description: 'Generate a RouteSubscriber'
 help: 'The <info>generate:service</info> command helps you generate a new RouteSubscriber.'
 welcome: 'Welcome to the Drupal RouteSubscriber generator.'
 options:
-    module: common.options.module
-    name: 'Service name'
-    class: 'Class name'
+  module: 'The Module name.'
+  name: 'Service name'
+  class: 'Class name'
 questions:
-    module: common.questions.module
-    name: 'Enter the service name'
-    class: 'Enter the Class name'
+  module: 'Enter the module name'
+  name: 'Enter the service name'
+  class: 'Enter the Class name'
+examples:
+  - description: 'Generate a route subscriber specifying the module name, the route name and its class'
+    execution: |
+      drupal generate:routesubscriber  \
+        --module="modulename"  \
+        --name="modulename.route_subscriber"  \
+        --class="RouteSubscriber"