You are here

function commerce_kickstart_features_api_alter in Commerce Kickstart 7.2

Implements hook_features_api_alter().

Commerce Kickstart provides different Features that can be utilized individually, which means there are conflicting field bases. This allows the feature structure to exist, including customizations by users.

File

./commerce_kickstart.profile, line 215

Code

function commerce_kickstart_features_api_alter(&$components) {
  if (isset($components['field_base'])) {
    $components['field_base']['duplicates'] = FEATURES_DUPLICATES_ALLOWED;
  }
}