public function LocalTask::isClosed

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

Return value

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

Overrides LocalTaskInterface::isClosed

File

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

Class

LocalTask
Entity class for the local task entity.

Namespace

Drupal\tmgmt_local\Entity

Code

public function isClosed() {
  return $this
    ->isStatus(static::STATUS_CLOSED);
}