You are here

public function LingotekWorkbenchModerationCheckTrait::applies in Lingotek Translation 4.0.x

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

File

src/Moderation/LingotekWorkbenchModerationCheckTrait.php, line 24

Class

LingotekWorkbenchModerationCheckTrait
Utility methods for all the 'workbench_moderation' moderation services.

Namespace

Drupal\lingotek\Moderation

Code

public function applies() {
  return $this->moduleHandler
    ->moduleExists('workbench_moderation');
}