You are here

function wsconfig_modules_enabled in Web Service Data 7

Implements hook_modules_enabled().

File

modules/wsconfig/wsconfig.module, line 29
Main module for wsconfig

Code

function wsconfig_modules_enabled($modules) {

  // @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
  variable_set('wsconfig_connectors', $connectors);

  // @todo see if we should store each processor separately in its own table
  $processors = module_invoke_all('wsconfig_processor_info');
  variable_set('wsconfig_processors', $processors);
}