function LocaleTestHooks::countriesAlter
Implements hook_countries_alter().
File
-
core/
modules/ locale/ tests/ modules/ locale_test/ src/ Hook/ LocaleTestHooks.php, line 210
Class
- LocaleTestHooks
- Hook implementations for locale_test.
Namespace
Drupal\locale_test\HookCode
public function countriesAlter(&$countries) : void {
$countries['EB'] = 'Elbonia';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.