public function Job::isAborted in Translation Management Tool 8
Returns whether the state of this job is 'aborted'.
Return value
bool TRUE if the state is 'aborted', FALSE otherwise.
Overrides JobInterface::isAborted
1 call to Job::isAborted()
- Job::preSave in src/
Entity/ Job.php - Acts on an entity before the presave hook is invoked.
File
- src/
Entity/ Job.php, line 593
Class
- Job
- Entity class for the tmgmt_job entity.
Namespace
Drupal\tmgmt\EntityCode
public function isAborted() {
return $this
->isState(static::STATE_ABORTED);
}