function theme_commerce_payment_transaction_status_text in Commerce Core 7
Themes a text value related to a payment transaction status.
1 theme call to theme_commerce_payment_transaction_status_text()
- commerce_payment_handler_field_status::render in modules/
payment/ includes/ views/ handlers/ commerce_payment_handler_field_status.inc - Render the field.
File
- modules/
payment/ commerce_payment.module, line 842 - Defines the payment system and checkout integration.
Code
function theme_commerce_payment_transaction_status_text($variables) {
$transaction_status = $variables['transaction_status'];
return '<span class="' . drupal_html_class($transaction_status['status']) . '">' . $variables['text'] . '</span>';
}