public function CountryManager::__construct

public CountryManager::__construct(ModuleHandlerInterface $module_handler)

Constructor.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler:

File

core/lib/Drupal/Core/Locale/CountryManager.php, line 29

Class

CountryManager
Provides list of countries.

Namespace

Drupal\Core\Locale

Code

public function __construct(ModuleHandlerInterface $module_handler) {
  $this->moduleHandler = $module_handler;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Locale!CountryManager.php/function/CountryManager::__construct/8.1.x