Skip to content
Permalink
Browse files

[config:override] String to multiple keys (#229)

  • Loading branch information...
harold20 authored and enzolutions committed May 21, 2019
1 parent b87afc1 commit bb01c66cb88961be8d466163058500342b09c01c
Showing with 12 additions and 3 deletions.
  1. +12 −3 translations/config.override.yml
@@ -2,9 +2,10 @@ description: 'Override config value in active configuration.'
questions:
name: 'Enter configuration name'
key: 'Enter the configuration key'
value: 'Enter the configuration value'
value: 'Enter the "%s" configuration value'
arguments:
name: 'Configuration name'
options:
key: 'Key'
value: 'Value'
messages:
@@ -13,7 +14,15 @@ messages:
original: 'Original Value'
updated: 'Override Value'
invalid-name: 'Config object "%s" does not exist.'
invalid-config-file: 'Config file does not exist.'
examples:
- description: 'Set the Contact module flood limit to 10.'
execution: 'drupal config:override contact.settings flood.limit 10'
- description: "Override options from the Who's new view"
execution: |
drupal config:override views.view.who_s_new \
--key='langcode' \
--key='label' \
--key='display.default.position' \
--value='es' \
--value='New label' \
--value='1'

0 comments on commit bb01c66

Please sign in to comment.
You can’t perform that action at this time.