protected function SourcePluginBase::getModuleHandler in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php \Drupal\migrate\Plugin\migrate\source\SourcePluginBase::getModuleHandler()
Get the module handler.
Return value
\Drupal\Core\Extension\ModuleHandlerInterface The module handler.
File
- core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SourcePluginBase.php, line 166 - Contains \Drupal\migrate\Plugin\migrate\source\SourcePluginBase.
Class
- SourcePluginBase
- The base class for all source plugins.
Namespace
Drupal\migrate\Plugin\migrate\sourceCode
protected function getModuleHandler() {
if (!isset($this->moduleHandler)) {
$this->moduleHandler = \Drupal::moduleHandler();
}
return $this->moduleHandler;
}