function BlockContentSaveTest::setUp
Same name in other branches
- 9 core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php \Drupal\Tests\block_content\Functional\BlockContentSaveTest::setUp()
- 8.9.x core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php \Drupal\Tests\block_content\Functional\BlockContentSaveTest::setUp()
- 11.x core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php \Drupal\Tests\block_content\Functional\BlockContentSaveTest::setUp()
Sets the test up.
Overrides BlockContentTestBase::setUp
File
-
core/
modules/ block_content/ tests/ src/ Functional/ BlockContentSaveTest.php, line 29
Class
- BlockContentSaveTest
- Tests $block_content->save() for saving content.
Namespace
Drupal\Tests\block_content\FunctionalCode
protected function setUp() : void {
parent::setUp();
$this->drupalLogin($this->adminUser);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.