You are here

public function JobItemInterface::setTranslatorState in Translation Management Tool 8

Sets the translator state.

A translator state is only kept for a given job item state, if that changes then the translator state is reset.

Parameters

string|null $translator_state: Set the translator set, use NULL to reset.

Return value

mixed

1 method overrides JobItemInterface::setTranslatorState()
JobItem::setTranslatorState in src/Entity/JobItem.php
Sets the translator state.

File

src/JobItemInterface.php, line 567

Class

JobItemInterface
Interface for tmgmt_job_item entity.

Namespace

Drupal\tmgmt

Code

public function setTranslatorState($translator_state = NULL);