function simplecrop_menu in SimpleCrop 7
Implements hook_menu().
File
- ./
simplecrop.module, line 30 - Contains main hook definitions for SimpleCrop module.
Code
function simplecrop_menu() {
$items['simplecrop/ajax'] = array(
'page callback' => 'simplecrop_ajax_rebuild_image',
'delivery callback' => 'ajax_deliver',
'access arguments' => array(
'access content',
),
'theme callback' => 'ajax_base_page_theme',
'file' => 'simplecrop.pages.inc',
'file path' => drupal_get_path('module', 'simplecrop') . '/includes',
'type' => MENU_CALLBACK,
);
return $items;
}