public function ModalPageSettersTraitHelper::setModuleHandler in Modal 4.1.x
Same name and namespace in other branches
- 5.0.x src/Helper/ModalPageSettersTraitHelper.php \Drupal\modal_page\Helper\ModalPageSettersTraitHelper::setModuleHandler()
- 4.0.x src/Helper/ModalPageSettersTraitHelper.php \Drupal\modal_page\Helper\ModalPageSettersTraitHelper::setModuleHandler()
Set Module Handler.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The module handler.
File
- src/
Helper/ ModalPageSettersTraitHelper.php, line 33
Class
- ModalPageSettersTraitHelper
- The trait setters of Modal Page.
Namespace
Drupal\modal_page\HelperCode
public function setModuleHandler(ModuleHandlerInterface $moduleHandler) {
$this->moduleHandler = $moduleHandler;
return $this;
}