'\planetstyles\flightdeck\acp\main_module', 'modes' => array('settings'), ), )), ); } public function revert_data() { return array( array('custom', array(array($this, 'clean_style_configs'))), ); } public function clean_style_configs() { foreach ($this->config as $key => $value) { if (strpos($key, 'style_settings_config_') === 0) { $this->config->delete($key); } } } }