function farm_access_menu in farmOS 7
Implements hook_menu().
File
- modules/
farm/ farm_access/ farm_access.module, line 125 - Farm Access module.
Code
function farm_access_menu() {
// Access configuration form.
$items['admin/config/farm/access'] = array(
'title' => 'Access',
'description' => 'Access configuration settings.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'farm_access_settings_form',
),
'access arguments' => array(
'administer farm_access module',
),
);
return $items;
}