public function LocalTask::isCompleted

Returns whether the status of this task is 'completed'.

Return value

bool TRUE if the status is 'completed', FALSE otherwise.

Overrides LocalTaskInterface::isCompleted

File

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

Class

LocalTask
Entity class for the local task entity.

Namespace

Drupal\tmgmt_local\Entity

Code

public function isCompleted() {
  return $this
    ->isStatus(static::STATUS_COMPLETED);
}