public function TranslatorPluginInterface::checkAvailable in Translation Management Tool 8
Checks whether a translator is available.
Parameters
TranslatorInterface $translator: The translator entity.
Return value
\Drupal\tmgmt\Translator\AvailableResult The result of the availability check.
1 method overrides TranslatorPluginInterface::checkAvailable()
- TranslatorPluginBase::checkAvailable in src/
TranslatorPluginBase.php - Checks whether a translator is available.
File
- src/
TranslatorPluginInterface.php, line 23
Class
- TranslatorPluginInterface
- Interface for service plugin controllers.
Namespace
Drupal\tmgmtCode
public function checkAvailable(TranslatorInterface $translator);