You are here

public function LocalTaskItem::getStatus in Translation Management Tool 8

Returns the status of the local task item.

Can be one of the local task item status constants.

Return value

int The status of the local task item.

Overrides LocalTaskItemInterface::getStatus

File

translators/tmgmt_local/src/Entity/LocalTaskItem.php, line 141

Class

LocalTaskItem
Entity class for the local task item entity.

Namespace

Drupal\tmgmt_local\Entity

Code

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