You are here

function wsconfig_wsdata_access_settings in Web Service Data 7

Settings form.

1 string reference to 'wsconfig_wsdata_access_settings'
wsdata.inc in modules/wsconfig/plugins/access/wsdata.inc

File

modules/wsconfig/plugins/access/wsdata.inc, line 25

Code

function wsconfig_wsdata_access_settings($form, &$form_state, $conf) {
  $form['settings']['selector'] = array(
    '#type' => 'textfield',
    '#title' => t('Data to select'),
    '#description' => t('Path to data'),
    '#default_value' => isset($conf['selector']) ? $conf['selector'] : '',
  );
  $form['settings']['value'] = array(
    '#type' => 'textfield',
    '#title' => t('Value'),
    '#description' => t('is equal to'),
    '#default_value' => isset($conf['value']) ? $conf['value'] : '',
  );
  return $form;
}