$content['type'] = array ( 'name' => 'Amazon Demo', 'type' => 'amazon_demo', 'description' => 'This is a simple type that shows how Amazon module and Amazon store can be used with views', 'title_label' => 'Title', 'body_label' => '', 'min_word_count' => '0', 'help' => '', 'node_options' => array ( 'status' => true, 'promote' => true, 'sticky' => false, 'revision' => false, ), 'old_type' => 'amazon_demo', 'orig_type' => '', 'module' => 'node', 'custom' => '1', 'modified' => '1', 'locked' => '0', 'comment' => '2', 'comment_default_mode' => '4', 'comment_default_order' => '1', 'comment_default_per_page' => '50', 'comment_controls' => '3', 'comment_anonymous' => 0, 'comment_subject_field' => '1', 'comment_preview' => '1', 'comment_form_location' => '0', ); $content['fields'] = array ( 0 => array ( 'label' => 'ASIN', 'field_name' => 'field_asin', 'type' => 'asin', 'widget_type' => 'asin_text', 'change' => 'Change basic information', 'weight' => '-1', 'description' => 'Just put an Amazon ASIN here. The ASIN is Amazon\'s unique identifier', 'default_value' => array ( 0 => array ( 'asin' => '', ), ), 'default_value_php' => '', 'default_value_widget' => NULL, 'required' => 1, 'multiple' => '0', 'op' => 'Save field settings', 'module' => 'asin', 'widget_module' => 'asin', 'columns' => array ( 'asin' => array ( 'type' => 'varchar', 'length' => 32, 'not null' => false, ), ), 'display_settings' => array ( 'label' => array ( 'format' => 'above', 'exclude' => 0, ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), ); $content['extra'] = array ( 'title' => '-5', 'menu' => '-2', );