X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fdrupal%2Fconsole-en%2Ftranslations%2Fgenerate.event.subscriber.yml;fp=vendor%2Fdrupal%2Fconsole-en%2Ftranslations%2Fgenerate.event.subscriber.yml;h=25561494054401086f6efcad80511d5768f83234;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=97ff9bc29340e9bbabf193d22b3454c8c5e537d9;hpb=aea91e65e895364e460983b890e295aa5d5540a5;p=yaffs-website diff --git a/vendor/drupal/console-en/translations/generate.event.subscriber.yml b/vendor/drupal/console-en/translations/generate.event.subscriber.yml index 97ff9bc29..255614940 100644 --- a/vendor/drupal/console-en/translations/generate.event.subscriber.yml +++ b/vendor/drupal/console-en/translations/generate.event.subscriber.yml @@ -1,4 +1,25 @@ description: 'Generate an event subscriber' +help: 'The generate:event:subscriber command helps you generate a new event subscriber.' +welcome: 'Welcome to the Drupal Event Subscriber generator' +options: + module: 'The Module name.' + name: 'Service name' + class: 'Class name' + services: 'Load services from the container.' + event-name: 'Enter event name' + callback-name: 'Callback function name to handle event' questions: - class: 'Class name' - callback-name: 'Callback function name to handle event' + module: 'Enter the module name' + name: 'Enter the service name' + class: 'Enter the class name' + services: 'Enter your service' + event-name: 'Enter event name' + callback-name: 'Enter the callback function name to handle event' +examples: + - description: 'Generate an event subscriber specifying the module name, its name, the class and the events to subscribe' + execution: | + drupal generate:event:subscriber \ + --module="modulename" \ + --name="modulename.default" \ + --class="DefaultSubscriber" \ + --events='kernel_request'