function currency_permission in Currency 7.2
Same name and namespace in other branches
- 7 currency.module \currency_permission()
Implements hook_permission().
File
- currency/
currency.module, line 145 - Provides currency information and allows users to add custom currencies.
Code
function currency_permission() {
$permissions['currency.currency.administer'] = array(
'title' => t('Administer currencies'),
);
$permissions['currency.currency_locale_pattern.administer'] = array(
'restrict access' => TRUE,
'title' => t('Administer currency locale patterns'),
);
$permissions['currency.currency_exchanger.administer'] = array(
'title' => t('Administer currency exchangers'),
);
return $permissions;
}