Search for setDatabase

  1. Search 7.x for setDatabase
  2. Search 9.5.x for setDatabase
  3. Search 8.9.x for setDatabase
  4. Search 10.3.x for setDatabase
  5. Other projects
Title Object type File name Summary
AddPermissionsUpdateTest::setDatabaseDumpFiles function core/modules/help/tests/src/Functional/AddPermissionsUpdateTest.php Set database dump files to be used.
BatchBidSerialUpdateTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/BatchBidSerialUpdateTest.php Set database dump files to be used.
BlockContentRemoveConstraint::setDatabaseDumpFiles function core/modules/block_content/tests/src/Functional/Update/BlockContentRemoveConstraint.php Set database dump files to be used.
BlockContentReusableIndexUpdatePathTest::setDatabaseDumpFiles function core/modules/block_content/tests/src/Functional/Update/BlockContentReusableIndexUpdatePathTest.php Set database dump files to be used.
BlockContentUpdateTest::setDatabaseDumpFiles function core/modules/block_content/tests/src/Functional/Update/BlockContentUpdateTest.php Set database dump files to be used.
BlockWeightUpdateTest::setDatabaseDumpFiles function core/modules/block/tests/src/Functional/BlockWeightUpdateTest.php Set database dump files to be used.
CKEditor5UpdateCodeBlockConfigurationTest::setDatabaseDumpFiles function core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdateCodeBlockConfigurationTest.php Set database dump files to be used.
CKEditor5UpdateImageToolbarItemTest::setDatabaseDumpFiles function core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdateImageToolbarItemTest.php Set database dump files to be used.
CKEditor5UpdateListMultiBlockTest::setDatabaseDumpFiles function core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdateListMultiBlockTest.php Set database dump files to be used.
CKEditor5UpdateOlStartReversed::setDatabaseDumpFiles function core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdateOlStartReversed.php Set database dump files to be used.
CKEditor5UpdatePluginSettingsSortTest::setDatabaseDumpFiles function core/modules/ckeditor5/tests/src/Functional/Update/CKEditor5UpdatePluginSettingsSortTest.php Set database dump files to be used.
ConfigSyncReadmeUpdateTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/ConfigSyncReadmeUpdateTest.php Set database dump files to be used.
EditorAddLazyLoadImageFilterUpdateTest::setDatabaseDumpFiles function core/modules/editor/tests/src/Functional/Update/EditorAddLazyLoadImageFilterUpdateTest.php Set database dump files to be used.
EditorSanitizeImageUploadSettingsUpdateTest::setDatabaseDumpFiles function core/modules/editor/tests/src/Functional/Update/EditorSanitizeImageUploadSettingsUpdateTest.php Set database dump files to be used.
EntityArgumentUpdateTest::setDatabaseDumpFiles function core/modules/views/tests/src/Functional/Update/EntityArgumentUpdateTest.php Set database dump files to be used.
FileAddPermissionsUpdateTest::setDatabaseDumpFiles function core/modules/file/tests/src/Functional/FileAddPermissionsUpdateTest.php Set database dump files to be used.
FilterFormatConsolidateFilterConfigUpdateTest::setDatabaseDumpFiles function core/modules/filter/tests/src/Functional/FilterFormatConsolidateFilterConfigUpdateTest.php Set database dump files to be used.
FilterFormatUpdateFilterSortingTest::setDatabaseDumpFiles function core/modules/filter/tests/src/Functional/FilterFormatUpdateFilterSortingTest.php Set database dump files to be used.
ForumIndexUpdateTest::setDatabaseDumpFiles function core/modules/forum/tests/src/Functional/ForumIndexUpdateTest.php Set database dump files to be used.
GlobalThemeSettingsDefaultLogoUrlUpdateTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/GlobalThemeSettingsDefaultLogoUrlUpdateTest.php Set database dump files to be used.
HelpTopicsMerge::setDatabaseDumpFiles function core/modules/help/tests/src/Functional/Update/HelpTopicsMerge.php Set database dump files to be used.
HelpTopicsUninstall::setDatabaseDumpFiles function core/modules/help/tests/src/Functional/Update/HelpTopicsUninstall.php Set database dump files to be used.
LayoutBuilderSettingsUpdateTest::setDatabaseDumpFiles function core/modules/layout_builder/tests/src/Functional/Update/LayoutBuilderSettingsUpdateTest.php Set database dump files to be used.
LocalesLocationAddIndexUpdateTest::setDatabaseDumpFiles function core/modules/locale/tests/src/Functional/LocalesLocationAddIndexUpdateTest.php Set database dump files to be used.
MailDsnSettingsUpdateTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/MailDsnSettingsUpdateTest.php Set database dump files to be used.
MediaSettingsDefaultIframeDomainUpdateTest::setDatabaseDumpFiles function core/modules/media/tests/src/Functional/Update/MediaSettingsDefaultIframeDomainUpdateTest.php Set database dump files to be used.
MenuLinksetSettingsUpdateTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/MenuLinksetSettingsUpdateTest.php Set database dump files to be used.
MenuTreeStorageSchemaUpdateTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/MenuTreeStorageSchemaUpdateTest.php Set database dump files to be used.
Mysql8RequirePrimaryKeyUpdateTest::setDatabaseDumpFiles function core/modules/mysql/tests/src/Functional/Mysql8RequirePrimaryKeyUpdateTest.php Set database dump files to be used.
NullDescriptionTest::setDatabaseDumpFiles function core/modules/taxonomy/tests/src/Functional/Update/NullDescriptionTest.php Set database dump files to be used.
NullHelpAndDescriptionTest::setDatabaseDumpFiles function core/modules/node/tests/src/Functional/Update/NullHelpAndDescriptionTest.php Set database dump files to be used.
OembedUpdateTest::setDatabaseDumpFiles function core/modules/media/tests/src/Functional/FieldFormatter/OembedUpdateTest.php Set database dump files to be used.
OliveroPostUpdateTest::setDatabaseDumpFiles function core/themes/olivero/tests/src/Functional/Update/OliveroPostUpdateTest.php Set database dump files to be used.
PasswordCompatibilityUpdateTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/PasswordCompatibilityUpdateTest.php Set database dump files to be used.
PathAliasRevisionIndexesUpdatePathTest::setDatabaseDumpFiles function core/modules/path_alias/tests/src/Functional/Update/PathAliasRevisionIndexesUpdatePathTest.php Set database dump files to be used.
PathAliasUpdateTest::setDatabaseDumpFiles function core/modules/path_alias/tests/src/Functional/PathAliasUpdateTest.php Set database dump files to be used.
PostgreSqlSequenceUpdateTest::setDatabaseDumpFiles function core/modules/pgsql/tests/src/Functional/Database/PostgreSqlSequenceUpdateTest.php Set database dump files to be used.
PreventDowngradeTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/UpdateSystem/PreventDowngradeTest.php Set database dump files to be used.
ResponsiveImageLazyLoadUpdateTest::setDatabaseDumpFiles function core/modules/responsive_image/tests/src/Functional/ResponsiveImageLazyLoadUpdateTest.php Set database dump files to be used.
ResponsiveImageOrderMultipliersNumericallyUpdateTest::setDatabaseDumpFiles function core/modules/responsive_image/tests/src/Functional/ResponsiveImageOrderMultipliersNumericallyUpdateTest.php Set database dump files to be used.
SearchBlockPageIdUpdatePathTest::setDatabaseDumpFiles function core/modules/search/tests/src/Functional/Update/SearchBlockPageIdUpdatePathTest.php Set database dump files to be used.
SimpletestTestRunResultsStorage::setDatabasePrefix function core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php Sets the test database prefix of a test run in storage.
SqlContentEntityStorageRevisionDataCleanupTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/SqlContentEntityStorageRevisionDataCleanupTest.php Set database dump files to be used.
TestDrupal6SqlBase::setDatabase function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Tweaks Drupal6SqlBase to set a new database connection for tests.
TestDrupalSqlBase::setDatabase function core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php Tweaks DrupalSqlBase to set a new database connection for tests.
TestRun::setDatabasePrefix function core/lib/Drupal/Core/Test/TestRun.php Sets the test database prefix.
TestRunResultsStorageInterface::setDatabasePrefix function core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php Sets the test database prefix of a test run in storage.
TestSqlBase::setDatabase function core/modules/migrate/tests/src/Unit/SqlBaseTest.php Allows us to set the database during tests.
UpdatePathTest::setDatabaseDumpFiles function core/modules/dblog/tests/src/Functional/UpdatePathTest.php Set database dump files to be used.
UpdatePathTestBase::setDatabaseDumpFiles function core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php Set database dump files to be used.

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