function BlockContentTestBase::setUp
Sets the test up.
Overrides BrowserTestBase::setUp
6 calls to BlockContentTestBase::setUp()
- BlockContentCreationTest::setUp in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentCreationTest.php - Sets the test up.
- BlockContentRevisionsTest::setUp in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentRevisionsTest.php - Sets the test up.
- BlockContentSaveTest::setUp in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentSaveTest.php - Sets the test up.
- BlockContentTypeTest::setUp in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentTypeTest.php - Sets the test up.
- BlockContentWizardTest::setUp in core/
modules/ block_content/ tests/ src/ Functional/ Views/ BlockContentWizardTest.php - Sets the test up.
6 methods override BlockContentTestBase::setUp()
- BlockContentCreationTest::setUp in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentCreationTest.php - Sets the test up.
- BlockContentRevisionsTest::setUp in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentRevisionsTest.php - Sets the test up.
- BlockContentSaveTest::setUp in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentSaveTest.php - Sets the test up.
- BlockContentTypeTest::setUp in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentTypeTest.php - Sets the test up.
- BlockContentWizardTest::setUp in core/
modules/ block_content/ tests/ src/ Functional/ Views/ BlockContentWizardTest.php - Sets the test up.
File
-
core/
modules/ block_content/ tests/ src/ Functional/ BlockContentTestBase.php, line 54
Class
- BlockContentTestBase
- Sets up block content types.
Namespace
Drupal\Tests\block_content\FunctionalCode
protected function setUp() {
parent::setUp();
if ($this->autoCreateBasicBlockType) {
$this->createBlockContentType('basic', TRUE);
}
$this->adminUser = $this->drupalCreateUser($this->permissions);
$this->drupalPlaceBlock('local_actions_block');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.