Skip to content

Run alter hook for all code paths in `environment_indicator_get_active`.

hook_environment_indicator_matched_indicator_alter was never invoked on the cached environment object. Also eliminates an unneeded cache_set when environment is overridden in settings.php.

Also cache the queried git release, as the git command would otherwise be called on every page request.

Closes #3465337

Merge request reports

Loading