You are here

public function LingotekModerationHandlerInterface::getModerationState in Lingotek Translation 3.0.x

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

2 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.

File

src/Moderation/LingotekModerationHandlerInterface.php, line 43

Class

LingotekModerationHandlerInterface
Moderation handler managing the Lingotek integration.

Namespace

Drupal\lingotek\Moderation

Code

public function getModerationState(ContentEntityInterface $entity);