You are here

public function TMGMTTranslatorPluginControllerInterface::getNotAvailableReason in Translation Management Tool 7

Return a reason why the translator is not available.

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

Parameters

TMGMTTranslator $translator: The translator entity.

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

1 method overrides TMGMTTranslatorPluginControllerInterface::getNotAvailableReason()
TMGMTDefaultTranslatorPluginController::getNotAvailableReason in plugin/tmgmt.plugin.translator.inc
Return a reason why the translator is not available.

File

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

Class

TMGMTTranslatorPluginControllerInterface
Interface for service plugin controllers.

Code

public function getNotAvailableReason(TMGMTTranslator $translator);