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.
string|null $translator_state: Set the translator set, use NULL to reset.
mixed
Overrides JobItemInterface::setTranslatorState
public function setTranslatorState($translator_state = NULL) {
$this
->get('translator_state')->value = $translator_state;
return $this;
}