function fape_menu in Field API Pane Editor (FAPE) 7
Implements hook_menu()
File
- ./
fape.module, line 11 - Adds direct field editing via contextual links.
Code
function fape_menu() {
$items = array();
$items['admin/field/edit/%/%/%'] = array(
// Access is controlled after we have inspected the entity which
// can't easily happen until the callback.
'access arguments' => array(
TRUE,
),
'access callback' => TRUE,
'page callback' => 'fape_field_edit_page',
'page arguments' => array(
3,
4,
5,
),
);
return $items;
}