public function LingotekNoModerationHandler::setModerationState in Lingotek Translation 8.2
Same name and namespace in other branches
- 4.0.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::setModerationState()
- 3.0.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::setModerationState()
- 3.1.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::setModerationState()
- 3.2.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::setModerationState()
- 3.3.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::setModerationState()
- 3.4.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::setModerationState()
- 3.5.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::setModerationState()
- 3.6.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::setModerationState()
- 3.7.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::setModerationState()
- 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\ModerationCode
public function setModerationState(ContentEntityInterface $entity, $state) {
// Do nothing.
}