function HandlerBase::setModuleHandler
Same name in other branches
- 8.9.x core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::setModuleHandler()
- 10 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::setModuleHandler()
- 11.x 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 317
Class
- HandlerBase
- Base class for Views handler plugins.
Namespace
Drupal\views\Plugin\viewsCode
public function setModuleHandler(ModuleHandlerInterface $module_handler) {
$this->moduleHandler = $module_handler;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.