Search for import

  1. Search 7.x for import
  2. Search 9.5.x for import
  3. Search 8.9.x for import
  4. Search 10.3.x for import
  5. Other projects
Title Object type File name Summary
InstallHelper::importUsers function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Imports users.
install_config_import_batch function core/includes/install.core.inc Creates a batch for the config importer to process.
install_import_translations function core/includes/install.core.inc Imports languages via a batch process during installation.
KernelTestBase::$configImporter property core/tests/Drupal/KernelTests/KernelTestBase.php @todo Move into Config test base class.
LanguageConfigOverrideImportTest class core/modules/language/tests/src/Functional/LanguageConfigOverrideImportTest.php Ensures the language config overrides can be synchronized.
LanguageConfigOverrideImportTest.php file core/modules/language/tests/src/Functional/LanguageConfigOverrideImportTest.php
LanguageConfigOverrideImportTest::$defaultTheme property core/modules/language/tests/src/Functional/LanguageConfigOverrideImportTest.php The theme to install as the default for testing.
LanguageConfigOverrideImportTest::$modules property core/modules/language/tests/src/Functional/LanguageConfigOverrideImportTest.php Modules to install.
LanguageConfigOverrideImportTest::testConfigOverrideImport function core/modules/language/tests/src/Functional/LanguageConfigOverrideImportTest.php Tests that language can be enabled and overrides are created during a sync.
LanguageConfigOverrideImportTest::testConfigOverrideImportEvents function core/modules/language/tests/src/Functional/LanguageConfigOverrideImportTest.php Tests that configuration events are not fired during a sync of overrides.
locale.import.html.twig file core/modules/locale/help_topics/locale.import.html.twig ---
label: 'Importing a translation file'
related:
- core.translations
- locale.translation_status
- locale.translate_strings
---
{% set import_text %}{% trans %}Import{% endtrans %}{% endset %}
{% set import_link =…
LocaleConfigTranslationImportTest class core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php Tests translation update's effects on configuration translations.
LocaleConfigTranslationImportTest.php file core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php
LocaleConfigTranslationImportTest::$defaultTheme property core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php The theme to install as the default for testing.
LocaleConfigTranslationImportTest::$modules property core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php Modules to install.
LocaleConfigTranslationImportTest::testConfigTranslationImport function core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php Tests update changes configuration translations if enabled after language.
LocaleConfigTranslationImportTest::testConfigTranslationModuleInstall function core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php Tests update changes configuration translations if enabled after language.
LocaleConfigTranslationImportTest::testConfigTranslationWithNonEnglishLanguageDefault function core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php Tests setting a non-English language as default and importing configuration.
LocaleConfigTranslationImportTest::testLocaleRemovalAndConfigOverrideDelete function core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php Tests removing a string from Locale deletes configuration translations.
LocaleConfigTranslationImportTest::testLocaleRemovalAndConfigOverridePreserve function core/modules/locale/tests/src/Functional/LocaleConfigTranslationImportTest.php Tests removing a string from Locale changes configuration translations.
LocaleImportFunctionalTest class core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Tests the import of locale files.
LocaleImportFunctionalTest.php file core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php
LocaleImportFunctionalTest::$adminUser property core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php A user able to create languages and import translations.
LocaleImportFunctionalTest::$adminUserAccessSiteReports property core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php A user able to create languages, import translations, access site reports.
LocaleImportFunctionalTest::$defaultTheme property core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php The theme to install as the default for testing.
LocaleImportFunctionalTest::$modules property core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Modules to install.
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::setUp function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php
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::testCreatedLanguageTranslation function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Tests the translation are imported when a new language is created.
LocaleImportFunctionalTest::testEmptyMsgstr function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Tests empty msgstr at end of .po file see #611786.
LocaleImportFunctionalTest::testLanguageContext function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Tests msgctxt context support.
LocaleImportFunctionalTest::testStandalonePoFile function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Tests import of standalone .po files.
LocalePluralFormatTest::importPoFile function core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php Imports a standalone .po file in a given language.
LocaleTranslationChangeProjectVersionTest::testUpdateImportSourceRemote function core/modules/locale/tests/src/Functional/LocaleTranslationChangeProjectVersionTest.php Tests update translations when project version changes.
LocaleTranslationDownloadTest::testUpdateImportSourceRemote function core/modules/locale/tests/src/Functional/LocaleTranslationDownloadTest.php Tests translation download from remote sources.
LocaleUpdateTest::testUpdateImportModeNonCustomized function core/modules/locale/tests/src/Functional/LocaleUpdateTest.php Tests translation import and only overwrite non-customized translations.

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