Search for import

  1. Search 9.5.x for import
  2. Search 8.9.x for import
  3. Search 10.3.x for import
  4. Search 11.x for import
  5. Other projects
Title Object type File name Summary
Automatic interface translation import group includes/locale.inc Functions to create batches for importing translations.
css_input_without_import.css file modules/simpletest/files/css_test_files/css_input_without_import.css Basic css that does not use import
css_input_without_import.css.optimized.css file modules/simpletest/files/css_test_files/css_input_without_import.css.optimized.css body{margin:0;padding:0;background:#edf5fa;font:76%/170% Verdana,sans-serif;color:#494949;}.this .is .a .test{font:1em/100% Verdana,sans-serif;color:#494949;}.this
.is
.a
.test{font:1em/100% Verdana,sans-serif;color:#494949;}some :pseudo…
css_input_without_import.css.unoptimized.css file modules/simpletest/files/css_test_files/css_input_without_import.css.unoptimized.css Basic css that does not use import
css_input_with_import.css file modules/simpletest/files/css_test_files/css_input_with_import.css @import url("http://example.com/style.css");
@import url("//example.com/style.css");
@import "import1.css";
@import "import2.css";

body {
margin: 0;
padding: 0;
background: #edf5fa;
font: 76%/170%…
css_input_with_import.css file modules/simpletest/files/css_test_files/css_subfolder/css_input_with_import.css @import "../import1.css";
@import "../import2.css";

body {
margin: 0;
padding: 0;
background: #edf5fa;
font: 76%/170% Verdana, sans-serif;
color: #494949;
}

.this .is .a .test {
font: 1em/100% Verdana, sans-serif;
css_input_with_import.css.optimized.css file modules/simpletest/files/css_test_files/css_subfolder/css_input_with_import.css.optimized.css ul,select{font:1em/160% Verdana,sans-serif;color:#494949;}.ui-icon{background-image:url(../images/icon.png);}.data .double-quote{background-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");}.data…
css_input_with_import.css.optimized.css file modules/simpletest/files/css_test_files/css_input_with_import.css.optimized.css @import url("http://example.com/style.css");@import url("//example.com/style.css");ul,select{font:1em/160% Verdana,sans-serif;color:#494949;}.ui-icon{background-image:url(images/icon.png);}.data…
css_input_with_import.css.unoptimized.css file modules/simpletest/files/css_test_files/css_subfolder/css_input_with_import.css.unoptimized.css ul, select {
font: 1em/160% Verdana, sans-serif;
color: #494949;
}
.ui-icon{background-image: url(../images/icon.png);}

/* Test data URI images with different quote styles. */
.data .double-quote {
/* http://stackoverflow.com/a/13139830/11023…
css_input_with_import.css.unoptimized.css file modules/simpletest/files/css_test_files/css_input_with_import.css.unoptimized.css @import url("http://example.com/style.css");
@import url("//example.com/style.css");

ul, select {
font: 1em/160% Verdana, sans-serif;
color: #494949;
}
.ui-icon{background-image: url(images/icon.png);}

/* Test data URI images…
import1.css file modules/simpletest/files/css_test_files/import1.css ul, select {
font: 1em/160% Verdana, sans-serif;
color: #494949;
}
.ui-icon{background-image: url(images/icon.png);}

/* Test data URI images with different quote styles. */
.data .double-quote {
/* http://stackoverflow.com/a/13139830/11023 */
import2.css file modules/simpletest/files/css_test_files/import2.css p, select {
font: 1em/160% Verdana, sans-serif;
color: #494949;
}
ImportOPMLTestCase class modules/aggregator/aggregator.test Tests importing feeds from OPML functionality for the Aggregator module.
ImportOPMLTestCase::getInfo function modules/aggregator/aggregator.test
ImportOPMLTestCase::openImportForm function modules/aggregator/aggregator.test Opens OPML import form.
ImportOPMLTestCase::submitImportForm function modules/aggregator/aggregator.test Submits form with invalid, empty, and valid OPML files.
ImportOPMLTestCase::testOPMLImport function modules/aggregator/aggregator.test Tests the import of an OPML file.
ImportOPMLTestCase::validateImportFormFields function modules/aggregator/aggregator.test Submits form filled with invalid fields.
install_import_locales function includes/install.core.inc Imports languages via a batch process during installation.
install_import_locales_remaining function includes/install.core.inc Installation task; import remaining languages via a batch process.
LocaleImportFunctionalTest class modules/locale/locale.test Functional tests for the import of translation files.
LocaleImportFunctionalTest::$admin_user property modules/locale/locale.test A user able to create languages and import translations.
LocaleImportFunctionalTest::getBadPoFile function modules/locale/locale.test Helper function that returns a bad .po file.
LocaleImportFunctionalTest::getInfo function modules/locale/locale.test
LocaleImportFunctionalTest::getOverwritePoFile function modules/locale/locale.test Helper function that returns a proper .po file, for testing overwriting
existing translations.
LocaleImportFunctionalTest::getPoFile function modules/locale/locale.test Helper function that returns a proper .po file.
LocaleImportFunctionalTest::getPoFileWithBrokenPlural function modules/locale/locale.test Returns a .po file with a broken plural formula.
LocaleImportFunctionalTest::getPoFileWithContext function modules/locale/locale.test Helper function that returns a .po file with context.
LocaleImportFunctionalTest::getPoFileWithEmptyMsgstr function modules/locale/locale.test Helper function that returns a .po file with an empty last item.
LocaleImportFunctionalTest::getPoFileWithMissingPlural function modules/locale/locale.test Returns a .po file with a missing plural formula.
LocaleImportFunctionalTest::getPoFileWithMsgstr function modules/locale/locale.test Helper function that returns a .po file with an empty last item.
LocaleImportFunctionalTest::importPoFile function modules/locale/locale.test Helper function: import a standalone .po file in a given language.
LocaleImportFunctionalTest::setUp function modules/locale/locale.test Sets up a Drupal site for running functional and integration tests.
LocaleImportFunctionalTest::testAutomaticModuleTranslationImportLanguageEnable function modules/locale/locale.test Test automatic import of a module's translation files when a language is
enabled.
LocaleImportFunctionalTest::testEmptyMsgstr function modules/locale/locale.test Test empty msgstr at end of .po file see #611786.
LocaleImportFunctionalTest::testLanguageContext function modules/locale/locale.test Test msgctxt context support.
LocaleImportFunctionalTest::testStandalonePoFile function modules/locale/locale.test Test import of standalone .po files.
LocalePluralFormatTest::importPoFile function modules/locale/locale.test Imports a standalone .po file in a given language.
LOCALE_IMPORT_KEEP constant includes/locale.inc Translation import mode keeping existing translations and only
inserting new strings.
LOCALE_IMPORT_OVERWRITE constant includes/locale.inc Translation import mode overwriting all existing translations
if new translated version available.
locale_translate_import_form function modules/locale/locale.admin.inc User interface for the translation import screen.
locale_translate_import_form_submit function modules/locale/locale.admin.inc Process the locale import form submission.
NodeSaveTestCase::testImport function modules/node/node.test Checks whether custom node IDs are saved properly during an import operation.
Translation import/export API. group includes/locale.inc Functions to import and export translations.
UserSaveTestCase::testUserImport function modules/user/user.test Test creating a user with arbitrary uid.
_locale_batch_import function includes/locale.inc Implements callback_batch_operation().
_locale_import_append_plural function includes/locale.inc Modify a string to contain proper count indices
_locale_import_message function includes/locale.inc Sets an error message occurred during locale file parsing.
_locale_import_one_string function includes/locale.inc Imports a string into the database
_locale_import_one_string_db function includes/locale.inc Import one string into the database.

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