drush config:setfor drush 9x


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

drush config:set

  • Aliases


    config:set has 2 alias/es:


    drush cset

    drush config-set

  • 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 5 option/s:


    --format

    --format : format

    --value

    --value : value

    --notify

    --notify : notify

    --druplicon

    --druplicon : druplicon

    --xh-link

    --xh-link : xh-link

  • Examples


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

    drush config:set system.site page.front node

  • Comments


    comments powered by Disqus