Search for setup

  1. Search 7.x for setup
  2. Search 9.5.x for setup
  3. Search 8.9.x for setup
  4. Search 10.3.x for setup
  5. Other projects
Title Object type File name Summary
TermTranslationFieldViewTest::setUp function core/modules/taxonomy/tests/src/Functional/TermTranslationFieldViewTest.php
TermTranslationFieldViewTest::setUpNode function core/modules/taxonomy/tests/src/Functional/TermTranslationFieldViewTest.php Creates a test subject node, with translation.
TermTranslationFieldViewTest::setUpTerm function core/modules/taxonomy/tests/src/Functional/TermTranslationFieldViewTest.php Creates a test subject term, with translation.
TermTranslationTest::setUp function core/modules/taxonomy/tests/src/Functional/TermTranslationTest.php
TermTranslationTest::setUpTerms function core/modules/taxonomy/tests/src/Functional/TermTranslationTest.php Setup translated terms in a hierarchy.
TermTranslationUITest::setUp function core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php
TermTranslationUITest::setupBundle function core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php Creates or initializes the bundle date if needed.
TermTranslationViewsTest::setUp function core/modules/taxonomy/tests/src/Functional/Views/TermTranslationViewsTest.php Sets up the test.
TermTranslationViewsTest::setUpTerms function core/modules/taxonomy/tests/src/Functional/Views/TermTranslationViewsTest.php Setup translated terms in a hierarchy.
TermValidationTest::setUp function core/modules/taxonomy/tests/src/Kernel/TermValidationTest.php
TestCoverageTest::setUp function core/modules/jsonapi/tests/src/Kernel/TestCoverageTest.php
TestDiscoveryTest::setupVfsWithTestClasses function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestItemTest::setUp function core/modules/field/tests/src/Kernel/TestItemTest.php Set the default field storage backend for fields created during tests.
TestMultiWidthLayoutsTest::setUp function core/modules/layout_builder/tests/src/FunctionalJavascript/TestMultiWidthLayoutsTest.php
TestObjectItemTest::setUp function core/modules/field/tests/src/Kernel/TestObjectItemTest.php Set the default field storage backend for fields created during tests.
TestRunTest::setUp function core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php
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::$container property core/lib/Drupal/Core/Test/TestSetupTrait.php The dependency injection container used in the test.
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::$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.
TestSetupTraitTest class core/tests/Drupal/Tests/Core/Test/TestSetupTraitTest.php Tests the TestSetupTrait trait.
TestSetupTraitTest class core/tests/Drupal/KernelTests/Core/Test/TestSetupTraitTest.php Tests the TestSetupTrait trait.
TestSetupTraitTest.php file core/tests/Drupal/KernelTests/Core/Test/TestSetupTraitTest.php
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.
TestSetupTraitTest::testGetDatabaseConnection function core/tests/Drupal/KernelTests/Core/Test/TestSetupTraitTest.php @covers ::getDatabaseConnection
@group legacy
TestSiteApplicationTest::setUp function core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php
TestSiteApplicationTest::testInstallWithNonSetupClass function core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php @coversNothing
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.

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