You are here

public function TMGMTTranslatorPluginControllerInterface::getNotCanTranslateReason in Translation Management Tool 7

Return a reason why the translator is not able to translate this job.

@todo Remove this once http://drupal.org/node/1420364 is done.

Parameters

TMGMTJob $job: The job entity.

Might be called when canTranslate() returns FALSE to get a reason that can be displayed to the user.

1 method overrides TMGMTTranslatorPluginControllerInterface::getNotCanTranslateReason()
TMGMTDefaultTranslatorPluginController::getNotCanTranslateReason in plugin/tmgmt.plugin.translator.inc
Return a reason why the translator is not able to translate this job.

File

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

Class

TMGMTTranslatorPluginControllerInterface
Interface for service plugin controllers.

Code

public function getNotCanTranslateReason(TMGMTJob $job);