function accessibility_test_access

cis7 accessibility.module accessibility_test_access($op, $test)
cle7 accessibility.module accessibility_test_access($op, $test)
elmsmedia7 accessibility.module accessibility_test_access($op, $test)
icor7 accessibility.module accessibility_test_access($op, $test)
meedjum_blog7 accessibility.module accessibility_test_access($op, $test)
mooc7 accessibility.module accessibility_test_access($op, $test)

Access callback for accessibility test entities.

2 calls to accessibility_test_access()

File

sites/all/modules/ulmus/accessibility/accessibility.module, line 165

Code

function accessibility_test_access($op, $test) {
  if ($op == 'edit' || $op == 'delete') {
    return user_access('administer accessibility tests');
  }
  return user_access('view accessibility tests');
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.