function ajaxblocks_menu in Ajax Blocks 6
Same name and namespace in other branches
- 7 ajaxblocks.module \ajaxblocks_menu()
Implements hook_menu().
File
- ./
ajaxblocks.module, line 11 - Loads dynamic blocks on cached page for anonymous users by performing AJAX request.
Code
function ajaxblocks_menu() {
$items = array();
$items['ajaxblocks'] = array(
'title' => 'Ajax blocks',
'page callback' => 'ajaxblocks_ajax_handler',
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
);
return $items;
}