You are here

function commerce_pado_theme in Commerce Product Add-on 8

Implements hook_theme().

File

./commerce_pado.module, line 13
Commerce Product Add On module file.

Code

function commerce_pado_theme($existing, $type, $theme, $path) {
  return [
    'commerce_pado_add_to_cart_form' => [
      'render element' => 'form',
    ],
    'commerce_pado_addon_product_label' => [
      'variables' => [
        'product_entity' => NULL,
      ],
    ],
    'commerce_pado_addon_product_variation_label' => [
      'variables' => [
        'product_entity' => NULL,
        'variation_entity' => NULL,
      ],
    ],
  ];
}