public function JobInterface::getTranslator

Returns the translator for this job.

Return value

\Drupal\tmgmt\Entity\Translator The translator entity.

Throws

\Drupal\tmgmt\TMGMTException Throws an exception when there is no translator assigned or when the translator is missing the plugin.

1 method overrides JobInterface::getTranslator()
Job::getTranslator in src/Entity/Job.php
Returns the translator for this job.

File

src/JobInterface.php, line 328

Class

JobInterface
Interface for tmgmt_job entity.

Namespace

Drupal\tmgmt

Code

public function getTranslator();