commerce_donation_flow-1.0.x-dev/commerce_donation_flow.module
commerce_donation_flow.module
<?php
/**
* @file
* Needed hook implementations for commerce_donation_flow.
*/
/**
* Implements hook_theme().
*/
function commerce_donation_flow_theme() {
return [
// Normally theme suggestion templates are only picked up when they are in
// themes. We explicitly define a theme suggestions here so that our block
// templates are picked up.
'block__commerce_donation_flow_quick' => [
'render element' => 'elements',
'base hook' => 'block',
],
'commerce_donation_flow_summary' => [
'variables' => [
'content' => NULL,
'order_item' => NULL,
'attributes' => NULL,
],
],
'commerce_donation_flow_summary_container' => [
'variables' => [
'content' => NULL,
'attributes' => NULL,
],
],
'commerce_checkout_pane__commerce_donation_pane' => [
'base hook' => 'commerce_checkout_pane',
],
'commerce_checkout_pane__commerce_memorial_pane' => [
'base hook' => 'commerce_checkout_pane',
],
];
}
