commerce_kickstart_merchandising.module in Commerce Kickstart 7.2
File
modules/commerce_kickstart/commerce_kickstart_merchandising/commerce_kickstart_merchandising.module
View source
<?php
include_once 'commerce_kickstart_merchandising.features.inc';
function commerce_kickstart_merchandising_migrate_api() {
if (variable_get('commerce_kickstart_demo_store', FALSE)) {
return array(
'api' => 2,
'migrations' => array(
'CommerceKickstartAdPush' => array(
'class_name' => 'CommerceKickstartAdPush',
),
),
);
}
return array(
'api' => 2,
);
}
function commerce_kickstart_merchandising_features_export_alter(&$export, $module_name) {
if ($module_name == 'commerce_kickstart_merchandising') {
if (isset($export['dependencies']['commerce_kickstart_slideshow'])) {
unset($export['dependencies']['commerce_kickstart_slideshow']);
}
$export['features']['field_base']['field_link'] = 'field_link';
$export['features']['field_base']['field_tagline'] = 'field_tagline';
}
}