$content['type'] = array ( 'name' => 'Projekt', 'type' => 'projekt', 'description' => 'Přidání grantu nebo projektu.', 'title_label' => 'Název', 'body_label' => 'Podrobnosti', 'min_word_count' => '0', 'help' => '', 'node_options' => array ( 'status' => true, 'revision' => true, 'promote' => false, 'sticky' => false, ), 'language_content_type' => 0, 'upload' => '1', 'i18n_node' => 1, 'old_type' => 'projekt', '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' => '1', 'comment_subject_field' => '1', 'comment_preview' => '1', 'comment_form_location' => '0', 'image_attach' => '0', 'image_attach_size_teaser' => 'thumbnail', 'image_attach_weight_teaser' => '0', 'image_attach_size_body' => 'thumbnail', 'image_attach_weight_body' => '0', ); $content['fields'] = array ( 0 => array ( 'label' => 'Zahájení', 'field_name' => 'field_zahajeni', 'type' => 'datestamp', 'widget_type' => 'date_text', 'change' => 'Change basic information', 'weight' => '1', 'default_value' => 'blank', 'default_value2' => 'blank', 'default_value_code' => '', 'default_value_code2' => '', 'input_format' => 'Y-m-d H:i:s', 'input_format_custom' => 'Y', 'advanced' => array ( 'label_position' => 'above', 'text_parts' => array ( 'year' => 0, 'month' => 0, 'day' => 0, 'hour' => 0, 'minute' => 0, 'second' => 0, ), ), 'increment' => 1, 'year_range' => '-3:+3', 'label_position' => 'above', 'text_parts' => array ( ), 'description' => 'Rok zahájení projektu ve formátu YYYY.', 'group' => 'group_podrobnosti_o_grantu', 'required' => 0, 'multiple' => '0', 'repeat' => 0, 'todate' => '', 'granularity' => array ( 'year' => 'year', ), 'default_format' => 'field_zahajeni_default', 'tz_handling' => 'none', 'timezone_db' => '', 'op' => 'Save field settings', 'module' => 'date', 'widget_module' => 'date', 'columns' => array ( 'value' => array ( 'type' => 'int', 'not null' => false, 'sortable' => true, 'views' => true, ), ), 'display_settings' => array ( 'label' => array ( 'format' => 'above', ), 'full' => array ( 'format' => 'field_zahajeni_default', 'exclude' => 0, ), 'teaser' => array ( 'format' => 'field_zahajeni_default', 'exclude' => 0, ), ), ), );