You are here

public function LingotekContentModerationCheckTrait::applies in Lingotek Translation 3.8.x

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

File

src/Moderation/LingotekContentModerationCheckTrait.php, line 24

Class

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

Namespace

Drupal\lingotek\Moderation

Code

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