public function LocalTaskItem::isCompleted

Returns TRUE if the local task is translated (fully translated).

Return value

bool TRUE if the local task item is translated.

Overrides LocalTaskItemInterface::isCompleted

File

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

Class

LocalTaskItem
Entity class for the local task item entity.

Namespace

Drupal\tmgmt_local\Entity

Code

public function isCompleted() {
  return $this
    ->get('status')->value == LocalTaskItemInterface::STATUS_COMPLETED;
}