sectionStore = $sectionStore; } public function configureIndex(): array { return $this->addSectionToFieldArrayIfOutOfSection($this->section, [ 'id', 'title', 'isMain', 'status' ]); } public function configurePanelMain(): array { return array_merge(['section'], parent::configurePanelMain()); } }