- Issue created by @SV
- Merge request !30Issue #3486147 by SV: Use address.country_repository service to get country label β (Open) created by SV
Uses a country label from the getStandardList() to display group country as result will be displayed a static default country name, even if the related service is overridden it will use an "old" country label
Replace:
$countries = CountryManager::getStandardList();
with:
$countries = \Drupal::service('address.country_repository')->getList();
So, the country name will be set/displayed correctly
Needs work
3.0
Code