protected function DumperBase::getHandler in Geocoder 8.3
Same name and namespace in other branches
- 8.2 src/DumperBase.php \Drupal\geocoder\DumperBase::getHandler()
Returns the dumper handler.
Return value
\Geocoder\Dumper\Dumper Returns dumper handler.
File
- src/
DumperBase.php, line 42
Class
- DumperBase
- Provides a base class for geocoder dumper plugins.
Namespace
Drupal\geocoderCode
protected function getHandler() {
if ($this->handler === NULL) {
$definition = $this
->getPluginDefinition();
$class = $definition['handler'];
$this->handler = new $class();
}
return $this->handler;
}