You are here

public function LingotekModerationHandlerInterface::isModerationEnabled in Lingotek Translation 3.8.x

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

Checks if the moderation is enabled for this entity.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The content entity.

Return value

bool If moderation is enabled, returns TRUE. Returns FALSE otherwise.

3 methods override LingotekModerationHandlerInterface::isModerationEnabled()
LingotekContentModerationHandler::isModerationEnabled in src/Moderation/LingotekContentModerationHandler.php
Checks if the moderation is enabled for this entity.
LingotekNoModerationHandler::isModerationEnabled in src/Moderation/LingotekNoModerationHandler.php
Checks if the moderation is enabled for this entity.
LingotekWorkbenchModerationHandler::isModerationEnabled in src/Moderation/LingotekWorkbenchModerationHandler.php
Checks if the moderation is enabled for this entity.

File

src/Moderation/LingotekModerationHandlerInterface.php, line 64

Class

LingotekModerationHandlerInterface
Moderation handler managing the Lingotek integration.

Namespace

Drupal\lingotek\Moderation

Code

public function isModerationEnabled(EntityInterface $entity);