protected function QuickEditTestBase::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/modules/quickedit/tests/src/Kernel/QuickEditTestBase.php \Drupal\Tests\quickedit\Kernel\QuickEditTestBase::setUp()
Sets the default field storage backend for fields created during tests.
Overrides KernelTestBase::setUp
5 calls to QuickEditTestBase::setUp()
- EditorIntegrationTest::setUp in core/
modules/ quickedit/ tests/ src/ Kernel/ EditorIntegrationTest.php - Sets the default field storage backend for fields created during tests.
- EditorSelectionTest::setUp in core/
modules/ quickedit/ tests/ src/ Kernel/ EditorSelectionTest.php - Sets the default field storage backend for fields created during tests.
- EditorSelectionTest::setUp in core/
modules/ quickedit/ tests/ src/ Kernel/ EditorSelectionTest.php - Sets the default field storage backend for fields created during tests.
- MetadataGeneratorTest::setUp in core/
modules/ quickedit/ tests/ src/ Kernel/ MetadataGeneratorTest.php - Sets the default field storage backend for fields created during tests.
- MetadataGeneratorTest::setUp in core/
modules/ quickedit/ tests/ src/ Kernel/ MetadataGeneratorTest.php - Sets the default field storage backend for fields created during tests.
3 methods override QuickEditTestBase::setUp()
- EditorIntegrationTest::setUp in core/
modules/ quickedit/ tests/ src/ Kernel/ EditorIntegrationTest.php - Sets the default field storage backend for fields created during tests.
- EditorSelectionTest::setUp in core/
modules/ quickedit/ tests/ src/ Kernel/ EditorSelectionTest.php - Sets the default field storage backend for fields created during tests.
- MetadataGeneratorTest::setUp in core/
modules/ quickedit/ tests/ src/ Kernel/ MetadataGeneratorTest.php - Sets the default field storage backend for fields created during tests.
File
- core/
modules/ quickedit/ tests/ src/ Kernel/ QuickEditTestBase.php, line 46
Class
- QuickEditTestBase
- Base class for testing Quick Edit functionality.
Namespace
Drupal\Tests\quickedit\KernelCode
protected function setUp() {
parent::setUp();
$this->fields = new \ArrayObject([], \ArrayObject::ARRAY_AS_PROPS);
$this
->installEntitySchema('user');
$this
->installEntitySchema('entity_test');
$this
->installConfig([
'field',
'filter',
]);
}