/** * Get options * * @return array */ public function toOptionArray() { $options[] = ['label' => '', 'value' => '']; return $options + $this->themeList->getLabels(); }
/** * Get options * * @return array */ public function toOptionArray() { $options[] = ['label' => 'Default', 'value' => '']; return array_merge($options, $this->themeList->getLabels()); }
/** * Return list of themes * * @return array */ public function toOptionArray() { return $this->list->getLabels(); }