You are here

public function LocalTask::getStatus in Translation Management Tool 8

Returns the status of the task. Can be one of the task status constants.

Return value

int The status of the task or NULL if it hasn't been set yet.

Overrides LocalTaskInterface::getStatus

2 calls to LocalTask::getStatus()
LocalTask::incrementLoopCount in translators/tmgmt_local/src/Entity/LocalTask.php
Increment loop_count property.
LocalTask::isStatus in translators/tmgmt_local/src/Entity/LocalTask.php
Checks whether the passed value matches the current status.

File

translators/tmgmt_local/src/Entity/LocalTask.php, line 251

Class

LocalTask
Entity class for the local task entity.

Namespace

Drupal\tmgmt_local\Entity

Code

public function getStatus() {
  return $this->status->value;
}