function TaxonomyTestBase::setUp
Same name in this branch
- 10 core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyTestBase.php \Drupal\Tests\taxonomy\Kernel\Views\TaxonomyTestBase::setUp()
- 10 core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTestBase.php \Drupal\Tests\taxonomy\Functional\Views\TaxonomyTestBase::setUp()
Same name in other branches
- 9 core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyTestBase.php \Drupal\Tests\taxonomy\Kernel\Views\TaxonomyTestBase::setUp()
- 9 core/modules/taxonomy/tests/src/Functional/TaxonomyTestBase.php \Drupal\Tests\taxonomy\Functional\TaxonomyTestBase::setUp()
- 9 core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTestBase.php \Drupal\Tests\taxonomy\Functional\Views\TaxonomyTestBase::setUp()
- 8.9.x core/modules/taxonomy/src/Tests/TaxonomyTestBase.php \Drupal\taxonomy\Tests\TaxonomyTestBase::setUp()
- 8.9.x core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyTestBase.php \Drupal\Tests\taxonomy\Kernel\Views\TaxonomyTestBase::setUp()
- 8.9.x core/modules/taxonomy/tests/src/Functional/TaxonomyTestBase.php \Drupal\Tests\taxonomy\Functional\TaxonomyTestBase::setUp()
- 8.9.x core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTestBase.php \Drupal\Tests\taxonomy\Functional\Views\TaxonomyTestBase::setUp()
- 11.x core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyTestBase.php \Drupal\Tests\taxonomy\Kernel\Views\TaxonomyTestBase::setUp()
- 11.x core/modules/taxonomy/tests/src/Functional/TaxonomyTestBase.php \Drupal\Tests\taxonomy\Functional\TaxonomyTestBase::setUp()
- 11.x core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTestBase.php \Drupal\Tests\taxonomy\Functional\Views\TaxonomyTestBase::setUp()
Overrides BrowserTestBase::setUp
17 calls to TaxonomyTestBase::setUp()
- EarlyDateTest::setUp in core/
modules/ taxonomy/ tests/ src/ Functional/ EarlyDateTest.php - RssTest::setUp in core/
modules/ taxonomy/ tests/ src/ Functional/ RssTest.php - TaxonomyImageTest::setUp in core/
modules/ taxonomy/ tests/ src/ Functional/ TaxonomyImageTest.php - TaxonomyTermContentModerationTest::setUp in core/
modules/ taxonomy/ tests/ src/ Functional/ TaxonomyTermContentModerationTest.php - TaxonomyTermIndentationTest::setUp in core/
modules/ taxonomy/ tests/ src/ Functional/ TaxonomyTermIndentationTest.php
17 methods override TaxonomyTestBase::setUp()
- EarlyDateTest::setUp in core/
modules/ taxonomy/ tests/ src/ Functional/ EarlyDateTest.php - RssTest::setUp in core/
modules/ taxonomy/ tests/ src/ Functional/ RssTest.php - TaxonomyImageTest::setUp in core/
modules/ taxonomy/ tests/ src/ Functional/ TaxonomyImageTest.php - TaxonomyTermContentModerationTest::setUp in core/
modules/ taxonomy/ tests/ src/ Functional/ TaxonomyTermContentModerationTest.php - TaxonomyTermIndentationTest::setUp in core/
modules/ taxonomy/ tests/ src/ Functional/ TaxonomyTermIndentationTest.php
File
-
core/
modules/ taxonomy/ tests/ src/ Functional/ TaxonomyTestBase.php, line 27
Class
- TaxonomyTestBase
- Provides common helper methods for Taxonomy module tests.
Namespace
Drupal\Tests\taxonomy\FunctionalCode
protected function setUp() : void {
parent::setUp();
$this->drupalPlaceBlock('system_breadcrumb_block');
// Create Basic page and Article node types.
if ($this->profile != 'standard') {
$this->drupalCreateContentType([
'type' => 'article',
'name' => 'Article',
]);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.