acquia / drupal-environment-detector

Provides common methods for detecting the current Acquia environment
GNU General Public License v2.0
10 stars 13 forks source link

ACMS-3647: Add helper function to get segmented Acquia environment names. #84

Closed rajeshreeputra closed 3 weeks ago

rajeshreeputra commented 4 months ago

Fixes #ACMS-3647

Motivation

Currently environment detector does not group the environments, hence proposed new method to group it.

Proposed changes

Segment the environments, like below:

Alternatives considered

How else could the original issue / use case be addressed? Why did you choose this solution over any others?

Testing steps

How can we replicate the issue and verify that this PR fixes it?

danepowell commented 4 weeks ago

I'm happy to merge this if you get tests passing.

rajeshreeputra commented 4 weeks ago

I'm happy to merge this if you get tests passing.

All tests are passing now.