Chris@0: moduleHandler) { Chris@0: $this->moduleHandler = \Drupal::moduleHandler(); Chris@0: } Chris@0: return $this->moduleHandler; Chris@0: } Chris@0: Chris@0: /** Chris@0: * Sets the module handler for this handler. Chris@0: * Chris@0: * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler Chris@0: * The module handler. Chris@0: * Chris@0: * @return $this Chris@0: */ Chris@0: public function setModuleHandler(ModuleHandlerInterface $module_handler) { Chris@0: $this->moduleHandler = $module_handler; Chris@0: return $this; Chris@0: } Chris@0: Chris@0: }