Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell authored Oct 20, 2023
1 parent 50b547e commit 966a28a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ composer remove acquia/blt

- Remove BLT reference from settings.php file located at
``/docroot/sites/default/settings.php``.
```
```php
require DRUPAL_ROOT . "/../vendor/acquia/blt/settings/blt.settings.php";
/**
* IMPORTANT.
Expand All @@ -38,18 +38,18 @@ require DRUPAL_ROOT . "/../vendor/acquia/blt/settings/blt.settings.php";
*
* @link https://docs.acquia.com/blt/
*/
```
```

- Require Acquia Drupal Recommended Settings plugin using
```
composer require acquia/drupal-recommended-settings
```
- Require Acquia Drupal Recommended Settings plugin using
```
composer require acquia/drupal-recommended-settings
```

- Update BLT references from below settings files with Recommended Settings:
- default.local.settings.php
- local.settings.php update use statement from
``use Acquia\Blt\Robo\Common\EnvironmentDetector;`` to
``use Acquia\Drupal\RecommendedSettings\Helpers\EnvironmentDetector;``
- Update `default.local.settings.php` and `local.settings.php` to use the Environment Detector provided by this plugin instead of BLT:
```diff
- use Acquia\Blt\Robo\Common\EnvironmentDetector;
+ use Acquia\Drupal\RecommendedSettings\Helpers\EnvironmentDetector;
```

# License

Expand Down

0 comments on commit 966a28a

Please sign in to comment.