You are here

public function GroupContentHandlerBase::setModuleHandler in Group 8

Sets the module handler for this handler.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

Return value

$this

File

src/Plugin/GroupContentHandlerBase.php, line 80

Class

GroupContentHandlerBase
Provides a base class for group content handlers.

Namespace

Drupal\group\Plugin

Code

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