You are here

function format_number_menu in Format Number API 7

Same name and namespace in other branches
  1. 6 format_number.module \format_number_menu()

Implements hook_menu().

File

./format_number.module, line 40
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/config/regional/format_number'] = array(
    'title' => 'Number format',
    'description' => 'Configure site wide number format settings.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'format_number_site_settings_form',
    ),
    'access arguments' => array(
      'configure default number format',
    ),
    'file' => 'format_number.settings.inc',
  );
  return $items;
}