You are here

public function LingotekCommands::checkUpload in Lingotek Translation 3.2.x

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

Check upload status to Lingotek.

@usage drush ltk-check-upload node 1 Check upload status for node with ID 1. @usage drush ltk-check-upload taxonomy_term 3 Check upload status for taxonomy term with ID 3.

@command lingotek:check-upload @aliases ltk-source,lingotek-check-upload

Parameters

$entity_type_id: The entity type ID. E.g. "node"

$entity_id: The entity ID. E.g. "2"

File

src/Cli/Commands/Drush9/LingotekCommands.php, line 73

Class

LingotekCommands
A Drush9 compatible commandfile with Lingotek operations.

Namespace

Drupal\lingotek\Cli\Commands\Drush9

Code

public function checkUpload($entity_type_id, $entity_id) {
  $this->cliService
    ->setupOutput($this
    ->output());
  $this->cliService
    ->setLogger($this
    ->logger());
  $this->cliService
    ->checkUpload($entity_type_id, $entity_id);
}