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
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::setUp function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php
TestSiteApplicationTest::testInstallWithNonSetupClass function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php @coversNothing
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.
TestSiteOliveroInstallTestScript::setup function core/tests/Drupal/TestSite/TestSiteOliveroInstallTestScript.php Run the code to setup the test environment.
TestViewsTest::setUp function core/modules/views/tests/src/Kernel/TestViewsTest.php
TextareaWithSummaryTest::setUp function core/modules/text/tests/src/FunctionalJavascript/TextareaWithSummaryTest.php
TextFieldTest::setUp function core/modules/text/tests/src/Unit/Plugin/migrate/field/d6/TextFieldTest.php
TextFieldTest::setUp function core/modules/text/tests/src/Unit/Plugin/migrate/field/d7/TextFieldTest.php
TextFieldTest::setUp function core/modules/text/tests/src/Functional/TextFieldTest.php
TextFormatElementFormTest::setUp function core/modules/filter/tests/src/Kernel/TextFormatElementFormTest.php Sets up the test.
TextFormatterTest::setUp function core/modules/text/tests/src/Kernel/TextFormatterTest.php
TextSummaryTest::setUp function core/modules/text/tests/src/Kernel/TextSummaryTest.php
TextWithSummaryItemTest::setUp function core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php Set the default field storage backend for fields created during tests.
ThemeHandlerTest::setUp function core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php
ThemeInfoTest::setUp function core/modules/system/tests/src/Functional/Theme/ThemeInfoTest.php
ThemeInstallerTest::setUp function core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php
ThemeNegotiatorTest::setUp function core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php
ThemeRenderAndAutoescapeTest::setUp function core/tests/Drupal/KernelTests/Core/Theme/ThemeRenderAndAutoescapeTest.php
ThemeSettingsFormTest::setUp function core/modules/system/tests/src/FunctionalJavascript/ThemeSettingsFormTest.php
ThemeSettingsTest::setUp function core/tests/Drupal/KernelTests/Core/Theme/ThemeSettingsTest.php
ThemeSuggestionsAlterTest::setUp function core/modules/system/tests/src/Functional/Theme/ThemeSuggestionsAlterTest.php
ThemeTest::setUp function core/modules/system/tests/src/Kernel/Theme/ThemeTest.php
ThemeTest::setUp function core/modules/system/tests/src/Functional/System/ThemeTest.php
ThemeTest::setUp function core/modules/system/tests/src/Functional/Theme/ThemeTest.php
ThemeTest::setUp function core/modules/taxonomy/tests/src/Functional/ThemeTest.php
ThemeTokenTest::setUp function core/modules/system/tests/src/Functional/Theme/ThemeTokenTest.php
ThemeUiTest::setUp function core/modules/system/tests/src/Functional/Theme/ThemeUiTest.php
TimestampAgoFormatterTest::setUp function core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php
TimestampFormatterTest::setUp function core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php

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