You are here

protected function SectionStorageTestBase::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/tests/src/Kernel/SectionStorageTestBase.php \Drupal\Tests\layout_builder\Kernel\SectionStorageTestBase::setUp()

Overrides SectionListTestBase::setUp

File

core/modules/layout_builder/tests/src/Kernel/SectionStorageTestBase.php, line 27

Class

SectionStorageTestBase
Provides a base class for testing implementations of section storage.

Namespace

Drupal\Tests\layout_builder\Kernel

Code

protected function setUp() : void {
  parent::setUp();

  // Provide backwards compatibility.
  $this->sectionStorage = $this->sectionList;
}