Search for set

  1. Search 7.x for set
  2. Search 9.5.x for set
  3. Search 8.9.x for set
  4. Search 10.3.x for set
  5. Other projects
Title Object type File name Summary
TestRunResultsStorageInterface::setDatabasePrefix function core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php Sets the test database prefix of a test run in storage.
TestRunTest::setUp function core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php
TestSandboxDatabaseUpdatesValidator::setExtensionsWithUpdates function core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestSandboxDatabaseUpdatesValidator.php Sets the names of the extensions which should have staged database updates.
TestSandboxDatabaseUpdatesValidator::setState function core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestSandboxDatabaseUpdatesValidator.php Sets the state service dependency.
TestSectionList::setSections function core/modules/layout_builder/tests/src/Kernel/SectionListTraitTest.php Stores the information for all sections.
TestSelection::setTestMode function core/modules/block_content/tests/modules/block_content_test/src/Plugin/EntityReferenceSelection/TestSelection.php Sets the test mode.
TestSessionBag::setFlag function core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php Sets the test flag.
TestSettingsValidationBlock class core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php Provides a test settings validation block.
TestSettingsValidationBlock.php file core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php
TestSettingsValidationBlock::blockForm function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php
TestSettingsValidationBlock::blockValidate function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php
TestSettingsValidationBlock::build function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestSettingsValidationBlock.php Builds and returns the renderable array for this block plugin.
TestSetupInterface interface core/tests/Drupal/TestSite/TestSetupInterface.php Allows setting up an environment as part of a test site install.
TestSetupInterface.php file core/tests/Drupal/TestSite/TestSetupInterface.php
TestSetupInterface::setup function core/tests/Drupal/TestSite/TestSetupInterface.php Run the code to setup the test environment.
TestSetupTrait trait core/lib/Drupal/Core/Test/TestSetupTrait.php Provides a trait for shared test setup functionality.
TestSetupTrait.php file core/lib/Drupal/Core/Test/TestSetupTrait.php
TestSetupTrait::$configSchemaCheckerExclusions property core/lib/Drupal/Core/Test/TestSetupTrait.php An array of config object names that are excluded from schema checking.
TestSetupTrait::$databasePrefix property core/lib/Drupal/Core/Test/TestSetupTrait.php The database prefix of this test run.
TestSetupTrait::$kernel property core/lib/Drupal/Core/Test/TestSetupTrait.php The DrupalKernel instance used in the test.
TestSetupTrait::$originalSite property core/lib/Drupal/Core/Test/TestSetupTrait.php The site directory of the original parent site.
TestSetupTrait::$privateContainer property core/lib/Drupal/Core/Test/TestSetupTrait.php Stores the container in case it is set before available with \Drupal.
TestSetupTrait::$privateFilesDirectory property core/lib/Drupal/Core/Test/TestSetupTrait.php The private file directory for the test environment.
TestSetupTrait::$publicFilesDirectory property core/lib/Drupal/Core/Test/TestSetupTrait.php The public file directory for the test environment.
TestSetupTrait::$root property core/lib/Drupal/Core/Test/TestSetupTrait.php The app root.
TestSetupTrait::$siteDirectory property core/lib/Drupal/Core/Test/TestSetupTrait.php The site directory of this test run.
TestSetupTrait::$strictConfigSchema property core/lib/Drupal/Core/Test/TestSetupTrait.php Set to TRUE to strict check all configuration saved.
TestSetupTrait::$tempFilesDirectory property core/lib/Drupal/Core/Test/TestSetupTrait.php The temporary file directory for the test environment.
TestSetupTrait::$testId property core/lib/Drupal/Core/Test/TestSetupTrait.php The test run ID.
TestSetupTrait::changeDatabasePrefix function core/lib/Drupal/Core/Test/TestSetupTrait.php Changes the database connection to the prefixed one.
TestSetupTrait::getConfigSchemaExclusions function core/lib/Drupal/Core/Test/TestSetupTrait.php Gets the config schema exclusions for this test.
TestSetupTrait::prepareDatabasePrefix function core/lib/Drupal/Core/Test/TestSetupTrait.php Generates a database prefix for running tests.
TestSetupTrait::__get function core/lib/Drupal/Core/Test/TestSetupTrait.php Implements the magic method for getting object properties.
TestSetupTrait::__set function core/lib/Drupal/Core/Test/TestSetupTrait.php Implements the magic method for setting object properties.
TestSetupTraitTest class core/tests/Drupal/Tests/Core/Test/TestSetupTraitTest.php Tests the TestSetupTrait trait.
TestSetupTraitTest.php file core/tests/Drupal/Tests/Core/Test/TestSetupTraitTest.php
TestSetupTraitTest::testChangeDatabasePrefix function core/tests/Drupal/Tests/Core/Test/TestSetupTraitTest.php Tests the SIMPLETEST_DB environment variable is used.
TestSiteApplicationTest::setUp function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php
TestSiteApplicationTest::testInstallWithNonSetupClass function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php Tests install with non setup class.
TestSiteClaroInstallTestScript::setup function core/tests/Drupal/TestSite/TestSiteClaroInstallTestScript.php Run the code to setup the test environment.
TestSiteInstallCommand::executeSetupClass function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Uses the setup file to configure Drupal.
TestSiteInstallCommand::getSetupClass function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Gets the setup class.
TestSiteInstallCommand::setup function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Creates a test drupal installation.
TestSiteInstallTestScript::setup function core/tests/Drupal/TestSite/TestSiteInstallTestScript.php Run the code to setup the test environment.
TestSiteMultilingualInstallTestScript::setup function core/tests/Drupal/TestSite/TestSiteMultilingualInstallTestScript.php Run the code to setup the test environment.
TestSiteOliveroInstallTestScript::setup function core/tests/Drupal/TestSite/TestSiteOliveroInstallTestScript.php Run the code to setup the test environment.
TestSqlBase::setConfiguration function core/modules/migrate/tests/src/Kernel/SqlBaseTest.php Allows us to set the configuration from a test.
TestSqlBase::setDatabase function core/modules/migrate/tests/src/Unit/SqlBaseTest.php Allows us to set the database during tests.
TestSqlBase::setIds function core/modules/migrate/tests/src/Unit/SqlBaseTest.php Allows us to set the IDs during a test.
TestSqlBase::setMigration function core/modules/migrate/tests/src/Unit/SqlBaseTest.php Allows us to set the migration during the test.

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