You are here

function units_ui_permission in Units of Measurement 7

Same name and namespace in other branches
  1. 7.2 units_ui.module \units_ui_permission()

Implements hook_permission().

File

./units_ui.module, line 11
Provide UI for managing available units and conversions between them.

Code

function units_ui_permission() {
  return array(
    'administer measures' => array(
      'title' => t('Administer measurements'),
      'description' => t('Add/edit/delete available physical measures.'),
    ),
    'administer units' => array(
      'title' => t('Administer measurement units'),
      'description' => t('Add/edit/delete available units of measurement.'),
    ),
  );
}