public function LingotekModerationHandlerInterface::isModerationEnabled in Lingotek Translation 3.8.x
Same name and namespace in other branches
- 8.2 src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::isModerationEnabled()
- 4.0.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::isModerationEnabled()
- 3.0.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::isModerationEnabled()
- 3.1.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::isModerationEnabled()
- 3.2.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::isModerationEnabled()
- 3.3.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::isModerationEnabled()
- 3.4.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::isModerationEnabled()
- 3.5.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::isModerationEnabled()
- 3.6.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::isModerationEnabled()
- 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\ModerationCode
public function isModerationEnabled(EntityInterface $entity);