function wsconfig_wsdata_access_check in Web Service Data 7
Check for access.
1 string reference to 'wsconfig_wsdata_access_check'
- wsdata.inc in modules/
wsconfig/ plugins/ access/ wsdata.inc
File
- modules/
wsconfig/ plugins/ access/ wsdata.inc, line 47
Code
function wsconfig_wsdata_access_check($conf, $context) {
$data = ctools_context_convert_context($context, $conf['selector']);
return $data == $conf['value'];
}