You are here

public function ModalPageSettersTraitHelper::setModuleHandler in Modal 5.0.x

Same name and namespace in other branches
  1. 4.0.x src/Helper/ModalPageSettersTraitHelper.php \Drupal\modal_page\Helper\ModalPageSettersTraitHelper::setModuleHandler()
  2. 4.1.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\Helper

Code

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