'home', 'label' => __('HomePage Only')],['value' => 'all', 'label' => __('All Pages')]]; } public function toArray() { return ['home' => __('HomePage Only'),'all' => __('All Pages')]; } }