You are here

function ajax_form_entity_field_collection_menu in Ajax form entity 7.x

Same name and namespace in other branches
  1. 7 ajax_form_entity_field_collection/ajax_form_entity_field_collection.module \ajax_form_entity_field_collection_menu()

Implements hook_menu().

File

ajax_form_entity_field_collection/ajax_form_entity_field_collection.module, line 11
Provide formatter for ajax add / edition field collection.

Code

function ajax_form_entity_field_collection_menu() {
  $items = array();
  $items['ajax-form-entity-field-collection-cancel/%'] = array(
    'page callback' => 'ajax_form_entity_field_collection_cancel',
    'access callback' => 'user_access',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}