You are here

public function LingotekContentTranslationServiceInterface::cancelDocument in Lingotek Translation 3.0.x

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

Cancels a document from the server.

Parameters

\Drupal\Core\Entity\ContentEntityInterface &$entity: The entity which we want to cancel.

Return value

\Drupal\Core\Entity\ContentEntityInterface The entity.

1 method overrides LingotekContentTranslationServiceInterface::cancelDocument()
LingotekContentTranslationService::cancelDocument in src/LingotekContentTranslationService.php
Cancels a document from the server.

File

src/LingotekContentTranslationServiceInterface.php, line 296

Class

LingotekContentTranslationServiceInterface
Service for managing Lingotek content translations.

Namespace

Drupal\lingotek

Code

public function cancelDocument(ContentEntityInterface &$entity);