You are here

public function LocalTask::isRejected in Translation Management Tool 8

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 307

Class

LocalTask
Entity class for the local task entity.

Namespace

Drupal\tmgmt_local\Entity

Code

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