- 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"