public function TranslatorInterface::checkTranslatable

Check whether this translator can handle a particular translation job.

Parameters

\Drupal\tmgmt\JobInterface Job: The Job entity that should be translated.

Return value

\Drupal\tmgmt\Translator\TranslatableResult TRUE if the job can be processed and translated, FALSE otherwise.

1 method overrides TranslatorInterface::checkTranslatable()
Translator::checkTranslatable in src/Entity/Translator.php
Check whether this translator can handle a particular translation job.

File

src/TranslatorInterface.php, line 169

Class

TranslatorInterface
Interface for the tmgmt_translator entity.

Namespace

Drupal\tmgmt

Code

public function checkTranslatable(JobInterface $job);