function commerce_checkout_theme_suggestions_commerce_checkout_pane in Commerce Core 8.2
Implements hook_theme_suggestions_HOOK().
File
- modules/
checkout/ commerce_checkout.module, line 72 - Provides configurable checkout flows.
Code
function commerce_checkout_theme_suggestions_commerce_checkout_pane(array $variables) {
$original = $variables['theme_hook_original'];
$suggestions = [];
$suggestions[] = $original . '__' . $variables['elements']['#pane_id'];
return $suggestions;
}