You are here

public function LingotekInterface::getProcessStatus in Lingotek Translation 4.0.x

Same name and namespace in other branches
  1. 3.7.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getProcessStatus()
  2. 3.8.x src/LingotekInterface.php \Drupal\lingotek\LingotekInterface::getProcessStatus()

Gets the status of the process.

Parameters

string $process_id: The process ID in Lingotek.

Return value

bool|int Returns TRUE if the import process is completed. FALSE if it was not existing or failed. The percentage if it's still in progress.

2 methods override LingotekInterface::getProcessStatus()
Lingotek::getProcessStatus in src/Lingotek.php
Gets the status of the process.
LingotekFake::getProcessStatus in tests/modules/lingotek_test/src/LingotekFake.php
Gets the status of the process.

File

src/LingotekInterface.php, line 389

Class

LingotekInterface

Namespace

Drupal\lingotek

Code

public function getProcessStatus($process_id);