You are here

public function LingotekContentModerationCheckTrait::setModuleHandler in Lingotek Translation 4.0.x

Same name and namespace in other branches
  1. 8.2 src/Moderation/LingotekContentModerationCheckTrait.php \Drupal\lingotek\Moderation\LingotekContentModerationCheckTrait::setModuleHandler()
  2. 3.0.x src/Moderation/LingotekContentModerationCheckTrait.php \Drupal\lingotek\Moderation\LingotekContentModerationCheckTrait::setModuleHandler()
  3. 3.1.x src/Moderation/LingotekContentModerationCheckTrait.php \Drupal\lingotek\Moderation\LingotekContentModerationCheckTrait::setModuleHandler()
  4. 3.2.x src/Moderation/LingotekContentModerationCheckTrait.php \Drupal\lingotek\Moderation\LingotekContentModerationCheckTrait::setModuleHandler()
  5. 3.3.x src/Moderation/LingotekContentModerationCheckTrait.php \Drupal\lingotek\Moderation\LingotekContentModerationCheckTrait::setModuleHandler()
  6. 3.4.x src/Moderation/LingotekContentModerationCheckTrait.php \Drupal\lingotek\Moderation\LingotekContentModerationCheckTrait::setModuleHandler()
  7. 3.5.x src/Moderation/LingotekContentModerationCheckTrait.php \Drupal\lingotek\Moderation\LingotekContentModerationCheckTrait::setModuleHandler()
  8. 3.6.x src/Moderation/LingotekContentModerationCheckTrait.php \Drupal\lingotek\Moderation\LingotekContentModerationCheckTrait::setModuleHandler()
  9. 3.7.x src/Moderation/LingotekContentModerationCheckTrait.php \Drupal\lingotek\Moderation\LingotekContentModerationCheckTrait::setModuleHandler()
  10. 3.8.x src/Moderation/LingotekContentModerationCheckTrait.php \Drupal\lingotek\Moderation\LingotekContentModerationCheckTrait::setModuleHandler()
3 calls to LingotekContentModerationCheckTrait::setModuleHandler()
LingotekContentModerationConfigurationService::__construct in src/Moderation/LingotekContentModerationConfigurationService.php
Constructs a new LingotekContentModerationConfigurationService object.
LingotekContentModerationHandler::__construct in src/Moderation/LingotekContentModerationHandler.php
Constructs a new LingotekContentModerationHandler object.
LingotekContentModerationSettingsForm::__construct in src/Moderation/LingotekContentModerationSettingsForm.php
Constructs a new LingotekContentModerationSettingsForm object.

File

src/Moderation/LingotekContentModerationCheckTrait.php, line 31

Class

LingotekContentModerationCheckTrait
Utility methods for all the 'content_moderation' moderation services.

Namespace

Drupal\lingotek\Moderation

Code

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