drush config:editfor drush 9x

Open a config file in a text editor. Edits are imported after closing editor.

drush config:edit

  • Aliases

    config:edit has 2 alias/es:

    drush cedit

    drush config-edit

  • Arguments

    config:edit accepts 1 argument/s:

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

  • Options

    config:edit accepts 5 option/s:


    --editor : editor


    --bg : bg


    --notify : notify


    --druplicon : druplicon


    --xh-link : xh-link

  • Examples

    Edit the image style configurations.

    drush config:edit image.style.large

    Choose a config file to edit.

    drush config:edit

    Return to shell prompt as soon as the editor window opens.

    drush --bg config-edit image.style.large

  • Comments

    comments powered by Disqus