pageLayoutBuilder = $pageLayoutBuilder; } /** * @inheritdoc */ public function toOptionArray() { $configOptions = $this->pageLayoutBuilder->getPageLayoutsConfig()->getOptions(); $options = []; foreach ($configOptions as $key => $value) { $options[] = [ 'label' => $value, 'value' => $key, ]; } $this->options = $options; return $options; } }