Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
LocaleEvents class core/modules/locale/src/LocaleEvents.php Defines events for locale translation.
LocaleEvents.php file core/modules/locale/src/LocaleEvents.php
LocaleEvents::SAVE_TRANSLATION constant core/modules/locale/src/LocaleEvents.php The name of the event fired when saving a translated string.
LocaleExportTest class core/modules/locale/tests/src/Functional/LocaleExportTest.php Tests the exportation of locale files.
LocaleExportTest.php file core/modules/locale/tests/src/Functional/LocaleExportTest.php
LocaleExportTest::$adminUser property core/modules/locale/tests/src/Functional/LocaleExportTest.php A user able to create languages and export translations.
LocaleExportTest::$defaultTheme property core/modules/locale/tests/src/Functional/LocaleExportTest.php The theme to install as the default for testing.
LocaleExportTest::$modules property core/modules/locale/tests/src/Functional/LocaleExportTest.php Modules to install.
LocaleExportTest::getCustomPoFile function core/modules/locale/tests/src/Functional/LocaleExportTest.php Returns a .po file that will be marked as customized.
LocaleExportTest::getPoFile function core/modules/locale/tests/src/Functional/LocaleExportTest.php Helper function that returns a proper .po file.
LocaleExportTest::getUntranslatedString function core/modules/locale/tests/src/Functional/LocaleExportTest.php Returns a .po file fragment with an untranslated string.
LocaleExportTest::setUp function core/modules/locale/tests/src/Functional/LocaleExportTest.php
LocaleExportTest::testExportTranslation function core/modules/locale/tests/src/Functional/LocaleExportTest.php Tests exportation of translations.
LocaleExportTest::testExportTranslationTemplateFile function core/modules/locale/tests/src/Functional/LocaleExportTest.php Tests exportation of translation template file.
LocaleFetch class core/modules/locale/src/LocaleFetch.php Provides the locale fetch services.
LocaleFetch.php file core/modules/locale/src/LocaleFetch.php
LocaleFetch::batchDownload function core/modules/locale/src/LocaleFetch.php Implements callback_batch_operation().
LocaleFetch::batchFinished function core/modules/locale/src/LocaleFetch.php Implements callback_batch_finished().
LocaleFetch::batchImport function core/modules/locale/src/LocaleFetch.php Implements callback_batch_operation().
LocaleFetch::batchStatusCheck function core/modules/locale/src/LocaleFetch.php Implements callback_batch_operation().
LocaleFetch::batchVersionCheck function core/modules/locale/src/LocaleFetch.php Implements callback_batch_operation().
LocaleFetch::buildFetchBatch function core/modules/locale/src/LocaleFetch.php Builds a batch to download and import project translations.
LocaleFetch::buildUpdateBatch function core/modules/locale/src/LocaleFetch.php Builds a batch to check, download and import project translations.
LocaleFetch::getFetchOperations function core/modules/locale/src/LocaleFetch.php Helper function to construct the batch operations to fetch translations.
LocaleFetch::getStatusOperations function core/modules/locale/src/LocaleFetch.php Constructs batch operations for checking remote translation status.
LocaleFetch::__construct function core/modules/locale/src/LocaleFetch.php
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::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.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.