public function JobInterface::submitted

Set the state of the job to 'submitted'.

Parameters

string $message: (optional) 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: (optional) The message type.

Return value

\Drupal\tmgmt\JobInterface The job entity.

See also

static::addMessage()

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

File

src/JobInterface.php, line 498

Class

JobInterface
Interface for tmgmt_job entity.

Namespace

Drupal\tmgmt

Code

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