interface TranslatableInteface in Backup and Migrate 8.4
Interface TranslatableInteface.
@package BackupMigrate\Core\Translation
Hierarchy
- interface \BackupMigrate\Core\Translation\TranslatableInteface
Expanded class hierarchy of TranslatableInteface
All classes that implement TranslatableInteface
File
- lib/
backup_migrate_core/ src/ Translation/ TranslatableInteface.php, line 10
Namespace
BackupMigrate\Core\TranslationView source
interface TranslatableInteface {
/**
* 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 |
---|---|---|---|---|
TranslatableInteface:: |
public | function | Translate a string. |