public function LingotekNoModerationHandler::getModerationState in Lingotek Translation 3.1.x
Same name and namespace in other branches
- 8.2 src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::getModerationState()
- 4.0.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::getModerationState()
- 3.0.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::getModerationState()
- 3.2.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::getModerationState()
- 3.3.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::getModerationState()
- 3.4.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::getModerationState()
- 3.5.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::getModerationState()
- 3.6.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::getModerationState()
- 3.7.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::getModerationState()
- 3.8.x src/Moderation/LingotekNoModerationHandler.php \Drupal\lingotek\Moderation\LingotekNoModerationHandler::getModerationState()
Gets the moderation state ID.
Parameters
\Drupal\Core\Entity\ContentEntityInterface $entity: The content entity.
Return value
string The moderation state ID.
Overrides LingotekModerationHandlerInterface::getModerationState
File
- src/
Moderation/ LingotekNoModerationHandler.php, line 34
Class
- LingotekNoModerationHandler
- Moderation handler when no other integration applies.
Namespace
Drupal\lingotek\ModerationCode
public function getModerationState(ContentEntityInterface $entity) {
// Do nothing.
}