You are here

function asaf_menu in Asaf (ajax submit for any form) 8

Same name and namespace in other branches
  1. 7 asaf.module \asaf_menu()

File

./asaf.module, line 20
Main module file.

Code

function asaf_menu() {
  $items = array();
  $items['system/ajax/asaf/pagecache'] = array(
    'title' => 'ASAF callback',
    'page callback' => 'asaf_pagecache_form_callback',
    'delivery callback' => 'ajax_deliver',
    'access callback' => TRUE,
    'theme callback' => 'ajax_base_page_theme',
    'type' => MENU_CALLBACK,
    'file' => 'asaf.pages.inc',
  );
  return $items;
}