function sharemessage_test_menu in Share Message 7
Implements hook_menu().
File
- tests/
modules/ sharemessage_test/ sharemessage_test.module, line 12 - ShareMessage Tests Module.
Code
function sharemessage_test_menu() {
$items = array();
$items['sharemessage-test/%sharemessage'] = array(
'title callback' => 'entity_label',
'title arguments' => array(
'sharemessage',
1,
),
'page callback' => 'sharemessage_view',
'page arguments' => array(
1,
),
'access callback' => 'sharemessage_access',
'access arguments' => array(
'view',
1,
),
);
return $items;
}