You are here

function commerce_registration_theme in Commerce Registration 7.2

Same name and namespace in other branches
  1. 7.3 commerce_registration.module \commerce_registration_theme()

Implements hook_theme().

Provides the theme function for displaying the registration on the commerce order view page

File

./commerce_registration.module, line 113
Commerce Registration module code.

Code

function commerce_registration_theme($existing, $type, $theme, $path) {
  return array(
    'commerce_registration_order' => array(
      'variables' => array(
        'registrations' => NULL,
      ),
      'file' => '/includes/commerce_registration.theme.inc',
    ),
    'commerce_registration_line_item_registrations' => array(
      'render element' => 'element',
    ),
  );
}