You are here

function bpc_display_commerce_bpc_settings_defaults in Commerce Bulk Product Creation 7.2

Implements hook_commerce_bpc_settings_defaults().

File

modules/bpc_display/bpc_display.module, line 298
Allows automatic display node creation for Commerce bulk product creation.

Code

function bpc_display_commerce_bpc_settings_defaults() {
  $settings = array();
  $settings['display'] = array(
    'creation_method' => 'wizard',
    'auto_content_type' => NULL,
    'auto_node_title_pattern' => '[bulk_defaults:entered_title]',
    'auto_redirect' => 'product_listing',
    'auto_redirect_custom' => NULL,
  );
  return $settings;
}