public function JobInterface::getTranslatorPlugin

Returns the translator plugin of the translator of this job.

Return value

\Drupal\tmgmt\TranslatorPluginInterface The translator plugin instance.

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::getTranslatorPlugin()
Job::getTranslatorPlugin in src/Entity/Job.php
Returns the translator plugin of the translator of this job.

File

src/JobInterface.php, line 583

Class

JobInterface
Interface for tmgmt_job entity.

Namespace

Drupal\tmgmt

Code

public function getTranslatorPlugin();