function OverridesSectionStorageTest::setUp
Overrides KernelTestBase::setUp
File
-
core/
modules/ layout_builder/ tests/ src/ Kernel/ OverridesSectionStorageTest.php, line 50
Class
- OverridesSectionStorageTest
- @coversDefaultClass \Drupal\layout_builder\Plugin\SectionStorage\OverridesSectionStorage[[api-linebreak]]
Namespace
Drupal\Tests\layout_builder\KernelCode
protected function setUp() : void {
parent::setUp();
$this->setUpCurrentUser();
$this->installEntitySchema('entity_test');
$definition = $this->container
->get('plugin.manager.layout_builder.section_storage')
->getDefinition('overrides');
$this->plugin = OverridesSectionStorage::create($this->container, [], 'overrides', $definition);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.