interface TranslatableInterface in Backup and Migrate 5.0.x
@package Drupal\backup_migrate\Core\Translation
Hierarchy
- interface \Drupal\backup_migrate\Core\Translation\TranslatableInterface
Expanded class hierarchy of TranslatableInterface
All classes that implement TranslatableInterface
File
- src/
Core/ Translation/ TranslatableInterface.php, line 10
Namespace
Drupal\backup_migrate\Core\TranslationView source
interface TranslatableInterface {
/**
* Translate a string.
*
* @param string $string
* The string to be translated.
* @param $replacements
* Any untranslatable variables to be replaced into the string.
* @param $context
* Extra context to help translators distinguish ambiguous strings.
*
* @return mixed
*/
public function t($string, $replacements = [], $context = []);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TranslatableInterface:: |
public | function | Translate a string. |