protected function TextWithSummaryItemTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php \Drupal\Tests\text\Kernel\TextWithSummaryItemTest::setUp()
Set the default field storage backend for fields created during tests.
Overrides FieldKernelTestBase::setUp
File
- core/
modules/ text/ tests/ src/ Kernel/ TextWithSummaryItemTest.php, line 40
Class
- TextWithSummaryItemTest
- Tests using entity fields of the text summary field type.
Namespace
Drupal\Tests\text\KernelCode
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('entity_test_rev');
// Create the necessary formats.
$this
->installConfig([
'filter',
]);
FilterFormat::create([
'format' => 'no_filters',
'filters' => [],
])
->save();
}