You are here

public function TMGMTTranslator::isAvailable in Translation Management Tool 7

Checks whether a translator is available.

Return value

boolean TRUE if the translator plugin is available, FALSE otherwise.

File

entity/tmgmt.entity.translator.inc, line 196

Class

TMGMTTranslator
Entity class for the tmgmt_translator entity.

Code

public function isAvailable() {
  if ($controller = $this
    ->getController()) {
    return $controller
      ->isAvailable($this);
  }
  return FALSE;
}