You are here

public function LingotekModerationHandlerInterface::performModerationTransitionIfNeeded in Lingotek Translation 3.1.x

Same name and namespace in other branches
  1. 8.2 src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::performModerationTransitionIfNeeded()
  2. 4.0.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::performModerationTransitionIfNeeded()
  3. 3.0.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::performModerationTransitionIfNeeded()
  4. 3.2.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::performModerationTransitionIfNeeded()
  5. 3.3.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::performModerationTransitionIfNeeded()
  6. 3.4.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::performModerationTransitionIfNeeded()
  7. 3.5.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::performModerationTransitionIfNeeded()
  8. 3.6.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::performModerationTransitionIfNeeded()
  9. 3.7.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::performModerationTransitionIfNeeded()
  10. 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.

3 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.
LingotekWorkbenchModerationHandler::performModerationTransitionIfNeeded in src/Moderation/LingotekWorkbenchModerationHandler.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\Moderation

Code

public function performModerationTransitionIfNeeded(ContentEntityInterface &$entity);