function accessibility_theming_page_build

cis7 accessibility_theming.module accessibility_theming_page_build(&$page)
cle7 accessibility_theming.module accessibility_theming_page_build(&$page)
elmsmedia7 accessibility_theming.module accessibility_theming_page_build(&$page)
icor7 accessibility_theming.module accessibility_theming_page_build(&$page)
meedjum_blog7 accessibility_theming.module accessibility_theming_page_build(&$page)
mooc7 accessibility_theming.module accessibility_theming_page_build(&$page)

Implements hook_init().

File

sites/all/modules/ulmus/accessibility/modules/accessibility_theming/accessibility_theming.module, line 16

Code

function accessibility_theming_page_build(&$page) {
  if (!user_access('access accessibility theming')) {
    return;
  }
  accessibility_load();
  drupal_add_js(drupal_get_path('module', 'accessibility_theming') . '/js/accessibility_theming.js');
  drupal_add_css(drupal_get_path('module', 'accessibility_theming') . '/css/accessibility_theming.css');
}
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.