public function LocalTask::isPending in Translation Management Tool 8
Returns whether the status of this task is 'pending'.
Return value
bool TRUE if the status is 'pending', FALSE otherwise.
Overrides LocalTaskInterface::isPending
File
- translators/
tmgmt_local/ src/ Entity/ LocalTask.php, line 293
Class
- LocalTask
- Entity class for the local task entity.
Namespace
Drupal\tmgmt_local\EntityCode
public function isPending() {
return $this
->isStatus(static::STATUS_PENDING);
}