protected function GroupContentHandlerBase::moduleHandler in Group 8
Gets the module handler.
Return value
\Drupal\Core\Extension\ModuleHandlerInterface The module handler.
File
- src/
Plugin/ GroupContentHandlerBase.php, line 65
Class
- GroupContentHandlerBase
- Provides a base class for group content handlers.
Namespace
Drupal\group\PluginCode
protected function moduleHandler() {
if (!$this->moduleHandler) {
$this->moduleHandler = \Drupal::moduleHandler();
}
return $this->moduleHandler;
}