You are here

public function ModalPageSettersTrait::setModuleHandler in Modal 8.2

Same name and namespace in other branches
  1. 8.3 src/ModalPageSettersTrait.php \Drupal\modal_page\ModalPageSettersTrait::setModuleHandler()

Set Module Handler.

Parameters

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

File

src/ModalPageSettersTrait.php, line 33

Class

ModalPageSettersTrait
The trait setters of Modal Page module.

Namespace

Drupal\modal_page

Code

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