function accessibility_menu

cis7 accessibility.module accessibility_menu()
cle7 accessibility.module accessibility_menu()
elmsmedia7 accessibility.module accessibility_menu()
icor7 accessibility.module accessibility_menu()
meedjum_blog7 accessibility.module accessibility_menu()
mooc7 accessibility.module accessibility_menu()

Implements hook_menu().

File

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

Code

function accessibility_menu() {
  $items['admin/config/accessibility'] = array(
    'title' => 'Accessibility',
    'description' => 'Configures how page content and themes are checked for accessibility.',
    'position' => 'right',
    'weight' => -20,
    'page callback' => 'system_admin_menu_block_page',
    'access arguments' => array('access administration pages'),
    'file' => 'system.admin.inc',
    'file path' => drupal_get_path('module', 'system'),
  );

  $items['admin/config/accessibility/tests'] = array(
    'title' => 'Accessibility tests',
    'description' => 'View existing and create new accessibility tests.',
    'page callback' => 'accessibility_admin_existing_tests',
    'file' => 'accessibility.admin.inc',
    'access arguments' => array('administer accessibility tests'),
  );

  $items['admin/config/accessibility/tests/tests'] = array(
    'title' => 'Tests',
    'page callback' => 'accessibility_admin_existing_tests',
    'file' => 'accessibility.admin.inc',
    'access arguments' => array('administer accessibility tests'),
    'weight' => -20,
    'type' => MENU_DEFAULT_LOCAL_TASK,
  );

  $items['admin/config/accessibility/tests/import'] = array(
    'title' => 'Import tests',
    'description' => 'Import and create new accessibility tests.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array('accessibility_tests_list'),
    'file' => 'accessibility.admin.inc',
    'access arguments' => array('administer accessibility tests'),
    'type' => MENU_LOCAL_TASK,
  );

  $items['accessibility-test/%accessibility_test/json'] = array(
    'title callback' => 'accessibility_test_page_title',
    'title arguments' => array(1),
    'page callback' => 'accessibility_test_page_view_json',
    'page arguments' => array(1),
    'access arguments' => array('view accessibility tests'),
    'type' => MENU_CALLBACK,
  );

  $items['accessibility-test/%accessibility_test'] = array(
    'title callback' => 'accessibility_test_page_title',
    'title arguments' => array(1),
    'page callback' => 'accessibility_test_page_view',
    'page arguments' => array(1),
    'access arguments' => array('view accessibility tests'),
  );

  $items['accessibility-test/%accessibility_test/view'] = array(
    'title' => 'View',
    'page callback' => 'accessibility_test_page_view',
    'page arguments' => array(1),
    'access arguments' => array('view accessibility tests'),
    'type' => MENU_DEFAULT_LOCAL_TASK,
    'weight' => -10,
  );

  $items['accessibility-test/%accessibility_test/edit'] = array(
    'title' => 'Edit',
    'page callback' => 'drupal_get_form',
    'page arguments' => array('accessibility_test_edit_form', 1),
    'access arguments' => array('administer accessibility tests'),
    'type' => MENU_LOCAL_TASK,
  );

  $items['accessibility-test/%accessibility_test/delete'] = array(
    'page callback' => 'drupal_get_form',
    'page arguments' => array('accessibility_test_delete_form', 1),
    'access arguments' => array('administer accessibility tests'),
  );

  $items['accessibility-test/add'] = array(
    'title' => 'Add accessibility test',
    'page callback' => 'accessibility_test_add',
    'access arguments' => array('administer accessibility tests'),
  );

  $items['js/accessibility/tests.json'] = array(
    'title' => 'Accessibility tests',
    'page callback' => 'accessibility_tests_json',
    'access arguments' => array('view accessibility tests'),
    'file' => 'accessibility.pages.inc',
    'type' => MENU_CALLBACK,
  );

  return $items;
}
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.