protected function EntityDisplayModeTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 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');
}