You are here

function commerce_invoice_theme in Commerce Invoice 7.2

Same name and namespace in other branches
  1. 8.2 commerce_invoice.module \commerce_invoice_theme()
  2. 7 commerce_invoice.module \commerce_invoice_theme()

Implements hook_theme().

File

./commerce_invoice.module, line 200
The Commerce Invoice module.

Code

function commerce_invoice_theme() {
  return [
    'commerce_invoice_number' => [
      'variables' => [
        'invoice_number' => NULL,
        'key' => NULL,
        'pattern_name' => NULL,
        'sequence' => NULL,
        'sanitize' => TRUE,
      ],
      'file' => 'commerce_invoice.theme.inc',
    ],
  ];
}