In access callback for the menu item to add form
$items['claim/add/%claim_typ...

Contribution Date
Technology
Contribution Project
Contribution Details

In access callback for the menu item to add form

$items['claim/add/%claim_type/%'] = array( 'title' => 'claim entity', 'title callback' => 'entity_claim_title_callback', 'title arguments' => array(2, 3), 'page callback' => 'drupal_get_form', 'page arguments' => array('entity_claim_add_form', 2, 3), 'access callback' => 'entity_claim_add_access',
Contribution Author
Files count
0
Patches count
0