This repository has been archived on 2025-09-29. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
drupalcampbristol/vendor/drupal/console-en/translations/generate.update.yml

18 lines
644 B
YAML
Raw Normal View History

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