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 main for all
  6. Other projects
Title Object type File name Summary
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 class core/modules/locale/src/Hook/LocaleFormHooks.php Form hook implementations for locale.
LocaleFormHooks.php file core/modules/locale/src/Hook/LocaleFormHooks.php
LocaleFormHooks::formLanguageAdminAddFormAlter function core/modules/locale/src/Hook/LocaleFormHooks.php Implements hook_form_FORM_ID_alter() for language_admin_add_form().
LocaleFormHooks::formLanguageAdminAddFormAlterSubmit function core/modules/locale/src/Hook/LocaleFormHooks.php Form submission handler for language_admin_add_form.
LocaleFormHooks::formLanguageAdminEditFormAlter function core/modules/locale/src/Hook/LocaleFormHooks.php Implements hook_form_FORM_ID_alter() for language_admin_edit_form().
LocaleFormHooks::formLanguageAdminEditFormAlterSubmit function core/modules/locale/src/Hook/LocaleFormHooks.php Form submission handler for language_admin_edit_form().
LocaleFormHooks::formLanguageAdminOverviewFormAlter function core/modules/locale/src/Hook/LocaleFormHooks.php Implements hook_form_FORM_ID_alter() for language_admin_overview_form().
LocaleFormHooks::formSystemFileSystemSettingsAlter function core/modules/locale/src/Hook/LocaleFormHooks.php Implements hook_form_FORM_ID_alter() for system_file_system_settings().
LocaleFormHooks::importEnabled function core/modules/locale/src/Hook/LocaleFormHooks.php Check if import is enabled.
LocaleFormHooks::__construct function core/modules/locale/src/Hook/LocaleFormHooks.php
LocaleHooks class core/modules/locale/src/Hook/LocaleHooks.php Hook implementations for locale.
LocaleHooks.php file core/modules/locale/src/Hook/LocaleHooks.php
LocaleHooks::cacheFlush function core/modules/locale/src/Hook/LocaleHooks.php Implements hook_cache_flush().
LocaleHooks::configurableLanguageDelete function core/modules/locale/src/Hook/LocaleHooks.php Implements hook_ENTITY_TYPE_delete() for 'configurable_language'.
LocaleHooks::configurableLanguageInsert function core/modules/locale/src/Hook/LocaleHooks.php Implements hook_ENTITY_TYPE_insert() for 'configurable_language'.
LocaleHooks::configurableLanguageUpdate function core/modules/locale/src/Hook/LocaleHooks.php Implements hook_ENTITY_TYPE_update() for 'configurable_language'.
LocaleHooks::help function core/modules/locale/src/Hook/LocaleHooks.php Implements hook_help().
LocaleHooks::jsAlter function core/modules/locale/src/Hook/LocaleHooks.php Implements hook_js_alter().
LocaleHooks::libraryInfoAlter function core/modules/locale/src/Hook/LocaleHooks.php Implements hook_library_info_alter().
LocaleImportBatch class core/modules/locale/src/LocaleImportBatch.php Provides the locale import batch services.
LocaleImportBatch.php file core/modules/locale/src/LocaleImportBatch.php
LocaleImportBatch::batchFinished function core/modules/locale/src/LocaleImportBatch.php Implements callback_batch_finished().
LocaleImportBatch::batchImport function core/modules/locale/src/LocaleImportBatch.php Implements callback_batch_operation().
LocaleImportBatch::batchRefresh function core/modules/locale/src/LocaleImportBatch.php Implements callback_batch_operation().
LocaleImportBatch::batchSave function core/modules/locale/src/LocaleImportBatch.php Implements callback_batch_operation().
LocaleImportBatch::buildBatch function core/modules/locale/src/LocaleImportBatch.php Build a locale batch from an array of files.
LocaleImportBatch::__construct function core/modules/locale/src/LocaleImportBatch.php
LocaleImportFunctionalTest class core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Tests the import of locale files.

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