Error message

  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).
  • Warning: count(): Parameter must be an array or an object that implements Countable in _api_make_match_member_link() (line 1230 of /home/projects/api/www/sites/all/modules/api/api.formatting.inc).

public function JobInterface::aborted

Sets the state of the job to 'aborted'.

Parameters

string $message: The log message to be saved along with the state change.

array $variables: (Optional) An array of variables to replace in the message on display.

string $type: Statically set to status.

Use Job::abortTranslation() to abort a translation.

Return value

\Drupal\tmgmt\JobInterface The job entity.

See also

Job::addMessage()

1 method overrides JobInterface::aborted()
Job::aborted in src/Entity/Job.php
Sets the state of the job to 'aborted'.

File

src/JobInterface.php, line 534

Class

JobInterface
Interface for tmgmt_job entity.

Namespace

Drupal\tmgmt

Code

public function aborted($message = NULL, $variables = array(), $type = 'status');