$content['type'] = array ( 'name' => 'Question', 'type' => 'question', 'description' => 'This is a question asked by a user of the website.', 'title_label' => 'Question', 'body_label' => 'More detail', 'min_word_count' => '0', 'help' => '', 'node_options' => array ( 'status' => true, 'promote' => false, 'sticky' => false, 'revision' => false, ), 'old_type' => 'question', 'orig_type' => '', 'module' => 'node', 'custom' => '1', 'modified' => '1', 'locked' => '0', 'submitted_by' => 'by [tsl-author-name]', 'nodewords_edit_metatags' => 0, 'nodewords_metatags_generation_method' => '0', 'nodewords_metatags_generation_source' => '2', 'nodewords_use_alt_attribute' => 1, 'nodewords_filter_modules_output' => array ( 'imagebrowser' => false, 'img_assist' => false, ), 'nodewords_filter_regexp' => '', 'print_display' => 1, 'print_display_comment' => 0, 'print_display_urllist' => 1, 'print_mail_display' => 1, 'print_mail_display_comment' => 0, 'print_mail_display_urllist' => 1, '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', 'submitted_by_comment' => '', 'abuse_content_node_type_question' => 1, 'page_title' => array ( 'show_field' => array ( 'show_field' => false, ), 'pattern' => '', ), 'better_formats_allowed' => array ( 1 => false, 2 => false, 3 => false, 4 => false, ), 'better_formats_defaults' => array ( 'node-4' => array ( 'format' => '2', 'weight' => '-25', ), 'node-5' => array ( 'format' => '3', 'weight' => '-24', ), 'node-1' => array ( 'format' => '0', 'weight' => '-23', ), 'node-2' => array ( 'format' => '0', 'weight' => '-22', ), 'node-3' => array ( 'format' => '0', 'weight' => '-21', ), 'comment-4' => array ( 'format' => '2', 'weight' => '-25', ), 'comment-5' => array ( 'format' => '3', 'weight' => '-24', ), 'comment-1' => array ( 'format' => '0', 'weight' => '-23', ), 'comment-2' => array ( 'format' => '0', 'weight' => '-22', ), 'comment-3' => array ( 'format' => '0', 'weight' => '-21', ), ), ); $content['fields'] = array ( 0 => array ( 'label' => 'Post anonymously', 'field_name' => 'field_question_anon', 'type' => 'number_integer', 'widget_type' => 'optionwidgets_onoff', 'change' => 'Change basic information', 'weight' => '-4', 'description' => 'Important, posting anonymously hides your name, but the Question will still be stored against your username from an administrative perspective.', 'default_value' => array ( 0 => array ( 'value' => NULL, ), ), 'default_value_php' => '', 'default_value_widget' => NULL, 'group' => false, 'required' => 0, 'multiple' => '0', 'min' => '', 'max' => '', 'prefix' => '', 'suffix' => '', 'allowed_values' => '0 1|Post anonymously', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'number', 'widget_module' => 'optionwidgets', 'columns' => array ( 'value' => array ( 'type' => 'int', 'not null' => false, 'sortable' => true, ), ), 'display_settings' => array ( 'weight' => '-4', 'parent' => '', 'label' => array ( 'format' => 'hidden', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'hidden', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 2 => array ( 'format' => 'default', 'exclude' => 0, ), 3 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 1 => array ( 'label' => 'Notify of answers', 'field_name' => 'field_question_notify', 'type' => 'number_integer', 'widget_type' => 'optionwidgets_onoff', 'change' => 'Change basic information', 'weight' => '-3', 'description' => 'Check this box to receive an email when someone posts an answer to your question.', 'default_value' => array ( 0 => array ( 'value' => NULL, ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_question_notify' => array ( 'value' => false, ), ), 'group' => false, 'required' => 0, 'multiple' => '0', 'min' => '', 'max' => '', 'prefix' => '', 'suffix' => '', 'allowed_values' => '0 1|Notify me of answers', 'allowed_values_php' => '', 'op' => 'Save field settings', 'module' => 'number', 'widget_module' => 'optionwidgets', 'columns' => array ( 'value' => array ( 'type' => 'int', 'not null' => false, 'sortable' => true, ), ), 'display_settings' => array ( 'label' => array ( 'format' => 'above', 'exclude' => 0, ), 5 => array ( 'format' => 'default', 'exclude' => 0, ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 2 => array ( 'format' => 'default', 'exclude' => 0, ), 3 => array ( 'format' => 'default', 'exclude' => 0, ), 'token' => array ( 'format' => 'default', 'exclude' => 0, ), ), ), ); $content['extra'] = array ( 'title' => '-5', 'body_field' => '0', 'revision_information' => '3', 'comment_settings' => '5', 'menu' => '-1', 'taxonomy' => '-2', 'path' => '4', 'print' => '6', 'answers_node_content_1' => '2', 'nodewords' => '1', );