You are here

function uc_attribute_module_implements_alter in Ubercart 8.4

Same name and namespace in other branches
  1. 7.3 uc_attribute/uc_attribute.module \uc_attribute_module_implements_alter()

Implements hook_module_implements_alter().

Ensures that attribute form changes are made after (e.g.) product kits.

File

uc_attribute/uc_attribute.module, line 121
Ubercart Attribute module.

Code

function uc_attribute_module_implements_alter(&$implementations, $hook) {
  if ($hook == 'uc_form_alter') {
    $group = $implementations['uc_attribute'];
    unset($implementations['uc_attribute']);
    $implementations['uc_attribute'] = $group;
  }
}