You are here

function checklistapi_init in Checklist API 7

Implements hook_init().

File

./checklistapi.module, line 96
An API for creating fillable, persistent checklists.

Code

function checklistapi_init() {

  // Disable page caching on all Checklist API module paths.
  $module_paths = array_keys(checklistapi_menu());
  if (in_array(current_path(), $module_paths)) {
    drupal_page_is_cacheable(FALSE);
  }
}