You are here

public function TMGMTTranslatorPluginControllerInterface::canTranslate in Translation Management Tool 7

Check whether this service can handle a particular translation job.

Parameters

TMGMTTranslator $translator: The TMGMTTranslator entity that should handle the translation.

TMGMTJob $job: The TMGMTJob entity that should be translated.

Return value

boolean TRUE if the job can be processed and translated, FALSE otherwise.

1 method overrides TMGMTTranslatorPluginControllerInterface::canTranslate()
TMGMTDefaultTranslatorPluginController::canTranslate in plugin/tmgmt.plugin.translator.inc
Check whether this service can handle a particular translation job.

File

plugin/tmgmt.plugin.interface.translator.inc, line 50
Contains the source plugin interface.

Class

TMGMTTranslatorPluginControllerInterface
Interface for service plugin controllers.

Code

public function canTranslate(TMGMTTranslator $translator, TMGMTJob $job);