$content['type'] = array ( 'name' => 'Showcase with image', 'type' => 'showcase_with_image', 'description' => '', 'title_label' => 'Title', 'body_label' => 'Body', 'min_word_count' => '0', 'help' => '', 'node_options' => array ( 'status' => true, 'promote' => true, 'sticky' => false, 'revision' => false, ), 'old_type' => 'showcase_with_image', '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' => 'Pager item text', 'field_name' => 'field_pager_item_text', 'type' => 'text', 'widget_type' => 'text_textfield', 'change' => 'Change basic information', 'weight' => '-4', 'rows' => 5, 'size' => '60', 'description' => 'Pager item text - Used for the text of a pager_item.', 'default_value' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_pager_item_text][0][value', ), ), 'default_value_php' => '', 'default_value_widget' => NULL, 'required' => 1, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '30', 'allowed_values' => '', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'text', 'widget_module' => 'text', 'columns' => array ( 'value' => array ( 'type' => 'varchar', 'length' => '30', 'not null' => false, 'sortable' => true, 'views' => true, ), ), 'display_settings' => array ( 'weight' => '-4', 'parent' => '', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'hidden', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 1 => array ( 'label' => 'Slide text', 'field_name' => 'field_slide_text', 'type' => 'text', 'widget_type' => 'text_textarea', 'change' => 'Change basic information', 'weight' => '-3', 'rows' => '5', 'size' => 60, 'description' => 'Slide text - Used for the text on a slide.', 'default_value' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_slide_text][0][value', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_slide_text' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_slide_text][0][value', ), ), ), 'required' => 1, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => '', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'text', 'widget_module' => 'text', 'columns' => array ( 'value' => array ( 'type' => 'text', 'size' => 'big', 'not null' => false, 'sortable' => true, 'views' => true, ), ), 'display_settings' => array ( 'weight' => '-3', 'parent' => '', 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'hidden', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 2 => array ( 'label' => 'Image', 'field_name' => 'field_image', 'type' => 'filefield', 'widget_type' => 'imagefield_widget', 'change' => 'Change basic information', 'weight' => '-2', 'file_extensions' => 'jpg jpeg png gif', 'file_path' => '', 'max_filesize_per_file' => '', 'max_filesize_per_node' => '', 'max_resolution' => 0, 'min_resolution' => 0, 'custom_alt' => 0, 'alt' => '', 'custom_title' => 0, 'title' => '', 'use_default_image' => 0, 'default_image_upload' => '', 'default_image' => NULL, 'description' => 'Image - Image to be used for the Slide image and Pager image.', 'required' => 1, 'multiple' => '0', 'list_field' => '1', 'list_default' => 0, 'description_field' => '1', 'op' => 'Save field settings', 'module' => 'filefield', 'widget_module' => 'imagefield', 'columns' => array ( 'fid' => array ( 'type' => 'int', 'not null' => false, ), 'list' => array ( 'type' => 'int', 'size' => 'tiny', 'not null' => false, ), 'data' => array ( 'type' => 'text', 'serialize' => true, ), ), 'display_settings' => array ( 'weight' => '-2', 'parent' => '', 'label' => array ( 'format' => 'hidden', ), 'teaser' => array ( 'format' => 'image_plain', 'exclude' => 0, ), 'full' => array ( 'format' => 'image_nodelink', 'exclude' => 0, ), 4 => array ( 'format' => 'image_plain', 'exclude' => 0, ), ), ), ); $content['extra'] = array ( 'title' => '-5', 'body_field' => '-1', 'menu' => '0', );