protected function Random::getModuleHandler in Geocoder 8.3
Same name and namespace in other branches
- 8.2 src/Plugin/Geocoder/Provider/Random.php \Drupal\geocoder\Plugin\Geocoder\Provider\Random::getModuleHandler()
Returns the module handler service.
Return value
\Drupal\Core\Extension\ModuleHandlerInterface Return the module Handler.
1 call to Random::getModuleHandler()
- Random::getRandomCountryInfo in src/
Plugin/ Geocoder/ Provider/ Random.php - Get Random Country info.
File
- src/
Plugin/ Geocoder/ Provider/ Random.php, line 142
Class
- Random
- Class Random.
Namespace
Drupal\geocoder\Plugin\Geocoder\ProviderCode
protected function getModuleHandler() {
if (!isset($this->moduleHandler)) {
$this->moduleHandler = \Drupal::moduleHandler();
}
return $this->moduleHandler;
}