public function LingotekNoModerationHandler::isModerationEnabled in Lingotek Translation 3.4.x
Same name and namespace in other branches
- 8.2 src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::isModerationEnabled()
- 4.0.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::isModerationEnabled()
- 3.0.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::isModerationEnabled()
- 3.1.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::isModerationEnabled()
- 3.2.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::isModerationEnabled()
- 3.3.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::isModerationEnabled()
- 3.5.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::isModerationEnabled()
- 3.6.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::isModerationEnabled()
- 3.7.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::isModerationEnabled()
- 3.8.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::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.
Overrides LingotekModerationHandlerInterface::isModerationEnabled
File
- src/
Moderation/ LingotekNoModerationHandler.php, line 48
Class
- LingotekNoModerationHandler
- Moderation handler when no other integration applies.
Namespace
Drupal\lingotek\ModerationCode
public function isModerationEnabled(EntityInterface $entity) {
return FALSE;
}