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.update.yml
2018-11-23 12:29:20 +00:00

18 lines
644 B
YAML

description: 'Generate an implementation of hook_update_N()'
help: 'The <info>"%s"</info> command helps you generate a hook update N "%s"'
welcome: 'Welcome to the Drupal Update generator'
options:
module: 'The Module name.'
update-n: 'Update Number'
questions:
module: 'Enter the module name'
update-n: 'Please provide the Update N to be implemeted'
messages:
wrong-update-n: 'The update number "%s" is invalid'
examples:
- description: 'Generate an update N hook implementation specifying the module name and the N value'
execution: |
drupal generate:update \
--module="modulename" \
--update-n="8001"