public function LingotekModerationHandlerInterface::getModerationState in Lingotek Translation 3.3.x
Same name and namespace in other branches
- 8.2 src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::getModerationState()
- 4.0.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::getModerationState()
- 3.0.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::getModerationState()
- 3.1.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::getModerationState()
- 3.2.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::getModerationState()
- 3.4.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::getModerationState()
- 3.5.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::getModerationState()
- 3.6.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::getModerationState()
- 3.7.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::getModerationState()
- 3.8.x src/Moderation/LingotekModerationHandlerInterface.php \Drupal\lingotek\Moderation\LingotekModerationHandlerInterface::getModerationState()
Gets the moderation state ID.
Parameters
\Drupal\Core\Entity\ContentEntityInterface $entity: The content entity.
Return value
string The moderation state ID.
3 methods override LingotekModerationHandlerInterface::getModerationState()
- LingotekContentModerationHandler::getModerationState in src/
Moderation/ LingotekContentModerationHandler.php - Gets the moderation state ID.
- LingotekNoModerationHandler::getModerationState in src/
Moderation/ LingotekNoModerationHandler.php - Gets the moderation state ID.
- LingotekWorkbenchModerationHandler::getModerationState in src/
Moderation/ LingotekWorkbenchModerationHandler.php - Gets the moderation state ID.
File
- src/
Moderation/ LingotekModerationHandlerInterface.php, line 43
Class
- LingotekModerationHandlerInterface
- Moderation handler managing the Lingotek integration.
Namespace
Drupal\lingotek\ModerationCode
public function getModerationState(ContentEntityInterface $entity);