$content['type'] = array ( 'name' => 'Facilities opening hours', 'type' => 'facilities', 'description' => 'Dates and hours of opening for shop, museum, cafe.', 'title_label' => 'Title', 'body_label' => 'Body', 'min_word_count' => '0', 'help' => '', 'node_options' => array ( 'status' => true, 'promote' => false, 'sticky' => false, 'revision' => false, ), 'upload' => 1, 'old_type' => 'facilities', 'orig_type' => '', 'module' => 'node', 'custom' => '1', 'modified' => '1', 'locked' => '0', ); $content['fields'] = array ( 0 => array ( 'label' => 'Facilities start date', 'field_name' => 'field_facilities_start_date', 'type' => 'date', 'widget_type' => 'date_popup', 'change' => 'Change basic information', 'weight' => 0, 'default_value' => 'blank', 'default_value2' => 'same', 'default_value_code' => '', 'default_value_code2' => '', 'input_format' => 'l, j F Y', 'input_format_custom' => '', 'year_range' => '-3:+3', 'increment' => '1', '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' => 1, 'multiple' => '1', 'repeat' => 0, 'todate' => 'optional', 'granularity' => array ( 'year' => 'year', 'month' => 'month', 'day' => 'day', ), 'default_format' => 'field_facilities_start_date_default', 'tz_handling' => 'none', 'timezone_db' => '', 'op' => 'Save field settings', 'module' => 'date', 'widget_module' => 'date', 'columns' => array ( 'value' => array ( 'type' => 'varchar', 'length' => 20, 'not null' => false, 'sortable' => true, 'views' => true, ), 'value2' => array ( 'type' => 'varchar', 'length' => 20, 'not null' => false, 'sortable' => true, 'views' => false, ), ), 'display_settings' => array ( 'label' => array ( 'format' => 'above', ), 'teaser' => array ( 'format' => 'hidden', 'exclude' => 0, ), 'full' => array ( 'format' => 'hidden', 'exclude' => 0, ), 4 => array ( 'format' => 'field_facilities_start_date_default', 'exclude' => 0, ), ), ), );