public function get_config($item = null) { $config = parent::get_config($item); $config['widget_type'] = $this->get_name(); return $config; }