$content[type] = array ( 'name' => 'Blog entry', 'type' => 'blog', 'description' => 'A blog entry is a single post to an online journal, or blog.', 'title_label' => 'Title', 'body_label' => 'Body', 'min_word_count' => '0', 'help' => '', 'submitagain' => 1, 'node_options' => array ( 'status' => true, 'promote' => true, 'sticky' => false, 'revision' => false, ), 'upload' => '1', 'old_type' => 'blog', 'orig_type' => 'blog', 'module' => 'blog', 'custom' => '0', 'modified' => '1', 'locked' => '1', 'reset' => 'Reset to defaults', 'og_content_type_usage' => 'omitted', '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' => 'Date', 'field_name' => 'field_date', 'type' => 'date', 'widget_type' => 'date_select', 'change' => 'Change basic information', 'weight' => '32', 'default_value' => 'blank', 'default_value_code' => '', 'default_value2' => 'same', 'default_value_code2' => '', 'input_format' => 'Y-m-d H:i:s', 'input_format_custom' => '', 'year_range' => '-3:+3', 'increment' => '30', 'advanced' => array ( 'label_position' => 'above', 'text_parts' => array ( 'year' => 0, 'month' => 0, 'day' => 0, 'hour' => 0, 'minute' => 0, 'second' => 0, ), ), 'label_position' => 'above', 'text_parts' => array ( ), 'description' => '', 'group' => false, 'required' => 0, 'multiple' => '0', 'repeat' => 0, 'todate' => 'required', 'granularity' => array ( 'year' => 'year', 'month' => 'month', 'day' => 'day', 'hour' => 'hour', 'minute' => 'minute', 'second' => 'second', ), 'default_format' => 'long', 'tz_handling' => 'site', 'timezone_db' => 'UTC', 'op' => 'Save field settings', 'module' => 'date', 'widget_module' => 'date', 'columns' => array ( 'value' => array ( 'type' => 'varchar', 'length' => 20, 'not null' => false, 'sortable' => true, ), 'value2' => array ( 'type' => 'varchar', 'length' => 20, 'not null' => false, 'sortable' => true, ), ), 'display_settings' => array ( 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'short', ), 'full' => array ( 'format' => 'short', ), 0 => array ( 'format' => 'above', ), 'token' => array ( 'format' => 'short', ), ), ), );