This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/vendor/drupal/console-en/translations/generate.routesubscriber.yml

19 lines
674 B
YAML
Raw Normal View History

2018-11-23 12:29:20 +00:00
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: 'The Module name.'
name: 'Service name'
class: 'Class name'
questions:
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"