public function LingotekModerationHandlerInterface::shouldModerationPreventUpload in Lingotek Translation 3.2.x
Same name and namespace in other branches
- 8.2 src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::shouldModerationPreventUpload()
- 4.0.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::shouldModerationPreventUpload()
- 3.0.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::shouldModerationPreventUpload()
- 3.1.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::shouldModerationPreventUpload()
- 3.3.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::shouldModerationPreventUpload()
- 3.4.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::shouldModerationPreventUpload()
- 3.5.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::shouldModerationPreventUpload()
- 3.6.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::shouldModerationPreventUpload()
- 3.7.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::shouldModerationPreventUpload()
- 3.8.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::shouldModerationPreventUpload()
Checks if we should prevent upload based on content moderation settings.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The content entity.
Return value
bool Returns TRUE if we should prevent the upload based on content moderation.
3 methods override LingotekModerationHandlerInterface::shouldModerationPreventUpload()
- LingotekContentModerationHandler::shouldModerationPreventUpload in src/
Moderation/ LingotekContentModerationHandler.php - Checks if we should prevent upload based on content moderation settings.
- LingotekNoModerationHandler::shouldModerationPreventUpload in src/
Moderation/ LingotekNoModerationHandler.php - Checks if we should prevent upload based on content moderation settings.
- LingotekWorkbenchModerationHandler::shouldModerationPreventUpload in src/
Moderation/ LingotekWorkbenchModerationHandler.php - Checks if we should prevent upload based on content moderation settings.
File
- src/
Moderation/ LingotekModerationHandlerInterface.php, line 24
Class
- LingotekModerationHandlerInterface
- Moderation handler managing the Lingotek integration.
Namespace
Drupal\lingotek\ModerationCode
public function shouldModerationPreventUpload(EntityInterface $entity);