public function ExtendedTranslatorPluginInterface::cancelTranslation in TMGMT Extension Suite 8.3
Same name and namespace in other branches
- 8 src/ExtendedTranslatorPluginInterface.php \Drupal\tmgmt_extension_suit\ExtendedTranslatorPluginInterface::cancelTranslation()
- 8.2 src/ExtendedTranslatorPluginInterface.php \Drupal\tmgmt_extension_suit\ExtendedTranslatorPluginInterface::cancelTranslation()
Cancels translation.
This method cancels not Drupal translation but translation in 3rd party service instead.
Parameters
\Drupal\tmgmt\JobInterface $job: Job object.
Return value
bool TRUE if canceled FALSE otherwise.
1 method overrides ExtendedTranslatorPluginInterface::cancelTranslation()
- TestLocalTranslator::cancelTranslation in modules/
tmgmt_extension_suit_test/ src/ Plugin/ tmgmt/ Translator/ TestLocalTranslator.php - Cancels translation.
File
- src/
ExtendedTranslatorPluginInterface.php, line 64
Class
- ExtendedTranslatorPluginInterface
- Interface for service plugin controllers.
Namespace
Drupal\tmgmt_extension_suitCode
public function cancelTranslation(JobInterface $job);