function uc_dropdown_attributes_uc_product_types in Dropdown Attributes 8
Implements hook_uc_product_types().
Ubercart fails to load product kits in order edit.
File
- ./
uc_dropdown_attributes.module, line 1289 - A module for uc_dropdown_attributes.
Code
function uc_dropdown_attributes_uc_product_types() {
$types = array();
if (\Drupal::moduleHandler()
->moduleExists('uc_product_kit')) {
$types['product_kit'] = 'product_kit';
}
return $types;
}