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
TaxonomyTestBase::setUp function core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTestBase.php Sets up the test.
TaxonomyTranslationTestTrait::setupLanguages function core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php Adds additional languages.
TaxonomyTranslationTestTrait::setUpTermReferenceField function core/modules/taxonomy/tests/src/Functional/TaxonomyTranslationTestTrait.php Adds term reference field for the article content type.
TaxonomyViewsFieldAccessTest::setUp function core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyViewsFieldAccessTest.php
TaxonomyVocabularyArgumentTest::setUp function core/modules/taxonomy/tests/src/Functional/Views/TaxonomyVocabularyArgumentTest.php Sets up the test.
TelephoneFieldTest::setUp function core/modules/telephone/tests/src/Functional/TelephoneFieldTest.php
TelephoneItemTest::setUp function core/modules/telephone/tests/src/Kernel/TelephoneItemTest.php Set the default field storage backend for fields created during tests.
TemplateProjectTestBase::setUp function core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php
TemplateProjectTestBase::setUpstreamCoreVersion function core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php Sets the version of Drupal core to which the test site will be updated.
TemporaryJsonapiFileFieldUploaderTest::setUp function core/modules/jsonapi/tests/src/Kernel/Controller/TemporaryJsonapiFileFieldUploaderTest.php
TermAutocompleteTest::setUp function core/modules/taxonomy/tests/src/Functional/TermAutocompleteTest.php
TermContextTest::setUp function core/modules/taxonomy/tests/src/Kernel/ContextProvider/TermContextTest.php
TermEntityReferenceTest::setUp function core/modules/taxonomy/tests/src/Kernel/TermEntityReferenceTest.php
TermHierarchyValidationTest::setUp function core/modules/taxonomy/tests/src/Kernel/TermHierarchyValidationTest.php
TermIndexTest::setUp function core/modules/taxonomy/tests/src/Functional/TermIndexTest.php
TermKernelTest::setUp function core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php
TermLanguageTest::setUp function core/modules/taxonomy/tests/src/Functional/TermLanguageTest.php
TermParentsTest::setUp function core/modules/taxonomy/tests/src/Functional/TermParentsTest.php
TermResourceTestBase::setUpAuthorization function core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php Sets up the necessary authorization.
TermTest::setUp function core/modules/taxonomy/tests/src/Functional/TermTest.php
TermTest::setUpAuthorization function core/modules/jsonapi/tests/src/Functional/TermTest.php Sets up the necessary authorization.
TermTest::setUpRevisionAuthorization function core/modules/jsonapi/tests/src/Functional/TermTest.php Sets up the necessary authorization for handling revisions.
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.

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