$content[type] = array ( 'name' => 'Slide', 'type' => 'slide', 'description' => 'Slides combine a tagline and a picture that can be inserted into a slideshow.', 'title_label' => 'Title', 'body_label' => 'Tagline', 'min_word_count' => '0', 'help' => '', 'node_options' => array ( 'status' => true, 'promote' => true, 'sticky' => false, 'revision' => false, ), 'upload' => '0', 'old_type' => 'slide', 'orig_type' => '', 'module' => 'node', 'custom' => '1', 'modified' => '1', 'locked' => '0', 'comment' => '0', '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' => 'Image', 'field_name' => 'field_slide_image', 'type' => 'image', 'widget_type' => 'imagefield_widget', 'change' => 'Change basic information', 'weight' => '1', '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' => '', 'description' => '', 'required' => 1, 'multiple' => '0', 'list_default' => '1', 'force_list_default' => '0', 'show_description' => '0', 'op' => 'Save field settings', 'module' => 'imagefield', '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 ( 'label' => array ( 'format' => 'above', 'exclude' => 0, ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), ); $content[extra] = array ( 'title' => '-5', 'body_field' => '0', 'menu' => '-2', );