| LocaleFile |
class |
core/modules/locale/src/File/LocaleFile.php |
Defines the locale file value object. |
| LocaleFile.php |
file |
core/modules/locale/src/File/LocaleFile.php |
|
| LocaleFile::$directory |
property |
core/modules/locale/src/File/LocaleFile.php |
The directory the file is in. |
| LocaleFile::$last_checked |
property |
core/modules/locale/src/File/LocaleFile.php |
When the translation was last checked. |
| LocaleFile::$type |
property |
core/modules/locale/src/File/LocaleFile.php |
The type of file, local, remote or current. |
| LocaleFile::createFromPath |
function |
core/modules/locale/src/File/LocaleFile.php |
Creates a LocaleFile from the filepath. |
| LocaleFile::__construct |
function |
core/modules/locale/src/File/LocaleFile.php |
Creates a LocaleFile object for tracking translation information. |
| LocaleFileHashTest |
class |
core/modules/locale/tests/src/Functional/LocaleFileHashTest.php |
Tests that file hash is used for local translation file change detection. |
| LocaleFileHashTest.php |
file |
core/modules/locale/tests/src/Functional/LocaleFileHashTest.php |
|
| LocaleFileHashTest::$defaultTheme |
property |
core/modules/locale/tests/src/Functional/LocaleFileHashTest.php |
The theme to install as the default for testing. |
| LocaleFileHashTest::assertHashes |
function |
core/modules/locale/tests/src/Functional/LocaleFileHashTest.php |
Checks that the stored hash values are as expected. |
| LocaleFileHashTest::checkTranslations |
function |
core/modules/locale/tests/src/Functional/LocaleFileHashTest.php |
Check for translation updates via the UI. |
| LocaleFileHashTest::setUp |
function |
core/modules/locale/tests/src/Functional/LocaleFileHashTest.php |
|
| LocaleFileHashTest::testModifiedFileProducesDifferentHash |
function |
core/modules/locale/tests/src/Functional/LocaleFileHashTest.php |
Tests that modifying a file produces a different hash, detected by the UI. |
| LocaleFileManager |
class |
core/modules/locale/src/File/LocaleFileManager.php |
Provide Locale File helper methods. |
| LocaleFileManager.php |
file |
core/modules/locale/src/File/LocaleFileManager.php |
|
| LocaleFileManager::checkRemoteFileStatus |
function |
core/modules/locale/src/File/LocaleFileManager.php |
Check if remote file exists and when it was last updated. |
| LocaleFileManager::deleteTranslationFiles |
function |
core/modules/locale/src/File/LocaleFileManager.php |
Deletes interface translation files and translation history records. |
| LocaleFileManager::downloadTranslationSource |
function |
core/modules/locale/src/File/LocaleFileManager.php |
Downloads a translation file from a remote server. |
| LocaleFileManager::getInterfaceTranslationFiles |
function |
core/modules/locale/src/File/LocaleFileManager.php |
Get interface translation files present in the translations directory. |
| LocaleFileManager::__construct |
function |
core/modules/locale/src/File/LocaleFileManager.php |
|
| LocaleFileSystemFormTest |
class |
core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php |
Tests the locale functionality in the altered file settings form. |
| LocaleFileSystemFormTest.php |
file |
core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php |
|
| LocaleFileSystemFormTest::$defaultTheme |
property |
core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php |
The theme to install as the default for testing. |
| LocaleFileSystemFormTest::$modules |
property |
core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php |
Modules to install. |
| LocaleFileSystemFormTest::setUp |
function |
core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php |
|
| LocaleFileSystemFormTest::testFileConfigurationPage |
function |
core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php |
Tests translation directory settings on the file settings form. |
| LocaleFormHooks::formSystemFileSystemSettingsAlter |
function |
core/modules/locale/src/Hook/LocaleFormHooks.php |
Implements hook_form_FORM_ID_alter() for system_file_system_settings(). |
| LocaleImportFunctionalTest::getBadPoFile |
function |
core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php |
Helper function that returns a bad .po file. |
| LocaleImportFunctionalTest::getCustomOverwritePoFile |
function |
core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php |
Helper function that returns a .po file for testing customized strings. |
| LocaleImportFunctionalTest::getCustomPoFile |
function |
core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php |
Returns a .po file that will be marked as customized. |
| LocaleImportFunctionalTest::getEmptyPoFile |
function |
core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php |
Helper function that returns an empty .po file. |
| LocaleImportFunctionalTest::getInvalidEncodedPoFile |
function |
core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php |
Helper function that returns a .po file with invalid encoding. |
| LocaleImportFunctionalTest::getOverwritePoFile |
function |
core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php |
Helper function that returns a proper .po file for testing. |
| LocaleImportFunctionalTest::getPoFile |
function |
core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php |
Helper function that returns a proper .po file. |
| LocaleImportFunctionalTest::getPoFileWithConfig |
function |
core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php |
Helper function that returns a .po file with configuration translations. |
| LocaleImportFunctionalTest::getPoFileWithConfigDe |
function |
core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php |
Helper function that returns a .po file with configuration translations. |
| LocaleImportFunctionalTest::getPoFileWithContext |
function |
core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php |
Helper function that returns a .po file with context. |
| LocaleImportFunctionalTest::getPoFileWithEmptyMsgstr |
function |
core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php |
Helper function that returns a .po file with an empty last item. |
| LocaleImportFunctionalTest::getPoFileWithMsgstr |
function |
core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php |
Helper function that returns a .po file with an empty last item. |
| LocaleImportFunctionalTest::importPoFile |
function |
core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php |
Helper function: import a standalone .po file in a given language. |
| LocaleImportFunctionalTest::testConfigPoFile |
function |
core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php |
Tests .po file import with configuration translation. |
| LocaleImportFunctionalTest::testConfigTranslationImportingPoFile |
function |
core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php |
Tests .po file import with user.settings configuration. |
| LocaleImportFunctionalTest::testStandalonePoFile |
function |
core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php |
Tests import of standalone .po files. |
| LocaleJavascriptTranslationTest::testFileParsing |
function |
core/modules/locale/tests/src/Functional/LocaleJavascriptTranslationTest.php |
Tests file parsing. |
| LocalePluralFormatTest::getPoFileWithBrokenPlural |
function |
core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php |
Returns a .po file with a broken plural formula. |
| LocalePluralFormatTest::getPoFileWithComplexPlural |
function |
core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php |
Returns a .po file with a complex plural formula. |
| LocalePluralFormatTest::getPoFileWithMissingPlural |
function |
core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php |
Returns a .po file with a missing plural formula. |
| LocalePluralFormatTest::getPoFileWithSimplePlural |
function |
core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php |
Returns a .po file with a simple plural formula. |
| LocalePluralFormatTest::importPoFile |
function |
core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php |
Imports a standalone .po file in a given language. |