public function LingotekNoModerationHandler::performModerationTransitionIfNeeded in Lingotek Translation 4.0.x
Same name and namespace in other branches
- 8.2 src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::performModerationTransitionIfNeeded()
- 3.0.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::performModerationTransitionIfNeeded()
- 3.1.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::performModerationTransitionIfNeeded()
- 3.2.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::performModerationTransitionIfNeeded()
- 3.3.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::performModerationTransitionIfNeeded()
- 3.4.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::performModerationTransitionIfNeeded()
- 3.5.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::performModerationTransitionIfNeeded()
- 3.6.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::performModerationTransitionIfNeeded()
- 3.7.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::performModerationTransitionIfNeeded()
- 3.8.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::performModerationTransitionIfNeeded()
Performs a moderation transition if needed.
Parameters
\Drupal\Core\Entity\ContentEntityInterface $entity: The content entity.
Overrides LingotekModerationHandlerInterface::performModerationTransitionIfNeeded
File
- src/
Moderation/ LingotekNoModerationHandler.php, line 27
Class
- LingotekNoModerationHandler
- Moderation handler when no other integration applies.
Namespace
Drupal\lingotek\ModerationCode
public function performModerationTransitionIfNeeded(ContentEntityInterface &$entity) {
// Do nothing.
}