You are here

public function LingotekNoModerationHandler::setModerationState in Lingotek Translation 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::setModerationState()
  2. 4.0.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::setModerationState()
  3. 3.1.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::setModerationState()
  4. 3.2.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::setModerationState()
  5. 3.3.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::setModerationState()
  6. 3.4.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::setModerationState()
  7. 3.5.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::setModerationState()
  8. 3.6.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::setModerationState()
  9. 3.7.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::setModerationState()
  10. 3.8.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::setModerationState()

Sets the moderation state ID.

Parameters

\Drupal\Core\Entity\ContentEntityInterface $entity: The content entity.

string $state: The moderation state ID.

Overrides LingotekModerationHandlerInterface::setModerationState

File

src/Moderation/LingotekNoModerationHandler.php, line 41

Class

LingotekNoModerationHandler
Moderation handler when no other integration applies.

Namespace

Drupal\lingotek\Moderation

Code

public function setModerationState(ContentEntityInterface $entity, $state) {

  // Do nothing.
}