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