You are here

function currency_filter_info in Currency 7.2

Implements hook_filter_info().

File

currency/currency.module, line 163
Provides currency information and allows users to add custom currencies.

Code

function currency_filter_info() {

  // Use "currency_exchange" as the machine name for backwards compatibility
  // with Currency 7.x-1.x.
  $filters['currency_exchange'] = array(
    'process callback' => 'currency_filter_currency_exchange_process',
    'title' => t('Currency exchange'),
    'tips callback' => 'currency_filter_currency_exchange_tips',
  );
  $filters['currency_localize'] = array(
    'cache' => FALSE,
    'process callback' => 'currency_filter_currency_localize_process',
    'tips callback' => 'currency_filter_currency_localize_tips',
    'title' => t('Currency amount formatting'),
  );
  return $filters;
}