$content['type'] = array ( 'name' => 'Timetable service', 'type' => 'tt_service', 'description' => 'Timetable service eg red service', 'title_label' => 'Title', 'body_label' => 'Body', 'min_word_count' => '0', 'help' => '

Enter all dates when timetable occurs. If it\'s a single date just enter the \'from\' date (clear the \'to\' date if anything other than the same as the \'from\' date is in it.

Select the appropriate timetable from the button list.

', 'node_options' => array ( 'status' => true, 'promote' => false, 'sticky' => false, 'revision' => false, ), 'upload' => '1', 'old_type' => 'tt_service', 'orig_type' => '', 'module' => 'node', 'custom' => '1', 'modified' => '1', 'locked' => '0', ); $content['fields'] = array ( 0 => array ( 'label' => 'Timetable start', 'field_name' => 'field_tt_start', 'type' => 'date', 'widget_type' => 'date_popup', 'change' => 'Change basic information', 'weight' => '-3', 'default_value' => 'blank', 'default_value2' => 'blank', '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_tt_start_short', '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 ( 'weight' => '-3', 'parent' => '', 'label' => array ( 'format' => 'hidden', ), 'teaser' => array ( 'format' => 'hidden', 'exclude' => 0, ), 'full' => array ( 'format' => 'field_tt_start_short', 'exclude' => 0, ), 4 => array ( 'format' => 'field_tt_start_long', 'exclude' => 0, ), ), ), ); $content['extra'] = array ( 'title' => '-5', 'body_field' => '-2', 'menu' => '-4', 'attachments' => '0', );