nymedia/drupal_settings

Allows you to get values for read only settings that are stored in settings.php, for drush > 9.3

Installs: 109 780

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 0

Open Issues: 0

Type:drupal-drush

1.0.2 2020-02-13 07:40 UTC

This package is auto-updated.

Last update: 2021-10-13 11:14:08 UTC


README

Allows you to get values for read only settings that are stored in settings.php (drush 9.3 and newer)

Installation

composer require nymedia/drupal_settings

Usage

Imagine we have a settings.local.php that includes this:

$settings['environment'] = 'development';

Now maybe we want to get ahold of this value in a bash script, or a composer script. We could just go ahead and use this package:

drush setting:get environment