You are here

public function HandlerBase::setModuleHandler in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::setModuleHandler()

Sets the module handler.

Parameters

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

File

core/modules/views/src/Plugin/views/HandlerBase.php, line 334
Contains \Drupal\views\Plugin\views\HandlerBase.

Class

HandlerBase
Base class for Views handler plugins.

Namespace

Drupal\views\Plugin\views

Code

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