You are here

public function JobInterface::finished in Translation Management Tool 8

Set the state of the job to 'finished'.

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.

Return value

\Drupal\tmgmt\JobInterface The job entity.

See also

Job::addMessage()

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

File

src/JobInterface.php, line 515

Class

JobInterface
Interface for tmgmt_job entity.

Namespace

Drupal\tmgmt

Code

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