function wsconfig_modules_disabled in Web Service Data 7
Implements hook_modules_disabled().
File
- modules/
wsconfig/ wsconfig.module, line 45 - Main module for wsconfig
Code
function wsconfig_modules_disabled($modules) {
// Load list of processors
$processors = module_invoke_all('wsconfig_processor_info');
// Save them
variable_set('wsconfig_processors', $processors);
// @todo report on any fields/entities which were dependant on that processor
// @todo check for any removed module which register hook_wsconfig_connector_info().
// @todo check for any new modules which register hook_wsconfig_connector_info().
$connectors = module_invoke_all('wsconfig_connector_info');
// @todo see if we should store each connector separately in its own table
// @todo should we use ctools API to define our API?
variable_set('wsconfig_connectors', $connectors);
// @todo Add report listing fields which no longer have a valid connector
}