You are here

function wsconfig_context_create_wsconfig in Web Service Data 7

1 string reference to 'wsconfig_context_create_wsconfig'
wsconfig.inc in modules/wsconfig/plugins/contexts/wsconfig.inc

File

modules/wsconfig/plugins/contexts/wsconfig.inc, line 18

Code

function wsconfig_context_create_wsconfig($empty, $data = NULL, $conf = FALSE) {
  $context = new ctools_context('wsconfig');
  $context->plugin = 'wsconfig';
  $context->data['conf'] = $data;
  $context->data['wsdata_run'] = FALSE;
  $context->empty = $empty;
  return $context;
}