You are here

function civicrm_entity_profile_menu in CiviCRM Entity 7.2

Implements hook_menu(). code example taken from https://www.drupal.org/project/multiple_fields_remove_button module

File

modules/civicrm_entity_profile/civicrm_entity_profile.module, line 15

Code

function civicrm_entity_profile_menu() {
  $items = array();
  $items['civicrm_entity_profile_multiple_fields_remove_button/ajax'] = array(
    'title' => 'Remove item callback',
    'page callback' => 'civicrm_entity_profile_multiple_fields_remove_button_js',
    'delivery callback' => 'ajax_deliver',
    'access callback' => TRUE,
    'theme callback' => 'ajax_base_page_theme',
    'type' => MENU_CALLBACK,
  );
  return $items;
}