You are here

function commerce_multicurrency_theme in Commerce Multicurrency 7

Implements hook_theme().

File

./commerce_multicurrency.module, line 68
Enhancements for the commerce currency support.

Code

function commerce_multicurrency_theme() {
  return array(
    'commerce_multicurrency_selector_menu' => array(
      'variables' => array(
        'current_currency' => commerce_multicurrency_get_user_currency_code(),
        'enabled_currencies' => commerce_currencies(TRUE),
      ),
      'path' => drupal_get_path('module', 'commerce_multicurrency') . '/theme',
      'template' => 'commerce-multicurrency-selector-menu',
    ),
  );
}