public function LingotekModerationHandlerInterface::performModerationTransitionIfNeeded in Lingotek Translation 3.0.x
Same name and namespace in other branches
- 8.2 src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::performModerationTransitionIfNeeded()
- 4.0.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::performModerationTransitionIfNeeded()
- 3.1.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::performModerationTransitionIfNeeded()
- 3.2.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::performModerationTransitionIfNeeded()
- 3.3.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::performModerationTransitionIfNeeded()
- 3.4.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::performModerationTransitionIfNeeded()
- 3.5.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::performModerationTransitionIfNeeded()
- 3.6.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::performModerationTransitionIfNeeded()
- 3.7.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::performModerationTransitionIfNeeded()
- 3.8.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::performModerationTransitionIfNeeded()
Performs a moderation transition if needed.
Parameters
\Drupal\Core\Entity\ContentEntityInterface $entity: The content entity.
2 methods override LingotekModerationHandlerInterface::performModerationTransitionIfNeeded()
- LingotekContentModerationHandler::performModerationTransitionIfNeeded in src/
Moderation/ LingotekContentModerationHandler.php - Performs a moderation transition if needed.
- LingotekNoModerationHandler::performModerationTransitionIfNeeded in src/
Moderation/ LingotekNoModerationHandler.php - Performs a moderation transition if needed.
File
- src/
Moderation/ LingotekModerationHandlerInterface.php, line 32
Class
- LingotekModerationHandlerInterface
- Moderation handler managing the Lingotek integration.
Namespace
Drupal\lingotek\ModerationCode
public function performModerationTransitionIfNeeded(ContentEntityInterface &$entity);