You are here

function ddf_menu in Dynamic dependent fields 7

Implements hook_menu().

File

./ddf.module, line 6

Code

function ddf_menu() {
  $items = array();
  $items['ddf/update/%/%/%/%'] = array(
    'title' => 'Update dependent widget',
    'page callback' => 'ddf_update_callback',
    'page arguments' => array(
      2,
      3,
      4,
      5,
    ),
    'access callback' => 'ddf_update_access_callback',
    'access arguments' => array(
      2,
      3,
      4,
      5,
    ),
    'type' => MENU_CALLBACK,
    'delivery callback' => 'ajax_deliver',
  );
  return $items;
}