function format_number_menu in Format Number API 6
Same name and namespace in other branches
- 7 format_number.module \format_number_menu()
Implementation of hook_menu().
File
- ./
format_number.module, line 36 - This module provides a method to configure number formats (site default and user defined) with configurable decimal point and thousand separators. It also exposes several functions that can be used by other contributed or custom modules to display…
Code
function format_number_menu() {
$items = array();
$items['admin/settings/format_number'] = array(
'title' => 'Number format',
'description' => 'Configure site wide number format settings.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'format_number_settings_site',
),
'access arguments' => array(
'configure default number format',
),
'file' => 'format_number.settings.inc',
);
return $items;
}