public function TranslatableTrait::setTranslator in Backup and Migrate 8.4
Parameters
TranslatorInterface $translator:
File
- lib/
backup_migrate_core/ src/ Translation/ TranslatableTrait.php, line 26
Class
- TranslatableTrait
- This trait can be used to implement the TranslatableInterface.
Namespace
BackupMigrate\Core\TranslationCode
public function setTranslator($translator) {
$this->translator = $translator;
}