drush config-setfor drush 8x

Set config value directly. Does not perform a config import.

drush config-set

  • Aliases

    config-set has 1 alias/es:

    drush cset

  • Arguments

    config-set accepts 3 argument/s:

    config-name : The config object name, for example "system.site".

    key : The config key, for example "page.front".

    value : The value to assign to the config key. Use '-' to read from STDIN.

  • Options

    config-set accepts 2 option/s:


    --format : format


    --value : value

  • Examples

    Sets system.site:page.front to "node".

    drush config-set system.site page.front node

  • Comments

    comments powered by Disqus