You are here

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

Same name and namespace in other branches
  1. 8.2 src/Moderation/LingotekNoModerationCheckTrait.php \Drupal\lingotek\Moderation\LingotekNoModerationCheckTrait::setModuleHandler()
  2. 3.0.x src/Moderation/LingotekNoModerationCheckTrait.php \Drupal\lingotek\Moderation\LingotekNoModerationCheckTrait::setModuleHandler()
  3. 3.1.x src/Moderation/LingotekNoModerationCheckTrait.php \Drupal\lingotek\Moderation\LingotekNoModerationCheckTrait::setModuleHandler()
  4. 3.2.x src/Moderation/LingotekNoModerationCheckTrait.php \Drupal\lingotek\Moderation\LingotekNoModerationCheckTrait::setModuleHandler()
  5. 3.3.x src/Moderation/LingotekNoModerationCheckTrait.php \Drupal\lingotek\Moderation\LingotekNoModerationCheckTrait::setModuleHandler()
  6. 3.4.x src/Moderation/LingotekNoModerationCheckTrait.php \Drupal\lingotek\Moderation\LingotekNoModerationCheckTrait::setModuleHandler()
  7. 3.5.x src/Moderation/LingotekNoModerationCheckTrait.php \Drupal\lingotek\Moderation\LingotekNoModerationCheckTrait::setModuleHandler()
  8. 3.6.x src/Moderation/LingotekNoModerationCheckTrait.php \Drupal\lingotek\Moderation\LingotekNoModerationCheckTrait::setModuleHandler()
  9. 3.7.x src/Moderation/LingotekNoModerationCheckTrait.php \Drupal\lingotek\Moderation\LingotekNoModerationCheckTrait::setModuleHandler()
  10. 3.8.x src/Moderation/LingotekNoModerationCheckTrait.php \Drupal\lingotek\Moderation\LingotekNoModerationCheckTrait::setModuleHandler()

File

src/Moderation/LingotekNoModerationCheckTrait.php, line 31

Class

LingotekNoModerationCheckTrait
Utility methods for all the 'noop' moderation services.

Namespace

Drupal\lingotek\Moderation

Code

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