function EntityDisplayModeTest::setUp
Same name in other branches
- 9 core/modules/field_ui/tests/src/Functional/EntityDisplayModeTest.php \Drupal\Tests\field_ui\Functional\EntityDisplayModeTest::setUp()
- 10 core/modules/field_ui/tests/src/Functional/EntityDisplayModeTest.php \Drupal\Tests\field_ui\Functional\EntityDisplayModeTest::setUp()
- 11.x core/modules/field_ui/tests/src/Functional/EntityDisplayModeTest.php \Drupal\Tests\field_ui\Functional\EntityDisplayModeTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ field_ui/ tests/ src/ Functional/ EntityDisplayModeTest.php, line 32
Class
- EntityDisplayModeTest
- Tests the entity display modes UI.
Namespace
Drupal\Tests\field_ui\FunctionalCode
protected function setUp() {
parent::setUp();
// Create a node type.
$this->drupalCreateContentType([
'type' => 'article',
'name' => 'Article',
]);
$this->drupalPlaceBlock('local_actions_block');
$this->drupalPlaceBlock('page_title_block');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.