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

18 lines
699 B
YAML

description: 'Generate a cache context'
help: 'The <info>generate:cache:context</info> command helps you generates a new cache context'
welcome: 'Welcome to the Drupal Cache Context generator'
options:
module: 'The Module name.'
name: 'The cache context name'
class: 'Cache context class name'
questions:
module: 'Enter the module name'
name: 'Enter the cache context name'
class: 'Cache context class name'
examples:
- description: 'Generate cache for a context specifying the module, the context name and its class'
execution: |
drupal generate:cache:context \
--module="modulename" \
--cache-context="ContextName" \
--class="DefaultCacheContext"