Gets the module handler.
\Drupal\Core\Extension\ModuleHandlerInterface
protected function getModuleHandler() { if (!$this->moduleHandler) { $this->moduleHandler = \Drupal::moduleHandler(); } return $this->moduleHandler; }