function popup_elements() { $slider_options = FusionHelper::get_revslider_slides(); $this->config['subElements'] = array(array("name" => __('Select Slider', 'fusion-core'), "desc" => __('Select a slider group', 'fusion-core'), "id" => "fusion_revslider", "type" => ElementTypeEnum::SELECT, "value" => "", "allowedValues" => $slider_options)); }