protected function setUp(): void
{ parent::
setUp();
$section_data =
[ new Section('layout_test_plugin',
[],
[ '10000000-0000-1000-a000-000000000000' =>
new SectionComponent('10000000-0000-1000-a000-000000000000', 'content',
['id' => 'foo'
]),
]),
new Section('layout_test_plugin',
['setting_1' => 'bar'
],
[ '20000000-0000-1000-a000-000000000000' =>
new SectionComponent('20000000-0000-1000-a000-000000000000', 'content',
['id' => 'foo'
]),
]),
];
$this->sectionList =
$this->
getSectionList($section_data);
} /**
* Sets up the section list.
*
* @param array $section_data
* An array of section data.
*
* @return \Drupal\layout_builder\SectionListInterface
* The section list.
*/