public function LocalTask::isRejected

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

Return value

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

Overrides LocalTaskInterface::isRejected

File

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

Class

LocalTask
Entity class for the local task entity.

Namespace

Drupal\tmgmt_local\Entity

Code

public function isRejected() {
  return $this
    ->isStatus(static::STATUS_REJECTED);
}