Skip to content
Snippets Groups Projects
Commit 0b87b1c7 authored by Merlin Axel Rutz's avatar Merlin Axel Rutz Committed by Jonathan Sacksick
Browse files

Issue #3435963 by geek-merlin: Make CommerceStore FieldGroup-able too.

parent f68cffb6
Branches
Tags
8 merge requests!418Issue #3511232 by ccjjmartin: Fix add to cart dropdown when only one non-default variation type is provided,!379Issue #3491248 Validation is breaking the amount number format decimal point,!375Issue #3413020 by czigor: Using a translatable string as a category for field...,!357Issue #2914933: Add service tags to order-related interfaces,!344Resolve #3107602 "Product attributes do not update visually when switching variations",!343Resolve #3107602 "Product attributes do not update visually when switching variations",!342Issue #3476581 by josephr5000: add OrderItemLabelEvent,!242Make store fieldgroup-able
Pipeline #128991 passed with warnings
......@@ -84,3 +84,12 @@ function template_preprocess_commerce_store(array &$variables) {
$variables['store'][$key] = $variables['elements'][$key];
}
}
/**
* Implements hook_field_group_content_element_keys_alter().
*
* Allow stores to render fields groups defined from Fields UI.
*/
function commerce_store_field_group_content_element_keys_alter(&$keys) {
$keys['commerce_store'] = 'store';
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment