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 11.x for setup
  5. Other projects
Title Object type File name Summary
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::getDatabaseConnection function core/lib/Drupal/Core/Test/TestSetupTrait.php Returns the database connection to the site under 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.
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

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