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 to parse the object. Use "string" for string (default), and "yaml" for YAML.

    --value : The value to assign to the config key (if any).

  • Examples


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

    drush config-set system.site page.front node

  • Comments


    comments powered by Disqus