$content['type'] = array ( 'name' => 'Critique de produit', 'type' => 'critique', 'description' => 'Une critique d\'un produit rédigée par un contributeur du site.', 'title_label' => 'Intitulé', 'body_label' => 'Critique', 'min_word_count' => '0', 'help' => '', 'node_options' => array ( 'status' => true, 'promote' => true, 'sticky' => false, 'revision' => false, ), 'language_content_type' => '0', 'old_type' => 'critique', 'orig_type' => '', 'module' => 'node', 'custom' => '1', 'modified' => '1', 'locked' => '0', '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' => '1', ); $content['groups'] = array ( 0 => array ( 'label' => 'Résumé', 'group_type' => 'standard', 'settings' => array ( 'form' => array ( 'style' => 'fieldset_collapsible', 'description' => '', ), 'display' => array ( 'description' => '', 'teaser' => array ( 'format' => 'fieldset', 'exclude' => 0, ), 'full' => array ( 'format' => 'fieldset', 'exclude' => 0, ), 4 => array ( 'format' => 'fieldset', 'exclude' => 0, ), 'label' => 'above', ), ), 'weight' => '-3', 'group_name' => 'group_resume', ), ); $content['fields'] = array ( 0 => array ( 'label' => 'Avantages', 'field_name' => 'field_avantages', 'type' => 'text', 'widget_type' => 'text_textarea', 'change' => 'Modifier les informations de base', 'weight' => '1', 'rows' => '5', 'size' => 60, 'description' => '', 'default_value' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_avantages][0][value', ), ), 'default_value_php' => '', 'default_value_widget' => NULL, 'group' => 'group_resume', 'required' => 0, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => '', 'allowed_values_php' => '', 'op' => 'Enregistrer les paramètres du champ', 'module' => 'text', 'widget_module' => 'text', 'columns' => array ( 'value' => array ( 'type' => 'text', 'size' => 'big', 'not null' => false, 'sortable' => true, 'views' => true, ), ), 'display_settings' => array ( 'label' => array ( 'format' => 'above', 'exclude' => 0, ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 1 => array ( 'label' => 'Inconvénients', 'field_name' => 'field_inconvenients', 'type' => 'text', 'widget_type' => 'text_textarea', 'change' => 'Modifier les informations de base', 'weight' => '2', 'rows' => '5', 'size' => 60, 'description' => '', 'default_value' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_inconvenients][0][value', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_inconvenients' => array ( 0 => array ( 'value' => '', '_error_element' => 'default_value_widget][field_inconvenients][0][value', ), ), ), 'group' => 'group_resume', 'required' => 0, 'multiple' => '0', 'text_processing' => '0', 'max_length' => '', 'allowed_values' => '', 'allowed_values_php' => '', 'op' => 'Enregistrer les paramètres du champ', 'module' => 'text', 'widget_module' => 'text', 'columns' => array ( 'value' => array ( 'type' => 'text', 'size' => 'big', 'not null' => false, 'sortable' => true, 'views' => true, ), ), 'display_settings' => array ( 'label' => array ( 'format' => 'above', 'exclude' => 0, ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), 2 => array ( 'label' => 'Id produit Amazon', 'field_name' => 'field_id_produit', 'type' => 'asin', 'widget_type' => 'asin_text', 'change' => 'Modifier les informations de base', 'weight' => '-1', 'description' => 'saisir l\'identifiant amazon pour le produit en cours d\'évaluation.', 'default_value' => array ( 0 => array ( 'asin' => '', ), ), 'default_value_php' => '', 'default_value_widget' => array ( 'field_id_produit' => array ( 0 => array ( 'asin' => '', ), ), ), 'group' => false, 'required' => 1, 'multiple' => '0', 'op' => 'Enregistrer les paramètres du champ', 'module' => 'asin', 'widget_module' => 'asin', 'columns' => array ( 'asin' => array ( 'type' => 'varchar', 'length' => 32, 'not null' => false, ), ), 'display_settings' => array ( 'label' => array ( 'format' => 'above', 'exclude' => 0, ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), ); $content['extra'] = array ( 'title' => '-5', 'body_field' => '-2', 'revision_information' => '0', 'comment_settings' => '1', 'menu' => '-4', );