function SectionStorageTestBase::setUp

Same name in other branches
  1. 8.9.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.