public FileTranslation::__construct($directory)
Constructs a StaticTranslation object.
Parameters
string $directory: The directory to retrieve file translations from.
Overrides StaticTranslation::__construct
File
- core/lib/Drupal/Core/StringTranslation/Translator/FileTranslation.php, line 31
Class
- FileTranslation
- File based string translation.
Namespace
Drupal\Core\StringTranslation\Translator
Code
public function __construct($directory) { parent::__construct(); $this->directory = $directory; }
Please login to continue.