drush config:getfor drush 9x


Display a config value, or a whole configuration object.

drush config:get

  • Aliases


    config:get has 2 alias/es:


    drush cget

    drush config-get

  • Arguments


    config:get accepts 2 argument/s:


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

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

  • Options


    config:get accepts 6 option/s:


    --format

    --format : format

    --source

    --source : source

    --include-overridden

    --include-overridden : include-overridden

    --notify

    --notify : notify

    --druplicon

    --druplicon : druplicon

    --xh-link

    --xh-link : xh-link

  • Examples


    Displays the system.site config.

    drush config:get system.site

    Gets system.site:page.front value.

    drush config:get system.site page.front

  • Comments


    comments powered by Disqus