nymedia / drupal_settings
Allows you to get values for read only settings that are stored in settings.php, for drush > 9.3
Installs: 675 943
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 1
Open Issues: 0
Type:drupal-drush
Requires
- drush/drush: ^9.0 || ^10.0 || ^11.0 || ^12.0
Replaces
This package is auto-updated.
Last update: 2024-12-19 15:08:44 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