You are here

function uc_get_message in Ubercart 7.3

Same name and namespace in other branches
  1. 5 uc_store/uc_store.module \uc_get_message()
  2. 6.2 uc_store/uc_store.module \uc_get_message()

Returns the default message for a configurable message.

8 calls to uc_get_message()
theme_uc_cart_checkout_review in uc_cart/uc_cart.pages.inc
Themes the checkout review order page.
uc_cart_checkout_settings_form in uc_cart/uc_cart.admin.inc
General checkout settings.
uc_cart_complete_sale in uc_cart/uc_cart.module
Completes a sale, including adjusting order status and creating user account.
uc_cart_variable_info in uc_cart/uc_cart.variable.inc
Implements hook_variable_info().
uc_order_default_rules_configuration in uc_order/uc_order.rules_defaults.inc
Implements hook_default_rules_configuration().

... See full list

File

uc_store/uc_store.module, line 1617
Contains global Ubercart functions and store administration functionality.

Code

function uc_get_message($message_id) {
  static $messages;
  if (empty($messages)) {
    $messages = module_invoke_all('uc_message');
    drupal_alter('uc_get_message', $messages);
  }
  return $messages[$message_id];
}