You are here

public function LingotekNoModerationHandler::performModerationTransitionIfNeeded in Lingotek Translation 8.2

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

Code

public function performModerationTransitionIfNeeded(ContentEntityInterface &$entity) {

  // Do nothing.
}