You are here

function uc_get_message in Ubercart 5

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

Return the default message for a configurable message.

14 calls to uc_get_message()
theme_uc_cart_checkout_review in uc_cart/uc_cart.module
Theme the checkout review order page.
uc_cart_checkout_messages_form in uc_cart/uc_cart.module
uc_cart_checkout_settings_overview in uc_cart/uc_cart.module
uc_cart_complete_sale in uc_cart/uc_cart.module
Completes a sale, including adjusting order status and creating user account.
uc_file_notify_settings in uc_file/uc_file.module
Form builder for file download notification settings.

... See full list

File

uc_store/uc_store.module, line 2536
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');
  }
  return $messages[$message_id];
}