diff --git a/sites/all/modules/features/frequently_asked_questions/frequently_asked_questions.features.inc b/sites/all/modules/features/frequently_asked_questions/frequently_asked_questions.features.inc new file mode 100644 index 00000000..f659cfcd --- /dev/null +++ b/sites/all/modules/features/frequently_asked_questions/frequently_asked_questions.features.inc @@ -0,0 +1,14 @@ + "1"); + } +} diff --git a/sites/all/modules/features/frequently_asked_questions/frequently_asked_questions.features.taxonomy.inc b/sites/all/modules/features/frequently_asked_questions/frequently_asked_questions.features.taxonomy.inc new file mode 100644 index 00000000..8ca47985 --- /dev/null +++ b/sites/all/modules/features/frequently_asked_questions/frequently_asked_questions.features.taxonomy.inc @@ -0,0 +1,23 @@ + array( + 'name' => 'faq categories', + 'machine_name' => 'faq_categories', + 'description' => '', + 'hierarchy' => 0, + 'module' => 'taxonomy', + 'weight' => 0, + 'language' => 'und', + 'i18n_mode' => 1, + ), + ); +} diff --git a/sites/all/modules/features/frequently_asked_questions/frequently_asked_questions.features.user_permission.inc b/sites/all/modules/features/frequently_asked_questions/frequently_asked_questions.features.user_permission.inc new file mode 100644 index 00000000..2c3e6534 --- /dev/null +++ b/sites/all/modules/features/frequently_asked_questions/frequently_asked_questions.features.user_permission.inc @@ -0,0 +1,141 @@ + 'administer faq', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'faq', + ); + + // Exported permission: 'administer faq order'. + $permissions['administer faq order'] = array( + 'name' => 'administer faq order', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'faq', + ); + + // Exported permission: 'create faq content'. + $permissions['create faq content'] = array( + 'name' => 'create faq content', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'node', + ); + + // Exported permission: 'delete any faq content'. + $permissions['delete any faq content'] = array( + 'name' => 'delete any faq content', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'node', + ); + + // Exported permission: 'delete own faq content'. + $permissions['delete own faq content'] = array( + 'name' => 'delete own faq content', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'node', + ); + + // Exported permission: 'edit any faq content'. + $permissions['edit any faq content'] = array( + 'name' => 'edit any faq content', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'node', + ); + + // Exported permission: 'edit own faq content'. + $permissions['edit own faq content'] = array( + 'name' => 'edit own faq content', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'node', + ); + + // Exported permission: 'enter faq revision log entry'. + $permissions['enter faq revision log entry'] = array( + 'name' => 'enter faq revision log entry', + 'roles' => array(), + 'module' => 'override_node_options', + ); + + // Exported permission: 'override faq authored by option'. + $permissions['override faq authored by option'] = array( + 'name' => 'override faq authored by option', + 'roles' => array(), + 'module' => 'override_node_options', + ); + + // Exported permission: 'override faq authored on option'. + $permissions['override faq authored on option'] = array( + 'name' => 'override faq authored on option', + 'roles' => array(), + 'module' => 'override_node_options', + ); + + // Exported permission: 'override faq promote to front page option'. + $permissions['override faq promote to front page option'] = array( + 'name' => 'override faq promote to front page option', + 'roles' => array(), + 'module' => 'override_node_options', + ); + + // Exported permission: 'override faq published option'. + $permissions['override faq published option'] = array( + 'name' => 'override faq published option', + 'roles' => array(), + 'module' => 'override_node_options', + ); + + // Exported permission: 'override faq revision option'. + $permissions['override faq revision option'] = array( + 'name' => 'override faq revision option', + 'roles' => array(), + 'module' => 'override_node_options', + ); + + // Exported permission: 'override faq sticky option'. + $permissions['override faq sticky option'] = array( + 'name' => 'override faq sticky option', + 'roles' => array(), + 'module' => 'override_node_options', + ); + + // Exported permission: 'view faq page'. + $permissions['view faq page'] = array( + 'name' => 'view faq page', + 'roles' => array( + 'authenticated user' => 'authenticated user', + 'root' => 'root', + ), + 'module' => 'faq', + ); + + return $permissions; +} diff --git a/sites/all/modules/features/frequently_asked_questions/frequently_asked_questions.info b/sites/all/modules/features/frequently_asked_questions/frequently_asked_questions.info new file mode 100644 index 00000000..dee78584 --- /dev/null +++ b/sites/all/modules/features/frequently_asked_questions/frequently_asked_questions.info @@ -0,0 +1,57 @@ +name = frequently asked questions +core = 7.x +package = Materio +dependencies[] = ctools +dependencies[] = faq +dependencies[] = features +dependencies[] = node +dependencies[] = override_node_options +dependencies[] = strongarm +dependencies[] = taxonomy +features[ctools][] = strongarm:strongarm:1 +features[features_api][] = api:2 +features[taxonomy][] = faq_categories +features[user_permission][] = administer faq +features[user_permission][] = administer faq order +features[user_permission][] = create faq content +features[user_permission][] = delete any faq content +features[user_permission][] = delete own faq content +features[user_permission][] = edit any faq content +features[user_permission][] = edit own faq content +features[user_permission][] = enter faq revision log entry +features[user_permission][] = override faq authored by option +features[user_permission][] = override faq authored on option +features[user_permission][] = override faq promote to front page option +features[user_permission][] = override faq published option +features[user_permission][] = override faq revision option +features[user_permission][] = override faq sticky option +features[user_permission][] = view faq page +features[variable][] = faq_answer_category_name +features[variable][] = faq_answer_label +features[variable][] = faq_back_to_top +features[variable][] = faq_category_display +features[variable][] = faq_category_hide_qa_accordion +features[variable][] = faq_category_listing +features[variable][] = faq_count +features[variable][] = faq_custom_breadcrumbs +features[variable][] = faq_default_sorting +features[variable][] = faq_description +features[variable][] = faq_disable_node_links +features[variable][] = faq_display +features[variable][] = faq_group_questions_top +features[variable][] = faq_hide_child_terms +features[variable][] = faq_hide_qa_accordion +features[variable][] = faq_omit_vocabulary +features[variable][] = faq_qa_mark +features[variable][] = faq_question_label +features[variable][] = faq_question_length +features[variable][] = faq_question_listing +features[variable][] = faq_question_long_form +features[variable][] = faq_show_expand_all +features[variable][] = faq_show_node_links +features[variable][] = faq_show_term_page_children +features[variable][] = faq_title +features[variable][] = faq_use_categories +features[variable][] = faq_use_teaser +features[variable][] = nodeformscols_field_placements_faq_default +project path = sites/all/modules/features diff --git a/sites/all/modules/features/frequently_asked_questions/frequently_asked_questions.module b/sites/all/modules/features/frequently_asked_questions/frequently_asked_questions.module new file mode 100644 index 00000000..18be7080 --- /dev/null +++ b/sites/all/modules/features/frequently_asked_questions/frequently_asked_questions.module @@ -0,0 +1,7 @@ +disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_answer_category_name'; + $strongarm->value = 0; + $export['faq_answer_category_name'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_answer_label'; + $strongarm->value = 'A:'; + $export['faq_answer_label'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_back_to_top'; + $strongarm->value = 'Back to Top'; + $export['faq_back_to_top'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_category_display'; + $strongarm->value = 'none'; + $export['faq_category_display'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_category_hide_qa_accordion'; + $strongarm->value = 1; + $export['faq_category_hide_qa_accordion'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_category_listing'; + $strongarm->value = 'ul'; + $export['faq_category_listing'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_count'; + $strongarm->value = 0; + $export['faq_count'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_custom_breadcrumbs'; + $strongarm->value = 1; + $export['faq_custom_breadcrumbs'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_default_sorting'; + $strongarm->value = 'DESC'; + $export['faq_default_sorting'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_description'; + $strongarm->value = 'We hope that you\'ll find the appropriate answer to your question here !'; + $export['faq_description'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_disable_node_links'; + $strongarm->value = 0; + $export['faq_disable_node_links'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_display'; + $strongarm->value = 'hide_answer'; + $export['faq_display'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_group_questions_top'; + $strongarm->value = 0; + $export['faq_group_questions_top'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_hide_child_terms'; + $strongarm->value = 0; + $export['faq_hide_child_terms'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_hide_qa_accordion'; + $strongarm->value = 1; + $export['faq_hide_qa_accordion'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_omit_vocabulary'; + $strongarm->value = array( + 15 => '15', + 4 => '4', + 14 => '14', + 16 => '16', + 17 => 0, + ); + $export['faq_omit_vocabulary'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_qa_mark'; + $strongarm->value = 0; + $export['faq_qa_mark'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_question_label'; + $strongarm->value = 'Q:'; + $export['faq_question_label'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_question_length'; + $strongarm->value = 'short'; + $export['faq_question_length'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_question_listing'; + $strongarm->value = 'ul'; + $export['faq_question_listing'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_question_long_form'; + $strongarm->value = 0; + $export['faq_question_long_form'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_show_expand_all'; + $strongarm->value = 1; + $export['faq_show_expand_all'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_show_node_links'; + $strongarm->value = 1; + $export['faq_show_node_links'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_show_term_page_children'; + $strongarm->value = 0; + $export['faq_show_term_page_children'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_title'; + $strongarm->value = 'Frequently Asked Questions'; + $export['faq_title'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_use_categories'; + $strongarm->value = 1; + $export['faq_use_categories'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'faq_use_teaser'; + $strongarm->value = 1; + $export['faq_use_teaser'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'nodeformscols_field_placements_faq_default'; + $strongarm->value = array( + 'title' => array( + 'region' => 'main', + 'weight' => '1', + 'has_required' => TRUE, + 'title' => 'Question', + ), + 'additional_settings' => array( + 'region' => 'main', + 'weight' => '5', + 'has_required' => FALSE, + 'title' => 'Vertical tabs', + 'hidden' => 0, + ), + 'actions' => array( + 'region' => 'right', + 'weight' => '3', + 'has_required' => FALSE, + 'title' => 'Save', + 'hidden' => 0, + ), + 'language' => array( + 'region' => 'right', + 'weight' => '1', + 'has_required' => FALSE, + 'title' => 'Language', + 'hidden' => 0, + ), + 'body' => array( + 'region' => 'main', + 'weight' => '3', + 'has_required' => FALSE, + 'title' => 'Answer', + 'hidden' => 0, + ), + 'field_categories' => array( + 'region' => 'right', + 'weight' => '0', + 'has_required' => TRUE, + 'title' => 'Categories', + ), + 'title_field' => array( + 'region' => 'main', + 'weight' => '0', + 'has_required' => TRUE, + 'title' => 'Title', + ), + 'workflow' => array( + 'region' => 'right', + 'weight' => '2', + 'has_required' => FALSE, + 'title' => 'Importé', + 'hidden' => 0, + ), + ); + $export['nodeformscols_field_placements_faq_default'] = $strongarm; + + return $export; +} diff --git a/sites/all/modules/features/materio_administration/materio_administration.features.inc b/sites/all/modules/features/materio_administration/materio_administration.features.inc new file mode 100644 index 00000000..056072d1 --- /dev/null +++ b/sites/all/modules/features/materio_administration/materio_administration.features.inc @@ -0,0 +1,21 @@ + "1"); + } +} + +/** + * Implements hook_views_api(). + */ +function materio_administration_views_api($module = NULL, $api = NULL) { + return array("api" => "3.0"); +} diff --git a/sites/all/modules/features/materio_administration/materio_administration.features.menu_custom.inc b/sites/all/modules/features/materio_administration/materio_administration.features.menu_custom.inc new file mode 100644 index 00000000..a22e1559 --- /dev/null +++ b/sites/all/modules/features/materio_administration/materio_administration.features.menu_custom.inc @@ -0,0 +1,28 @@ + 'navigation', + 'title' => 'Navigation', + 'description' => 'The Navigation menu contains links intended for site visitors. Links are added to the Navigation menu automatically by some modules.', + 'language' => 'und', + 'i18n_mode' => 0, + ); + // Translatables + // Included for use with string extractors like potx. + t('Navigation'); + t('The Navigation menu contains links intended for site visitors. Links are added to the Navigation menu automatically by some modules.'); + + + return $menus; +} diff --git a/sites/all/modules/features/materio_administration/materio_administration.features.menu_links.inc b/sites/all/modules/features/materio_administration/materio_administration.features.menu_links.inc new file mode 100644 index 00000000..61482a95 --- /dev/null +++ b/sites/all/modules/features/materio_administration/materio_administration.features.menu_links.inc @@ -0,0 +1,33 @@ + 'navigation', + 'link_path' => 'materio_search_api_ajax/actuality', + 'router_path' => 'materio_search_api_ajax/actuality', + 'link_title' => '', + 'options' => array( + 'identifier' => 'navigation_:materio_search_api_ajax/actuality', + ), + 'module' => 'system', + 'hidden' => 0, + 'external' => 0, + 'has_children' => 0, + 'expanded' => 0, + 'weight' => -45, + 'customized' => 1, + ); + + + return $menu_links; +} diff --git a/sites/all/modules/features/materio_administration/materio_administration.info b/sites/all/modules/features/materio_administration/materio_administration.info new file mode 100644 index 00000000..0ebfe83e --- /dev/null +++ b/sites/all/modules/features/materio_administration/materio_administration.info @@ -0,0 +1,42 @@ +name = Materio Administration +core = 7.x +package = Materio +dependencies[] = features +dependencies[] = menu +dependencies[] = strongarm +dependencies[] = views_bulk_operations +dependencies[] = views_data_export +dependencies[] = workflow_actions +dependencies[] = workflow_views +features[ctools][] = strongarm:strongarm:1 +features[ctools][] = views:views_default:3.0 +features[features_api][] = api:2 +features[menu_custom][] = navigation +features[menu_links][] = navigation_:materio_search_api_ajax/actuality +features[variable][] = editmenu_cache_menu +features[variable][] = editmenu_css_error +features[variable][] = editmenu_css_filename +features[variable][] = editmenu_detect_popup +features[variable][] = editmenu_dropdown_zindex +features[variable][] = editmenu_effect +features[variable][] = editmenu_effect_speed +features[variable][] = editmenu_element +features[variable][] = editmenu_element_method +features[variable][] = editmenu_exclusions +features[variable][] = editmenu_fix +features[variable][] = editmenu_hide_delay +features[variable][] = editmenu_menu +features[variable][] = editmenu_menu_scope +features[variable][] = editmenu_menubar_zindex +features[variable][] = editmenu_running +features[variable][] = editmenu_superfish_version +features[variable][] = editmenu_theme +features[variable][] = editmenu_uid1 +features[variable][] = editmenu_visibility_operator +features[variable][] = editmenu_visibility_pages +features[views_view][] = admin_content_node +features[views_view][] = admin_contents +features[views_view][] = admin_peoples +features[views_view][] = taxonomy_companies_manager +features_exclude[dependencies][views] = views +project path = sites/all/modules/features diff --git a/sites/all/modules/features/materio_administration/materio_administration.module b/sites/all/modules/features/materio_administration/materio_administration.module new file mode 100644 index 00000000..d470bb7e --- /dev/null +++ b/sites/all/modules/features/materio_administration/materio_administration.module @@ -0,0 +1,7 @@ +disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'editmenu_cache_menu'; + $strongarm->value = 0; + $export['editmenu_cache_menu'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'editmenu_css_error'; + $strongarm->value = 1333478060; + $export['editmenu_css_error'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'editmenu_css_filename'; + $strongarm->value = ''; + $export['editmenu_css_filename'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'editmenu_detect_popup'; + $strongarm->value = 1; + $export['editmenu_detect_popup'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'editmenu_dropdown_zindex'; + $strongarm->value = '9999'; + $export['editmenu_dropdown_zindex'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'editmenu_effect'; + $strongarm->value = 'opacity'; + $export['editmenu_effect'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'editmenu_effect_speed'; + $strongarm->value = 'fast'; + $export['editmenu_effect_speed'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'editmenu_element'; + $strongarm->value = 'body'; + $export['editmenu_element'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'editmenu_element_method'; + $strongarm->value = 'prepend'; + $export['editmenu_element_method'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'editmenu_exclusions'; + $strongarm->value = array( + 'adaptivetheme_gui_admin' => 0, + 'adaptivetheme_gui_starter' => 0, + 'bartik' => 0, + 'garland' => 0, + 'gui7' => 0, + 'guibik' => 0, + 'inigui' => 0, + 'rubik' => 0, + 'seven' => 0, + 'stark' => 0, + 'tao' => 0, + ); + $export['editmenu_exclusions'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'editmenu_fix'; + $strongarm->value = 'scroll'; + $export['editmenu_fix'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'editmenu_hide_delay'; + $strongarm->value = '800'; + $export['editmenu_hide_delay'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'editmenu_menu'; + $strongarm->value = 'navigation:0'; + $export['editmenu_menu'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'editmenu_menubar_zindex'; + $strongarm->value = '9999'; + $export['editmenu_menubar_zindex'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'editmenu_menu_scope'; + $strongarm->value = 'footer'; + $export['editmenu_menu_scope'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'editmenu_running'; + $strongarm->value = FALSE; + $export['editmenu_running'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'editmenu_superfish_version'; + $strongarm->value = 'superfish-1.4.1.js'; + $export['editmenu_superfish_version'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'editmenu_theme'; + $strongarm->value = 'gui.net'; + $export['editmenu_theme'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'editmenu_uid1'; + $strongarm->value = 0; + $export['editmenu_uid1'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'editmenu_visibility_operator'; + $strongarm->value = '0'; + $export['editmenu_visibility_operator'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'editmenu_visibility_pages'; + $strongarm->value = ''; + $export['editmenu_visibility_pages'] = $strongarm; + + return $export; +} diff --git a/sites/all/modules/features/materio_administration/materio_administration.views_default.inc b/sites/all/modules/features/materio_administration/materio_administration.views_default.inc new file mode 100644 index 00000000..d1f4420a --- /dev/null +++ b/sites/all/modules/features/materio_administration/materio_administration.views_default.inc @@ -0,0 +1,2811 @@ +name = 'admin_content_node'; + $view->description = 'View, edit, and delete your site\'s content.'; + $view->tag = 'admin'; + $view->base_table = 'node'; + $view->human_name = ''; + $view->core = 0; + $view->api_version = '3.0'; + $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ + + /* Display: Defaults */ + $handler = $view->new_display('default', 'Defaults', 'default'); + $handler->display->display_options['title'] = 'Contenu'; + $handler->display->display_options['use_ajax'] = TRUE; + $handler->display->display_options['use_more_always'] = FALSE; + $handler->display->display_options['use_more_text'] = 'plus'; + $handler->display->display_options['access']['type'] = 'perm'; + $handler->display->display_options['access']['perm'] = 'administer nodes'; + $handler->display->display_options['cache']['type'] = 'none'; + $handler->display->display_options['query']['type'] = 'views_query'; + $handler->display->display_options['exposed_form']['type'] = 'basic'; + $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer'; + $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Réinitialiser'; + $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par'; + $handler->display->display_options['pager']['type'] = 'full'; + $handler->display->display_options['pager']['options']['items_per_page'] = 50; + $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page'; + $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -'; + $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage'; + $handler->display->display_options['pager']['options']['tags']['first'] = '« premier'; + $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent'; + $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›'; + $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »'; + $handler->display->display_options['style_plugin'] = 'table'; + $handler->display->display_options['style_options']['grouping'] = ''; + $handler->display->display_options['style_options']['columns'] = array( + 'title' => 'title', + 'type' => 'title', + 'name' => 'name', + 'status' => 'status', + 'changed' => 'changed', + 'edit_node' => 'title', + 'delete_node' => 'delete_node', + ); + $handler->display->display_options['style_options']['default'] = '-1'; + $handler->display->display_options['style_options']['info'] = array( + 'title' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'type' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'name' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'status' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'changed' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + ), + 'edit_node' => array( + 'align' => '', + 'separator' => '', + ), + 'delete_node' => array( + 'align' => '', + 'separator' => '', + ), + ); + /* Relation: Révision de contenu : Utilisateur */ + $handler->display->display_options['relationships']['uid']['id'] = 'uid'; + $handler->display->display_options['relationships']['uid']['table'] = 'node_revision'; + $handler->display->display_options['relationships']['uid']['field'] = 'uid'; + $handler->display->display_options['relationships']['uid']['label'] = 'Utilisateur'; + $handler->display->display_options['relationships']['uid']['required'] = TRUE; + /* Relation: Contenu : Termes de taxonomie du nœud */ + $handler->display->display_options['relationships']['term_node_tid']['id'] = 'term_node_tid'; + $handler->display->display_options['relationships']['term_node_tid']['table'] = 'node'; + $handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid'; + /* Champ: Contenu : Titre */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + /* Champ: Contenu : Type */ + $handler->display->display_options['fields']['type']['id'] = 'type'; + $handler->display->display_options['fields']['type']['table'] = 'node'; + $handler->display->display_options['fields']['type']['field'] = 'type'; + /* Champ: Contenu : Publié */ + $handler->display->display_options['fields']['status']['id'] = 'status'; + $handler->display->display_options['fields']['status']['table'] = 'node'; + $handler->display->display_options['fields']['status']['field'] = 'status'; + $handler->display->display_options['fields']['status']['not'] = 0; + /* Champ: Contenu : Date de mise à jour */ + $handler->display->display_options['fields']['changed']['id'] = 'changed'; + $handler->display->display_options['fields']['changed']['table'] = 'node'; + $handler->display->display_options['fields']['changed']['field'] = 'changed'; + $handler->display->display_options['fields']['changed']['label'] = 'Mis à jour'; + /* Champ: Contenu : Lien de modification */ + $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node'; + $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node'; + $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node'; + $handler->display->display_options['fields']['edit_node']['label'] = ''; + /* Champ: Contenu : Lien de suppression */ + $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node'; + $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node'; + $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node'; + $handler->display->display_options['fields']['delete_node']['label'] = ''; + /* Critère de tri: Contenu : Date de publication */ + $handler->display->display_options['sorts']['created']['id'] = 'created'; + $handler->display->display_options['sorts']['created']['table'] = 'node'; + $handler->display->display_options['sorts']['created']['field'] = 'created'; + $handler->display->display_options['sorts']['created']['order'] = 'DESC'; + $handler->display->display_options['filter_groups']['groups'] = array( + 1 => 'AND', + 2 => 'AND', + ); + /* Critère de filtrage: Contenu : Titre */ + $handler->display->display_options['filters']['title']['id'] = 'title'; + $handler->display->display_options['filters']['title']['table'] = 'node'; + $handler->display->display_options['filters']['title']['field'] = 'title'; + $handler->display->display_options['filters']['title']['operator'] = 'contains'; + $handler->display->display_options['filters']['title']['group'] = 1; + $handler->display->display_options['filters']['title']['exposed'] = TRUE; + $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op'; + $handler->display->display_options['filters']['title']['expose']['label'] = 'Titre'; + $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op'; + $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title'; + /* Critère de filtrage: Contenu : Type */ + $handler->display->display_options['filters']['type']['id'] = 'type'; + $handler->display->display_options['filters']['type']['table'] = 'node'; + $handler->display->display_options['filters']['type']['field'] = 'type'; + $handler->display->display_options['filters']['type']['group'] = 1; + $handler->display->display_options['filters']['type']['exposed'] = TRUE; + $handler->display->display_options['filters']['type']['expose']['operator_id'] = 'type_op'; + $handler->display->display_options['filters']['type']['expose']['label'] = 'Type'; + $handler->display->display_options['filters']['type']['expose']['use_operator'] = TRUE; + $handler->display->display_options['filters']['type']['expose']['operator'] = 'type_op'; + $handler->display->display_options['filters']['type']['expose']['identifier'] = 'type'; + $handler->display->display_options['filters']['type']['expose']['remember'] = TRUE; + /* Critère de filtrage: Utilisateur : Nom */ + $handler->display->display_options['filters']['uid']['id'] = 'uid'; + $handler->display->display_options['filters']['uid']['table'] = 'users'; + $handler->display->display_options['filters']['uid']['field'] = 'uid'; + $handler->display->display_options['filters']['uid']['relationship'] = 'uid'; + $handler->display->display_options['filters']['uid']['value'] = ''; + $handler->display->display_options['filters']['uid']['group'] = 1; + $handler->display->display_options['filters']['uid']['exposed'] = TRUE; + $handler->display->display_options['filters']['uid']['expose']['operator_id'] = 'uid_op'; + $handler->display->display_options['filters']['uid']['expose']['label'] = 'Auteur'; + $handler->display->display_options['filters']['uid']['expose']['operator'] = 'uid_op'; + $handler->display->display_options['filters']['uid']['expose']['identifier'] = 'name'; + /* Critère de filtrage: Contenu : Publié */ + $handler->display->display_options['filters']['status']['id'] = 'status'; + $handler->display->display_options['filters']['status']['table'] = 'node'; + $handler->display->display_options['filters']['status']['field'] = 'status'; + $handler->display->display_options['filters']['status']['value'] = 'All'; + $handler->display->display_options['filters']['status']['group'] = 1; + $handler->display->display_options['filters']['status']['exposed'] = TRUE; + $handler->display->display_options['filters']['status']['expose']['label'] = 'Publié'; + $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status'; + $handler->display->display_options['filters']['status']['expose']['remember'] = TRUE; + /* Critère de filtrage: Terme de taxonomie : Vocabulaire */ + $handler->display->display_options['filters']['vid']['id'] = 'vid'; + $handler->display->display_options['filters']['vid']['table'] = 'taxonomy_term_data'; + $handler->display->display_options['filters']['vid']['field'] = 'vid'; + $handler->display->display_options['filters']['vid']['relationship'] = 'term_node_tid'; + $handler->display->display_options['filters']['vid']['group'] = 1; + $handler->display->display_options['filters']['vid']['exposed'] = TRUE; + $handler->display->display_options['filters']['vid']['expose']['operator_id'] = 'vid_op'; + $handler->display->display_options['filters']['vid']['expose']['label'] = 'Vocabulaire'; + $handler->display->display_options['filters']['vid']['expose']['operator'] = 'vid_op'; + $handler->display->display_options['filters']['vid']['expose']['identifier'] = 'vid'; + $handler->display->display_options['filters']['vid']['expose']['remember'] = TRUE; + + /* Display: System */ + $handler = $view->new_display('system', 'System', 'system_1'); + $translatables['admin_content_node'] = array( + t('Defaults'), + t('Contenu'), + t('plus'), + t('Appliquer'), + t('Réinitialiser'), + t('Trier par'), + t('Asc'), + t('Desc'), + t('Éléments par page'), + t('- Tout -'), + t('Décalage'), + t('« premier'), + t('‹ précédent'), + t('suivant ›'), + t('dernier »'), + t('Utilisateur'), + t('terme'), + t('Titre'), + t('Type'), + t('Publié'), + t('Mis à jour'), + t('Auteur'), + t('Vocabulaire'), + t('System'), + ); + $export['admin_content_node'] = $view; + + $view = new view(); + $view->name = 'admin_contents'; + $view->description = 'Administrative view for content'; + $view->tag = 'default'; + $view->base_table = 'node'; + $view->human_name = 'Admin Content'; + $view->core = 7; + $view->api_version = '3.0'; + $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ + + /* Display: Master */ + $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['title'] = 'Contenu'; + $handler->display->display_options['use_more_always'] = FALSE; + $handler->display->display_options['use_more_text'] = 'plus'; + $handler->display->display_options['access']['type'] = 'role'; + $handler->display->display_options['access']['role'] = array( + 3 => '3', + 4 => '4', + ); + $handler->display->display_options['cache']['type'] = 'none'; + $handler->display->display_options['query']['type'] = 'views_query'; + $handler->display->display_options['query']['options']['distinct'] = TRUE; + $handler->display->display_options['exposed_form']['type'] = 'basic'; + $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Filtrer'; + $handler->display->display_options['exposed_form']['options']['reset_button'] = TRUE; + $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'réinitialiser'; + $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par'; + $handler->display->display_options['pager']['type'] = 'mini'; + $handler->display->display_options['pager']['options']['items_per_page'] = '10'; + $handler->display->display_options['pager']['options']['offset'] = '0'; + $handler->display->display_options['pager']['options']['id'] = '0'; + $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page'; + $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -'; + $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage'; + $handler->display->display_options['pager']['options']['tags']['first'] = '« premier'; + $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent'; + $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›'; + $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »'; + $handler->display->display_options['style_plugin'] = 'table'; + $handler->display->display_options['style_options']['columns'] = array( + 'views_bulk_operations' => 'views_bulk_operations', + 'field_materiau_image' => 'field_materiau_image', + 'field_visuel' => 'field_materiau_image', + 'type' => 'title', + 'title' => 'title', + 'field_reference_materio' => 'title', + 'edit_node' => 'title', + 'field_company_fab' => 'field_company_fab', + 'field_company_distrib' => 'field_company_fab', + 'field_onthologie' => 'field_onthologie', + 'field_tags_libres' => 'field_tags_libres', + 'field_materiau_ref' => 'field_materiau_ref', + 'field_breve_ref' => 'field_materiau_ref', + 'field_memo' => 'field_memo', + 'field_attachments' => 'field_attachments', + 'field_localisation' => 'field_localisation', + 'created' => 'created', + 'sid' => 'sid', + 'delete_node' => 'sid', + ); + $handler->display->display_options['style_options']['default'] = '-1'; + $handler->display->display_options['style_options']['info'] = array( + 'views_bulk_operations' => array( + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'field_materiau_image' => array( + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'field_visuel' => array( + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'type' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'title' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '
', + 'empty_column' => 0, + ), + 'field_reference_materio' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'edit_node' => array( + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'field_company_fab' => array( + 'align' => '', + 'separator' => '
', + 'empty_column' => 0, + ), + 'field_company_distrib' => array( + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'field_onthologie' => array( + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'field_tags_libres' => array( + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'field_materiau_ref' => array( + 'align' => '', + 'separator' => '
', + 'empty_column' => 0, + ), + 'field_breve_ref' => array( + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'field_memo' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'field_attachments' => array( + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'field_localisation' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'created' => array( + 'sortable' => 1, + 'default_sort_order' => 'desc', + 'align' => '', + 'separator' => '
', + 'empty_column' => 0, + ), + 'sid' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '
', + 'empty_column' => 0, + ), + 'delete_node' => array( + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + ); + $handler->display->display_options['style_options']['override'] = FALSE; + /* Entête: Global : Résumé des résultats */ + $handler->display->display_options['header']['result']['id'] = 'result'; + $handler->display->display_options['header']['result']['table'] = 'views'; + $handler->display->display_options['header']['result']['field'] = 'result'; + $handler->display->display_options['header']['result']['label'] = 'Résumé'; + /* Champ: Contenu : Type */ + $handler->display->display_options['fields']['type']['id'] = 'type'; + $handler->display->display_options['fields']['type']['table'] = 'node'; + $handler->display->display_options['fields']['type']['field'] = 'type'; + /* Champ: Contenu : Titre */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = 'Title / Name'; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_type'] = 'strong'; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Champ: Contenu : Référence Materio */ + $handler->display->display_options['fields']['field_reference_materio']['id'] = 'field_reference_materio'; + $handler->display->display_options['fields']['field_reference_materio']['table'] = 'field_data_field_reference_materio'; + $handler->display->display_options['fields']['field_reference_materio']['field'] = 'field_reference_materio'; + /* Champ: Contenu : Lien de modification */ + $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node'; + $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node'; + $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node'; + $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE; + $handler->display->display_options['fields']['edit_node']['alter']['text'] = '[edit_node]'; + /* Champ: Contenu : Manufacturer */ + $handler->display->display_options['fields']['field_company_fab']['id'] = 'field_company_fab'; + $handler->display->display_options['fields']['field_company_fab']['table'] = 'field_data_field_company_fab'; + $handler->display->display_options['fields']['field_company_fab']['field'] = 'field_company_fab'; + $handler->display->display_options['fields']['field_company_fab']['label'] = 'Fabricants / Distributeurs'; + $handler->display->display_options['fields']['field_company_fab']['delta_offset'] = '0'; + /* Champ: Contenu : Distributor */ + $handler->display->display_options['fields']['field_company_distrib']['id'] = 'field_company_distrib'; + $handler->display->display_options['fields']['field_company_distrib']['table'] = 'field_data_field_company_distrib'; + $handler->display->display_options['fields']['field_company_distrib']['field'] = 'field_company_distrib'; + $handler->display->display_options['fields']['field_company_distrib']['delta_offset'] = '0'; + /* Champ: Contenu : Langue */ + $handler->display->display_options['fields']['language']['id'] = 'language'; + $handler->display->display_options['fields']['language']['table'] = 'node'; + $handler->display->display_options['fields']['language']['field'] = 'language'; + /* Champ: Traduction du contenu : Lien de traduction */ + $handler->display->display_options['fields']['translate_node']['id'] = 'translate_node'; + $handler->display->display_options['fields']['translate_node']['table'] = 'node'; + $handler->display->display_options['fields']['translate_node']['field'] = 'translate_node'; + $handler->display->display_options['fields']['translate_node']['alter']['text'] = '[translate_node]'; + /* Champ: Traduction du contenu : Statut de la traduction */ + $handler->display->display_options['fields']['translate']['id'] = 'translate'; + $handler->display->display_options['fields']['translate']['table'] = 'node'; + $handler->display->display_options['fields']['translate']['field'] = 'translate'; + $handler->display->display_options['fields']['translate']['exclude'] = TRUE; + $handler->display->display_options['fields']['translate']['not'] = 0; + /* Champ: Processus : État actuel */ + $handler->display->display_options['fields']['sid']['id'] = 'sid'; + $handler->display->display_options['fields']['sid']['table'] = 'workflow_node'; + $handler->display->display_options['fields']['sid']['field'] = 'sid'; + /* Champ: Contenu : Date de mise à jour */ + $handler->display->display_options['fields']['changed']['id'] = 'changed'; + $handler->display->display_options['fields']['changed']['table'] = 'node'; + $handler->display->display_options['fields']['changed']['field'] = 'changed'; + $handler->display->display_options['fields']['changed']['date_format'] = 'short'; + /* Champ: Champ : Mémo */ + $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo'; + $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo'; + $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo'; + $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE; + /* Champ: Contenu : Lien de suppression */ + $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node'; + $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node'; + $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node'; + $handler->display->display_options['fields']['delete_node']['alter']['alter_text'] = TRUE; + $handler->display->display_options['fields']['delete_node']['alter']['text'] = '[delete_node]'; + /* Critère de tri: Contenu : Date de mise à jour */ + $handler->display->display_options['sorts']['changed']['id'] = 'changed'; + $handler->display->display_options['sorts']['changed']['table'] = 'node'; + $handler->display->display_options['sorts']['changed']['field'] = 'changed'; + $handler->display->display_options['sorts']['changed']['order'] = 'DESC'; + $handler->display->display_options['sorts']['changed']['granularity'] = 'minute'; + /* Critère de filtrage: Contenu : Titre */ + $handler->display->display_options['filters']['title']['id'] = 'title'; + $handler->display->display_options['filters']['title']['table'] = 'node'; + $handler->display->display_options['filters']['title']['field'] = 'title'; + $handler->display->display_options['filters']['title']['operator'] = 'contains'; + $handler->display->display_options['filters']['title']['group'] = 1; + $handler->display->display_options['filters']['title']['exposed'] = TRUE; + $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op'; + $handler->display->display_options['filters']['title']['expose']['label'] = 'Le titre contient'; + $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op'; + $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title'; + $handler->display->display_options['filters']['title']['expose']['remember'] = TRUE; + /* Critère de filtrage: Processus : État actuel */ + $handler->display->display_options['filters']['sid']['id'] = 'sid'; + $handler->display->display_options['filters']['sid']['table'] = 'workflow_node'; + $handler->display->display_options['filters']['sid']['field'] = 'sid'; + $handler->display->display_options['filters']['sid']['group'] = 1; + $handler->display->display_options['filters']['sid']['exposed'] = TRUE; + $handler->display->display_options['filters']['sid']['expose']['operator_id'] = 'sid_op'; + $handler->display->display_options['filters']['sid']['expose']['label'] = 'Processus'; + $handler->display->display_options['filters']['sid']['expose']['operator'] = 'sid_op'; + $handler->display->display_options['filters']['sid']['expose']['identifier'] = 'sid'; + $handler->display->display_options['filters']['sid']['expose']['remember'] = TRUE; + /* Critère de filtrage: Contenu : Type */ + $handler->display->display_options['filters']['type']['id'] = 'type'; + $handler->display->display_options['filters']['type']['table'] = 'node'; + $handler->display->display_options['filters']['type']['field'] = 'type'; + $handler->display->display_options['filters']['type']['value'] = array( + 'breve' => 'breve', + 'materiau' => 'materiau', + 'page' => 'page', + ); + $handler->display->display_options['filters']['type']['group'] = 1; + $handler->display->display_options['filters']['type']['exposed'] = TRUE; + $handler->display->display_options['filters']['type']['expose']['operator_id'] = 'type_op'; + $handler->display->display_options['filters']['type']['expose']['label'] = 'Type de contenu'; + $handler->display->display_options['filters']['type']['expose']['operator'] = 'type_op'; + $handler->display->display_options['filters']['type']['expose']['identifier'] = 'type'; + $handler->display->display_options['filters']['type']['expose']['remember'] = TRUE; + $handler->display->display_options['filters']['type']['expose']['reduce'] = TRUE; + /* Critère de filtrage: Champ : Mémo (field_memo) */ + $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value'; + $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo'; + $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value'; + $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains'; + $handler->display->display_options['filters']['field_memo_value']['group'] = 1; + $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE; + $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op'; + $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo contient'; + $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op'; + $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value'; + + /* Display: Page : all */ + $handler = $view->new_display('page', 'Page : all', 'page'); + $handler->display->display_options['enabled'] = FALSE; + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; + $handler->display->display_options['defaults']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'full'; + $handler->display->display_options['pager']['options']['items_per_page'] = '25'; + $handler->display->display_options['pager']['options']['offset'] = '0'; + $handler->display->display_options['pager']['options']['id'] = '0'; + $handler->display->display_options['pager']['options']['quantity'] = '9'; + $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page'; + $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -'; + $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage'; + $handler->display->display_options['pager']['options']['tags']['first'] = '« premier'; + $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent'; + $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›'; + $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »'; + $handler->display->display_options['path'] = 'admin/content/nodes'; + $handler->display->display_options['menu']['type'] = 'tab'; + $handler->display->display_options['menu']['title'] = 'Content'; + $handler->display->display_options['menu']['weight'] = '-100'; + $handler->display->display_options['menu']['context'] = 0; + $handler->display->display_options['tab_options']['type'] = 'normal'; + $handler->display->display_options['tab_options']['title'] = 'dashboard'; + $handler->display->display_options['tab_options']['weight'] = '0'; + + /* Display: Block */ + $handler = $view->new_display('block', 'Block', 'block_1'); + $handler->display->display_options['defaults']['title'] = FALSE; + $handler->display->display_options['title'] = 'Recent Content'; + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; + $handler->display->display_options['defaults']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'some'; + $handler->display->display_options['pager']['options']['items_per_page'] = '10'; + $handler->display->display_options['pager']['options']['offset'] = '0'; + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Champ: Contenu : Type */ + $handler->display->display_options['fields']['type']['id'] = 'type'; + $handler->display->display_options['fields']['type']['table'] = 'node'; + $handler->display->display_options['fields']['type']['field'] = 'type'; + $handler->display->display_options['fields']['type']['hide_alter_empty'] = FALSE; + /* Champ: Contenu : Titre */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Champ: Contenu : Lien de modification */ + $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node'; + $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node'; + $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node'; + $handler->display->display_options['fields']['edit_node']['label'] = 'Modifier'; + $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE; + $handler->display->display_options['fields']['edit_node']['alter']['text'] = '[edit_node]'; + $handler->display->display_options['fields']['edit_node']['hide_alter_empty'] = FALSE; + /* Champ: Contenu : Publié */ + $handler->display->display_options['fields']['status']['id'] = 'status'; + $handler->display->display_options['fields']['status']['table'] = 'node'; + $handler->display->display_options['fields']['status']['field'] = 'status'; + $handler->display->display_options['fields']['status']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['status']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['status']['not'] = 0; + /* Champ: Contenu : Langue */ + $handler->display->display_options['fields']['language']['id'] = 'language'; + $handler->display->display_options['fields']['language']['table'] = 'node'; + $handler->display->display_options['fields']['language']['field'] = 'language'; + $handler->display->display_options['fields']['language']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['language']['hide_alter_empty'] = FALSE; + /* Champ: Traduction du contenu : Lien de traduction */ + $handler->display->display_options['fields']['translate_node']['id'] = 'translate_node'; + $handler->display->display_options['fields']['translate_node']['table'] = 'node'; + $handler->display->display_options['fields']['translate_node']['field'] = 'translate_node'; + $handler->display->display_options['fields']['translate_node']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['translate_node']['hide_alter_empty'] = FALSE; + $handler->display->display_options['fields']['translate_node']['text'] = 'Traduire'; + + /* Display: Page : materiaux */ + $handler = $view->new_display('page', 'Page : materiaux', 'page_1'); + $handler->display->display_options['defaults']['title'] = FALSE; + $handler->display->display_options['title'] = 'Materiaux/brèves'; + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; + $handler->display->display_options['defaults']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'full'; + $handler->display->display_options['pager']['options']['items_per_page'] = '50'; + $handler->display->display_options['pager']['options']['offset'] = '0'; + $handler->display->display_options['pager']['options']['id'] = '0'; + $handler->display->display_options['pager']['options']['quantity'] = '9'; + $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page'; + $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -'; + $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage'; + $handler->display->display_options['pager']['options']['tags']['first'] = '« premier'; + $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent'; + $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›'; + $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »'; + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Champ: Opérations en masse : Contenu */ + $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations'; + $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'node'; + $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations'; + $handler->display->display_options['fields']['views_bulk_operations']['label'] = ''; + $handler->display->display_options['fields']['views_bulk_operations']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0'; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10'; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array( + 'action::system_message_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::workflow_select_given_state_action' => array( + 'selected' => 1, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::workflow_select_next_state_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_assign_owner_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_unpublish_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_unpublish_by_keyword_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_save_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::system_send_email_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::views_bulk_operations_script_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::views_bulk_operations_modify_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'settings' => array( + 'show_all_tokens' => 1, + 'display_values' => array( + 'breve::field_memo' => 'breve::field_memo', + 'company::field_memo' => 'company::field_memo', + 'materiau::field_memo' => 'materiau::field_memo', + ), + ), + 'postpone_processing' => 0, + ), + 'action::views_bulk_operations_argument_selector_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'settings' => array( + 'url' => '', + ), + ), + 'action::node_promote_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_publish_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::system_goto_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_unpromote_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_make_unsticky_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::views_bulk_operations_delete_item' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::pathauto_node_update_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_make_sticky_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + ); + /* Champ: Contenu : Image */ + $handler->display->display_options['fields']['field_materiau_image']['id'] = 'field_materiau_image'; + $handler->display->display_options['fields']['field_materiau_image']['table'] = 'field_data_field_materiau_image'; + $handler->display->display_options['fields']['field_materiau_image']['field'] = 'field_materiau_image'; + $handler->display->display_options['fields']['field_materiau_image']['click_sort_column'] = 'fid'; + $handler->display->display_options['fields']['field_materiau_image']['settings'] = array( + 'image_style' => 'thumbnail', + 'image_link' => 'content', + ); + $handler->display->display_options['fields']['field_materiau_image']['delta_limit'] = '1'; + $handler->display->display_options['fields']['field_materiau_image']['delta_offset'] = '0'; + /* Champ: Contenu : Image */ + $handler->display->display_options['fields']['field_visuel']['id'] = 'field_visuel'; + $handler->display->display_options['fields']['field_visuel']['table'] = 'field_data_field_visuel'; + $handler->display->display_options['fields']['field_visuel']['field'] = 'field_visuel'; + $handler->display->display_options['fields']['field_visuel']['click_sort_column'] = 'fid'; + $handler->display->display_options['fields']['field_visuel']['settings'] = array( + 'image_style' => 'thumbnail', + 'image_link' => 'content', + ); + $handler->display->display_options['fields']['field_visuel']['delta_limit'] = '1'; + $handler->display->display_options['fields']['field_visuel']['delta_offset'] = '0'; + /* Champ: Contenu : Type */ + $handler->display->display_options['fields']['type']['id'] = 'type'; + $handler->display->display_options['fields']['type']['table'] = 'node'; + $handler->display->display_options['fields']['type']['field'] = 'type'; + /* Champ: Contenu : Titre */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = 'Title/Name'; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_type'] = 'strong'; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Champ: Contenu : Référence Materio */ + $handler->display->display_options['fields']['field_reference_materio']['id'] = 'field_reference_materio'; + $handler->display->display_options['fields']['field_reference_materio']['table'] = 'field_data_field_reference_materio'; + $handler->display->display_options['fields']['field_reference_materio']['field'] = 'field_reference_materio'; + /* Champ: Contenu : Lien de modification */ + $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node'; + $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node'; + $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node'; + $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE; + $handler->display->display_options['fields']['edit_node']['alter']['text'] = '[edit_node]'; + /* Champ: Contenu : Manufacturer */ + $handler->display->display_options['fields']['field_company_fab']['id'] = 'field_company_fab'; + $handler->display->display_options['fields']['field_company_fab']['table'] = 'field_data_field_company_fab'; + $handler->display->display_options['fields']['field_company_fab']['field'] = 'field_company_fab'; + $handler->display->display_options['fields']['field_company_fab']['label'] = 'Fabricants/Distributeurs'; + $handler->display->display_options['fields']['field_company_fab']['alter']['alter_text'] = TRUE; + $handler->display->display_options['fields']['field_company_fab']['alter']['text'] = 'Fab :
+[field_company_fab] '; + $handler->display->display_options['fields']['field_company_fab']['delta_offset'] = '0'; + /* Champ: Contenu : Distributor */ + $handler->display->display_options['fields']['field_company_distrib']['id'] = 'field_company_distrib'; + $handler->display->display_options['fields']['field_company_distrib']['table'] = 'field_data_field_company_distrib'; + $handler->display->display_options['fields']['field_company_distrib']['field'] = 'field_company_distrib'; + $handler->display->display_options['fields']['field_company_distrib']['alter']['alter_text'] = TRUE; + $handler->display->display_options['fields']['field_company_distrib']['alter']['text'] = 'Distrib :
+[field_company_distrib]'; + $handler->display->display_options['fields']['field_company_distrib']['delta_offset'] = '0'; + /* Champ: Contenu : Onthologie */ + $handler->display->display_options['fields']['field_onthologie']['id'] = 'field_onthologie'; + $handler->display->display_options['fields']['field_onthologie']['table'] = 'field_data_field_onthologie'; + $handler->display->display_options['fields']['field_onthologie']['field'] = 'field_onthologie'; + $handler->display->display_options['fields']['field_onthologie']['type'] = 'i18n_taxonomy_term_reference_plain'; + $handler->display->display_options['fields']['field_onthologie']['delta_limit'] = '5'; + $handler->display->display_options['fields']['field_onthologie']['delta_offset'] = '0'; + $handler->display->display_options['fields']['field_onthologie']['multi_type'] = 'ol'; + /* Champ: Contenu : Tags libres */ + $handler->display->display_options['fields']['field_tags_libres']['id'] = 'field_tags_libres'; + $handler->display->display_options['fields']['field_tags_libres']['table'] = 'field_data_field_tags_libres'; + $handler->display->display_options['fields']['field_tags_libres']['field'] = 'field_tags_libres'; + $handler->display->display_options['fields']['field_tags_libres']['type'] = 'i18n_taxonomy_term_reference_plain'; + $handler->display->display_options['fields']['field_tags_libres']['delta_limit'] = '4'; + $handler->display->display_options['fields']['field_tags_libres']['delta_offset'] = '0'; + $handler->display->display_options['fields']['field_tags_libres']['multi_type'] = 'ul'; + /* Champ: Contenu : Materiau(x) lié(s) */ + $handler->display->display_options['fields']['field_materiau_ref']['id'] = 'field_materiau_ref'; + $handler->display->display_options['fields']['field_materiau_ref']['table'] = 'field_data_field_materiau_ref'; + $handler->display->display_options['fields']['field_materiau_ref']['field'] = 'field_materiau_ref'; + $handler->display->display_options['fields']['field_materiau_ref']['alter']['text'] = 'Materiaux :
[field_materiau_ref] +'; + $handler->display->display_options['fields']['field_materiau_ref']['hide_empty'] = TRUE; + $handler->display->display_options['fields']['field_materiau_ref']['settings'] = array( + 'link' => 1, + ); + $handler->display->display_options['fields']['field_materiau_ref']['delta_offset'] = '0'; + /* Champ: Contenu : Brève(s) liée(s) */ + $handler->display->display_options['fields']['field_breve_ref']['id'] = 'field_breve_ref'; + $handler->display->display_options['fields']['field_breve_ref']['table'] = 'field_data_field_breve_ref'; + $handler->display->display_options['fields']['field_breve_ref']['field'] = 'field_breve_ref'; + $handler->display->display_options['fields']['field_breve_ref']['alter']['text'] = 'Brèves :
[field_breve_ref]'; + $handler->display->display_options['fields']['field_breve_ref']['hide_empty'] = TRUE; + $handler->display->display_options['fields']['field_breve_ref']['settings'] = array( + 'link' => 1, + ); + $handler->display->display_options['fields']['field_breve_ref']['delta_offset'] = '0'; + /* Champ: Champ : Mémo */ + $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo'; + $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo'; + $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo'; + $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE; + $handler->display->display_options['fields']['field_memo']['alter']['max_length'] = '300'; + $handler->display->display_options['fields']['field_memo']['alter']['strip_tags'] = TRUE; + $handler->display->display_options['fields']['field_memo']['alter']['trim'] = TRUE; + /* Champ: Contenu : Fichiers joints */ + $handler->display->display_options['fields']['field_attachments']['id'] = 'field_attachments'; + $handler->display->display_options['fields']['field_attachments']['table'] = 'field_data_field_attachments'; + $handler->display->display_options['fields']['field_attachments']['field'] = 'field_attachments'; + $handler->display->display_options['fields']['field_attachments']['click_sort_column'] = 'fid'; + $handler->display->display_options['fields']['field_attachments']['delta_offset'] = '0'; + /* Champ: Contenu : Localisation */ + $handler->display->display_options['fields']['field_localisation']['id'] = 'field_localisation'; + $handler->display->display_options['fields']['field_localisation']['table'] = 'field_data_field_localisation'; + $handler->display->display_options['fields']['field_localisation']['field'] = 'field_localisation'; + /* Champ: Processus : État actuel */ + $handler->display->display_options['fields']['sid']['id'] = 'sid'; + $handler->display->display_options['fields']['sid']['table'] = 'workflow_node'; + $handler->display->display_options['fields']['sid']['field'] = 'sid'; + /* Champ: Contenu : Lien de suppression */ + $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node'; + $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node'; + $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node'; + $handler->display->display_options['fields']['delete_node']['alter']['alter_text'] = TRUE; + $handler->display->display_options['fields']['delete_node']['alter']['text'] = '[delete_node]'; + $handler->display->display_options['defaults']['filter_groups'] = FALSE; + $handler->display->display_options['defaults']['filters'] = FALSE; + /* Critère de filtrage: Contenu : Type */ + $handler->display->display_options['filters']['type_1']['id'] = 'type_1'; + $handler->display->display_options['filters']['type_1']['table'] = 'node'; + $handler->display->display_options['filters']['type_1']['field'] = 'type'; + $handler->display->display_options['filters']['type_1']['operator'] = 'not in'; + $handler->display->display_options['filters']['type_1']['value'] = array( + 'company' => 'company', + 'didactique' => 'didactique', + 'faq' => 'faq', + 'page' => 'page', + 'panel' => 'panel', + 'product' => 'product', + 'simplenews' => 'simplenews', + 'webform' => 'webform', + 'looping_embed_video' => 'looping_embed_video', + ); + $handler->display->display_options['filters']['type_1']['group'] = 1; + /* Critère de filtrage: Contenu : Titre */ + $handler->display->display_options['filters']['title']['id'] = 'title'; + $handler->display->display_options['filters']['title']['table'] = 'node'; + $handler->display->display_options['filters']['title']['field'] = 'title'; + $handler->display->display_options['filters']['title']['operator'] = 'contains'; + $handler->display->display_options['filters']['title']['group'] = 1; + $handler->display->display_options['filters']['title']['exposed'] = TRUE; + $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op'; + $handler->display->display_options['filters']['title']['expose']['label'] = 'Title / Name contains'; + $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op'; + $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title'; + $handler->display->display_options['filters']['title']['expose']['remember'] = TRUE; + /* Critère de filtrage: Champ : Mémo (field_memo) */ + $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value'; + $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo'; + $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value'; + $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains'; + $handler->display->display_options['filters']['field_memo_value']['group'] = 1; + $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE; + $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op'; + $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo contient'; + $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op'; + $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value'; + /* Critère de filtrage: Processus : État actuel */ + $handler->display->display_options['filters']['sid']['id'] = 'sid'; + $handler->display->display_options['filters']['sid']['table'] = 'workflow_node'; + $handler->display->display_options['filters']['sid']['field'] = 'sid'; + $handler->display->display_options['filters']['sid']['group'] = 1; + $handler->display->display_options['filters']['sid']['exposed'] = TRUE; + $handler->display->display_options['filters']['sid']['expose']['operator_id'] = 'sid_op'; + $handler->display->display_options['filters']['sid']['expose']['label'] = 'Processus'; + $handler->display->display_options['filters']['sid']['expose']['operator'] = 'sid_op'; + $handler->display->display_options['filters']['sid']['expose']['identifier'] = 'sid'; + $handler->display->display_options['filters']['sid']['expose']['remember'] = TRUE; + /* Critère de filtrage: Contenu : Type */ + $handler->display->display_options['filters']['type']['id'] = 'type'; + $handler->display->display_options['filters']['type']['table'] = 'node'; + $handler->display->display_options['filters']['type']['field'] = 'type'; + $handler->display->display_options['filters']['type']['value'] = array( + 'breve' => 'breve', + 'materiau' => 'materiau', + ); + $handler->display->display_options['filters']['type']['group'] = 1; + $handler->display->display_options['filters']['type']['exposed'] = TRUE; + $handler->display->display_options['filters']['type']['expose']['operator_id'] = 'type_op'; + $handler->display->display_options['filters']['type']['expose']['label'] = 'Type de contenu'; + $handler->display->display_options['filters']['type']['expose']['operator'] = 'type_op'; + $handler->display->display_options['filters']['type']['expose']['identifier'] = 'type'; + $handler->display->display_options['filters']['type']['expose']['remember'] = TRUE; + $handler->display->display_options['filters']['type']['expose']['remember_roles'] = array( + 2 => '2', + 1 => 0, + 9 => 0, + 7 => 0, + 10 => 0, + 6 => 0, + 8 => 0, + 5 => 0, + 3 => 0, + 4 => 0, + ); + $handler->display->display_options['filters']['type']['expose']['reduce'] = TRUE; + /* Critère de filtrage: Contenu : Famille (field_famille) */ + $handler->display->display_options['filters']['field_famille_value']['id'] = 'field_famille_value'; + $handler->display->display_options['filters']['field_famille_value']['table'] = 'field_data_field_famille'; + $handler->display->display_options['filters']['field_famille_value']['field'] = 'field_famille_value'; + $handler->display->display_options['filters']['field_famille_value']['group'] = 1; + $handler->display->display_options['filters']['field_famille_value']['exposed'] = TRUE; + $handler->display->display_options['filters']['field_famille_value']['expose']['operator_id'] = 'field_famille_value_op'; + $handler->display->display_options['filters']['field_famille_value']['expose']['label'] = 'Famille'; + $handler->display->display_options['filters']['field_famille_value']['expose']['operator'] = 'field_famille_value_op'; + $handler->display->display_options['filters']['field_famille_value']['expose']['identifier'] = 'field_famille_value'; + $handler->display->display_options['filters']['field_famille_value']['expose']['remember'] = TRUE; + /* Critère de filtrage: Contenu : Référence Materio (field_reference_materio) */ + $handler->display->display_options['filters']['field_reference_materio_value']['id'] = 'field_reference_materio_value'; + $handler->display->display_options['filters']['field_reference_materio_value']['table'] = 'field_data_field_reference_materio'; + $handler->display->display_options['filters']['field_reference_materio_value']['field'] = 'field_reference_materio_value'; + $handler->display->display_options['filters']['field_reference_materio_value']['operator'] = 'contains'; + $handler->display->display_options['filters']['field_reference_materio_value']['exposed'] = TRUE; + $handler->display->display_options['filters']['field_reference_materio_value']['expose']['operator_id'] = 'field_reference_materio_value_op'; + $handler->display->display_options['filters']['field_reference_materio_value']['expose']['label'] = 'Référence'; + $handler->display->display_options['filters']['field_reference_materio_value']['expose']['operator'] = 'field_reference_materio_value_op'; + $handler->display->display_options['filters']['field_reference_materio_value']['expose']['identifier'] = 'field_reference_materio_value'; + /* Critère de filtrage: Contenu : Possède un terme de la taxonomie */ + $handler->display->display_options['filters']['tid']['id'] = 'tid'; + $handler->display->display_options['filters']['tid']['table'] = 'taxonomy_index'; + $handler->display->display_options['filters']['tid']['field'] = 'tid'; + $handler->display->display_options['filters']['tid']['value'] = ''; + $handler->display->display_options['filters']['tid']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid']['expose']['operator_id'] = 'tid_op'; + $handler->display->display_options['filters']['tid']['expose']['label'] = 'Onto'; + $handler->display->display_options['filters']['tid']['expose']['operator'] = 'tid_op'; + $handler->display->display_options['filters']['tid']['expose']['identifier'] = 'tid'; + $handler->display->display_options['filters']['tid']['expose']['remember_roles'] = array( + 2 => '2', + 1 => 0, + 9 => 0, + 7 => 0, + 10 => 0, + 6 => 0, + 8 => 0, + 5 => 0, + 3 => 0, + 4 => 0, + ); + $handler->display->display_options['filters']['tid']['reduce_duplicates'] = TRUE; + $handler->display->display_options['filters']['tid']['vocabulary'] = 'onthologie'; + /* Critère de filtrage: Contenu : Possède un terme de la taxonomie */ + $handler->display->display_options['filters']['tid_1']['id'] = 'tid_1'; + $handler->display->display_options['filters']['tid_1']['table'] = 'taxonomy_index'; + $handler->display->display_options['filters']['tid_1']['field'] = 'tid'; + $handler->display->display_options['filters']['tid_1']['value'] = ''; + $handler->display->display_options['filters']['tid_1']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid_1']['expose']['operator_id'] = 'tid_1_op'; + $handler->display->display_options['filters']['tid_1']['expose']['label'] = 'Tag libres'; + $handler->display->display_options['filters']['tid_1']['expose']['operator'] = 'tid_1_op'; + $handler->display->display_options['filters']['tid_1']['expose']['identifier'] = 'tid_1'; + $handler->display->display_options['filters']['tid_1']['expose']['remember_roles'] = array( + 2 => '2', + 1 => 0, + 7 => 0, + 6 => 0, + 5 => 0, + 3 => 0, + 4 => 0, + ); + $handler->display->display_options['filters']['tid_1']['vocabulary'] = 'tag_libres'; + /* Critère de filtrage: Contenu : Possède un terme de la taxonomie */ + $handler->display->display_options['filters']['tid_2']['id'] = 'tid_2'; + $handler->display->display_options['filters']['tid_2']['table'] = 'taxonomy_index'; + $handler->display->display_options['filters']['tid_2']['field'] = 'tid'; + $handler->display->display_options['filters']['tid_2']['value'] = ''; + $handler->display->display_options['filters']['tid_2']['exposed'] = TRUE; + $handler->display->display_options['filters']['tid_2']['expose']['operator_id'] = 'tid_2_op'; + $handler->display->display_options['filters']['tid_2']['expose']['label'] = 'Société'; + $handler->display->display_options['filters']['tid_2']['expose']['operator'] = 'tid_2_op'; + $handler->display->display_options['filters']['tid_2']['expose']['identifier'] = 'tid_2'; + $handler->display->display_options['filters']['tid_2']['expose']['remember_roles'] = array( + 2 => '2', + 1 => 0, + 7 => 0, + 6 => 0, + 5 => 0, + 3 => 0, + 4 => 0, + ); + $handler->display->display_options['filters']['tid_2']['vocabulary'] = 'company'; + /* Critère de filtrage: Contenu : Publié */ + $handler->display->display_options['filters']['status']['id'] = 'status'; + $handler->display->display_options['filters']['status']['table'] = 'node'; + $handler->display->display_options['filters']['status']['field'] = 'status'; + $handler->display->display_options['filters']['status']['value'] = '1'; + $handler->display->display_options['path'] = 'admin/content/materiaux'; + $handler->display->display_options['menu']['type'] = 'tab'; + $handler->display->display_options['menu']['title'] = 'Materiaux/Brèves'; + $handler->display->display_options['menu']['description'] = 'Materiaux/Brèves'; + $handler->display->display_options['menu']['weight'] = '-100'; + $handler->display->display_options['menu']['context'] = 0; + $handler->display->display_options['menu']['context_only_inline'] = 0; + $handler->display->display_options['tab_options']['type'] = 'normal'; + $handler->display->display_options['tab_options']['title'] = 'dashboard'; + $handler->display->display_options['tab_options']['weight'] = '0'; + + /* Display: Page : companies */ + $handler = $view->new_display('page', 'Page : companies', 'page_2'); + $handler->display->display_options['defaults']['title'] = FALSE; + $handler->display->display_options['title'] = 'Companies'; + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; + $handler->display->display_options['defaults']['group_by'] = FALSE; + $handler->display->display_options['defaults']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'full'; + $handler->display->display_options['pager']['options']['items_per_page'] = '25'; + $handler->display->display_options['pager']['options']['offset'] = '0'; + $handler->display->display_options['pager']['options']['id'] = '0'; + $handler->display->display_options['pager']['options']['quantity'] = '9'; + $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page'; + $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -'; + $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage'; + $handler->display->display_options['pager']['options']['tags']['first'] = '« premier'; + $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent'; + $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›'; + $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »'; + $handler->display->display_options['defaults']['relationships'] = FALSE; + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Champ: Opérations en masse : Contenu */ + $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations'; + $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'node'; + $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations'; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0'; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10'; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array( + 'action::system_message_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::workflow_select_given_state_action' => array( + 'selected' => 1, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::workflow_select_next_state_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_assign_owner_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_unpublish_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_unpublish_by_keyword_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_save_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::system_send_email_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::views_bulk_operations_script_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::views_bulk_operations_modify_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'settings' => array( + 'show_all_tokens' => 1, + 'display_values' => array( + 'breve::field_memo' => 'breve::field_memo', + 'company::field_memo' => 'company::field_memo', + 'materiau::field_memo' => 'materiau::field_memo', + ), + ), + 'postpone_processing' => 0, + ), + 'action::views_bulk_operations_argument_selector_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'settings' => array( + 'url' => '', + ), + ), + 'action::node_promote_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_publish_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::system_goto_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_unpromote_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_make_unsticky_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::views_bulk_operations_delete_item' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::pathauto_node_update_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_make_sticky_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + ); + /* Champ: Contenu : Titre */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = 'Title / Name'; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_type'] = 'strong'; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Champ: Contenu : Date de publication */ + $handler->display->display_options['fields']['created']['id'] = 'created'; + $handler->display->display_options['fields']['created']['table'] = 'node'; + $handler->display->display_options['fields']['created']['field'] = 'created'; + $handler->display->display_options['fields']['created']['date_format'] = 'custom'; + $handler->display->display_options['fields']['created']['custom_date_format'] = 'Y/m/d'; + /* Champ: Contenu : Lien de modification */ + $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node'; + $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node'; + $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node'; + $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE; + $handler->display->display_options['fields']['edit_node']['alter']['text'] = '[edit_node]'; + /* Champ: Contenu : Adresse */ + $handler->display->display_options['fields']['field_public_address']['id'] = 'field_public_address'; + $handler->display->display_options['fields']['field_public_address']['table'] = 'field_data_field_public_address'; + $handler->display->display_options['fields']['field_public_address']['field'] = 'field_public_address'; + $handler->display->display_options['fields']['field_public_address']['click_sort_column'] = 'country'; + $handler->display->display_options['fields']['field_public_address']['settings'] = array( + 'use_widget_handlers' => 1, + 'format_handlers' => array( + 'address' => 'address', + ), + ); + /* Champ: Contenu : Phone */ + $handler->display->display_options['fields']['field_public_phone']['id'] = 'field_public_phone'; + $handler->display->display_options['fields']['field_public_phone']['table'] = 'field_data_field_public_phone'; + $handler->display->display_options['fields']['field_public_phone']['field'] = 'field_public_phone'; + $handler->display->display_options['fields']['field_public_phone']['label'] = 'Téléphone'; + $handler->display->display_options['fields']['field_public_phone']['click_sort_column'] = 'number'; + $handler->display->display_options['fields']['field_public_phone']['delta_offset'] = '0'; + /* Champ: Contenu : Langue */ + $handler->display->display_options['fields']['language']['id'] = 'language'; + $handler->display->display_options['fields']['language']['table'] = 'node'; + $handler->display->display_options['fields']['language']['field'] = 'language'; + /* Champ: Traduction du contenu : Lien de traduction */ + $handler->display->display_options['fields']['translate_node']['id'] = 'translate_node'; + $handler->display->display_options['fields']['translate_node']['table'] = 'node'; + $handler->display->display_options['fields']['translate_node']['field'] = 'translate_node'; + $handler->display->display_options['fields']['translate_node']['alter']['text'] = '[translate_node]'; + /* Champ: Traduction du contenu : Statut de la traduction */ + $handler->display->display_options['fields']['translate']['id'] = 'translate'; + $handler->display->display_options['fields']['translate']['table'] = 'node'; + $handler->display->display_options['fields']['translate']['field'] = 'translate'; + $handler->display->display_options['fields']['translate']['exclude'] = TRUE; + $handler->display->display_options['fields']['translate']['not'] = 0; + /* Champ: Contenu : website */ + $handler->display->display_options['fields']['field_website']['id'] = 'field_website'; + $handler->display->display_options['fields']['field_website']['table'] = 'field_data_field_website'; + $handler->display->display_options['fields']['field_website']['field'] = 'field_website'; + $handler->display->display_options['fields']['field_website']['click_sort_column'] = 'url'; + /* Champ: Contenu : Email */ + $handler->display->display_options['fields']['field_public_email']['id'] = 'field_public_email'; + $handler->display->display_options['fields']['field_public_email']['table'] = 'field_data_field_public_email'; + $handler->display->display_options['fields']['field_public_email']['field'] = 'field_public_email'; + $handler->display->display_options['fields']['field_public_email']['label'] = 'Courriel'; + /* Champ: Contenu : Note */ + $handler->display->display_options['fields']['field_note']['id'] = 'field_note'; + $handler->display->display_options['fields']['field_note']['table'] = 'field_data_field_note'; + $handler->display->display_options['fields']['field_note']['field'] = 'field_note'; + /* Champ: Contenu : Fichiers joints */ + $handler->display->display_options['fields']['field_attachments']['id'] = 'field_attachments'; + $handler->display->display_options['fields']['field_attachments']['table'] = 'field_data_field_attachments'; + $handler->display->display_options['fields']['field_attachments']['field'] = 'field_attachments'; + $handler->display->display_options['fields']['field_attachments']['click_sort_column'] = 'fid'; + $handler->display->display_options['fields']['field_attachments']['delta_offset'] = '0'; + /* Champ: Champ : Mémo */ + $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo'; + $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo'; + $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo'; + $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE; + /* Champ: Processus : État actuel */ + $handler->display->display_options['fields']['sid']['id'] = 'sid'; + $handler->display->display_options['fields']['sid']['table'] = 'workflow_node'; + $handler->display->display_options['fields']['sid']['field'] = 'sid'; + /* Champ: Contenu : Lien de suppression */ + $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node'; + $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node'; + $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node'; + $handler->display->display_options['fields']['delete_node']['alter']['alter_text'] = TRUE; + $handler->display->display_options['fields']['delete_node']['alter']['text'] = '[delete_node]'; + $handler->display->display_options['defaults']['filter_groups'] = FALSE; + $handler->display->display_options['defaults']['filters'] = FALSE; + /* Critère de filtrage: Contenu : Titre */ + $handler->display->display_options['filters']['title']['id'] = 'title'; + $handler->display->display_options['filters']['title']['table'] = 'node'; + $handler->display->display_options['filters']['title']['field'] = 'title'; + $handler->display->display_options['filters']['title']['operator'] = 'contains'; + $handler->display->display_options['filters']['title']['group'] = 1; + $handler->display->display_options['filters']['title']['exposed'] = TRUE; + $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op'; + $handler->display->display_options['filters']['title']['expose']['label'] = 'Le nom contient'; + $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op'; + $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title'; + $handler->display->display_options['filters']['title']['expose']['remember'] = TRUE; + /* Critère de filtrage: Processus : État actuel */ + $handler->display->display_options['filters']['sid']['id'] = 'sid'; + $handler->display->display_options['filters']['sid']['table'] = 'workflow_node'; + $handler->display->display_options['filters']['sid']['field'] = 'sid'; + $handler->display->display_options['filters']['sid']['group'] = 1; + $handler->display->display_options['filters']['sid']['exposed'] = TRUE; + $handler->display->display_options['filters']['sid']['expose']['operator_id'] = 'sid_op'; + $handler->display->display_options['filters']['sid']['expose']['label'] = 'Processus'; + $handler->display->display_options['filters']['sid']['expose']['operator'] = 'sid_op'; + $handler->display->display_options['filters']['sid']['expose']['identifier'] = 'sid'; + $handler->display->display_options['filters']['sid']['expose']['remember'] = TRUE; + /* Critère de filtrage: Champ : Mémo (field_memo) */ + $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value'; + $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo'; + $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value'; + $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains'; + $handler->display->display_options['filters']['field_memo_value']['group'] = 1; + $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE; + $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op'; + $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo contient'; + $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op'; + $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value'; + /* Critère de filtrage: Contenu : Type */ + $handler->display->display_options['filters']['type_2']['id'] = 'type_2'; + $handler->display->display_options['filters']['type_2']['table'] = 'node'; + $handler->display->display_options['filters']['type_2']['field'] = 'type'; + $handler->display->display_options['filters']['type_2']['operator'] = 'not in'; + $handler->display->display_options['filters']['type_2']['value'] = array( + 'breve' => 'breve', + 'didactique' => 'didactique', + 'faq' => 'faq', + 'materiau' => 'materiau', + 'page' => 'page', + 'panel' => 'panel', + 'product' => 'product', + 'simplenews' => 'simplenews', + 'webform' => 'webform', + 'looping_embed_video' => 'looping_embed_video', + ); + $handler->display->display_options['path'] = 'admin/content/companies'; + $handler->display->display_options['menu']['type'] = 'tab'; + $handler->display->display_options['menu']['title'] = 'Companies'; + $handler->display->display_options['menu']['description'] = 'Companies'; + $handler->display->display_options['menu']['weight'] = '-99'; + $handler->display->display_options['menu']['context'] = 0; + $handler->display->display_options['tab_options']['type'] = 'normal'; + $handler->display->display_options['tab_options']['title'] = 'dashboard'; + $handler->display->display_options['tab_options']['weight'] = '0'; + + /* Display: Page : pages/faq/didactique */ + $handler = $view->new_display('page', 'Page : pages/faq/didactique', 'page_3'); + $handler->display->display_options['defaults']['title'] = FALSE; + $handler->display->display_options['title'] = 'pages/didactique/faq'; + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; + $handler->display->display_options['defaults']['pager'] = FALSE; + $handler->display->display_options['pager']['type'] = 'full'; + $handler->display->display_options['pager']['options']['items_per_page'] = '50'; + $handler->display->display_options['pager']['options']['offset'] = '0'; + $handler->display->display_options['pager']['options']['id'] = '0'; + $handler->display->display_options['pager']['options']['quantity'] = '9'; + $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page'; + $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -'; + $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage'; + $handler->display->display_options['pager']['options']['tags']['first'] = '« premier'; + $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent'; + $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›'; + $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »'; + $handler->display->display_options['defaults']['fields'] = FALSE; + /* Champ: Opérations en masse : Contenu */ + $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations'; + $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'node'; + $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations'; + $handler->display->display_options['fields']['views_bulk_operations']['label'] = ''; + $handler->display->display_options['fields']['views_bulk_operations']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0'; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10'; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array( + 'action::system_message_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::workflow_select_given_state_action' => array( + 'selected' => 1, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::workflow_select_next_state_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_assign_owner_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_unpublish_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_unpublish_by_keyword_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_save_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::system_send_email_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::views_bulk_operations_script_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::views_bulk_operations_modify_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'settings' => array( + 'show_all_tokens' => 1, + 'display_values' => array( + 'breve::field_memo' => 'breve::field_memo', + 'company::field_memo' => 'company::field_memo', + 'materiau::field_memo' => 'materiau::field_memo', + ), + ), + 'postpone_processing' => 0, + ), + 'action::views_bulk_operations_argument_selector_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'settings' => array( + 'url' => '', + ), + ), + 'action::node_promote_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_publish_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::system_goto_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_unpromote_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_make_unsticky_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::views_bulk_operations_delete_item' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::pathauto_node_update_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::node_make_sticky_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + ); + /* Champ: Contenu : Type */ + $handler->display->display_options['fields']['type']['id'] = 'type'; + $handler->display->display_options['fields']['type']['table'] = 'node'; + $handler->display->display_options['fields']['type']['field'] = 'type'; + /* Champ: Contenu : Titre */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = 'Title/Name'; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_type'] = 'strong'; + $handler->display->display_options['fields']['title']['hide_alter_empty'] = FALSE; + /* Champ: Contenu : Lien de modification */ + $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node'; + $handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node'; + $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node'; + $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE; + $handler->display->display_options['fields']['edit_node']['alter']['text'] = '[edit_node]'; + /* Champ: Champ : Mémo */ + $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo'; + $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo'; + $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo'; + $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE; + $handler->display->display_options['fields']['field_memo']['alter']['max_length'] = '300'; + $handler->display->display_options['fields']['field_memo']['alter']['strip_tags'] = TRUE; + $handler->display->display_options['fields']['field_memo']['alter']['trim'] = TRUE; + /* Champ: Contenu : Fichiers joints */ + $handler->display->display_options['fields']['field_attachments']['id'] = 'field_attachments'; + $handler->display->display_options['fields']['field_attachments']['table'] = 'field_data_field_attachments'; + $handler->display->display_options['fields']['field_attachments']['field'] = 'field_attachments'; + $handler->display->display_options['fields']['field_attachments']['click_sort_column'] = 'fid'; + $handler->display->display_options['fields']['field_attachments']['delta_offset'] = '0'; + /* Champ: Contenu : Localisation */ + $handler->display->display_options['fields']['field_localisation']['id'] = 'field_localisation'; + $handler->display->display_options['fields']['field_localisation']['table'] = 'field_data_field_localisation'; + $handler->display->display_options['fields']['field_localisation']['field'] = 'field_localisation'; + /* Champ: Processus : État actuel */ + $handler->display->display_options['fields']['sid']['id'] = 'sid'; + $handler->display->display_options['fields']['sid']['table'] = 'workflow_node'; + $handler->display->display_options['fields']['sid']['field'] = 'sid'; + /* Champ: Contenu : Lien de suppression */ + $handler->display->display_options['fields']['delete_node']['id'] = 'delete_node'; + $handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node'; + $handler->display->display_options['fields']['delete_node']['field'] = 'delete_node'; + $handler->display->display_options['fields']['delete_node']['alter']['alter_text'] = TRUE; + $handler->display->display_options['fields']['delete_node']['alter']['text'] = '[delete_node]'; + $handler->display->display_options['defaults']['filter_groups'] = FALSE; + $handler->display->display_options['defaults']['filters'] = FALSE; + /* Critère de filtrage: Contenu : Type */ + $handler->display->display_options['filters']['type_1']['id'] = 'type_1'; + $handler->display->display_options['filters']['type_1']['table'] = 'node'; + $handler->display->display_options['filters']['type_1']['field'] = 'type'; + $handler->display->display_options['filters']['type_1']['operator'] = 'not in'; + $handler->display->display_options['filters']['type_1']['value'] = array( + 'breve' => 'breve', + 'company' => 'company', + 'materiau' => 'materiau', + 'panel' => 'panel', + 'product' => 'product', + 'simplenews' => 'simplenews', + 'webform' => 'webform', + ); + $handler->display->display_options['filters']['type_1']['group'] = 1; + /* Critère de filtrage: Contenu : Titre */ + $handler->display->display_options['filters']['title']['id'] = 'title'; + $handler->display->display_options['filters']['title']['table'] = 'node'; + $handler->display->display_options['filters']['title']['field'] = 'title'; + $handler->display->display_options['filters']['title']['operator'] = 'contains'; + $handler->display->display_options['filters']['title']['group'] = 1; + $handler->display->display_options['filters']['title']['exposed'] = TRUE; + $handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op'; + $handler->display->display_options['filters']['title']['expose']['label'] = 'Title / Name contains'; + $handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op'; + $handler->display->display_options['filters']['title']['expose']['identifier'] = 'title'; + $handler->display->display_options['filters']['title']['expose']['remember'] = TRUE; + /* Critère de filtrage: Champ : Mémo (field_memo) */ + $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value'; + $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo'; + $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value'; + $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains'; + $handler->display->display_options['filters']['field_memo_value']['group'] = 1; + $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE; + $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op'; + $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo contient'; + $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op'; + $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value'; + /* Critère de filtrage: Processus : État actuel */ + $handler->display->display_options['filters']['sid']['id'] = 'sid'; + $handler->display->display_options['filters']['sid']['table'] = 'workflow_node'; + $handler->display->display_options['filters']['sid']['field'] = 'sid'; + $handler->display->display_options['filters']['sid']['group'] = 1; + $handler->display->display_options['filters']['sid']['exposed'] = TRUE; + $handler->display->display_options['filters']['sid']['expose']['operator_id'] = 'sid_op'; + $handler->display->display_options['filters']['sid']['expose']['label'] = 'Processus'; + $handler->display->display_options['filters']['sid']['expose']['operator'] = 'sid_op'; + $handler->display->display_options['filters']['sid']['expose']['identifier'] = 'sid'; + $handler->display->display_options['filters']['sid']['expose']['remember'] = TRUE; + /* Critère de filtrage: Contenu : Type */ + $handler->display->display_options['filters']['type']['id'] = 'type'; + $handler->display->display_options['filters']['type']['table'] = 'node'; + $handler->display->display_options['filters']['type']['field'] = 'type'; + $handler->display->display_options['filters']['type']['value'] = array( + 'didactique' => 'didactique', + 'faq' => 'faq', + 'page' => 'page', + ); + $handler->display->display_options['filters']['type']['group'] = 1; + $handler->display->display_options['filters']['type']['exposed'] = TRUE; + $handler->display->display_options['filters']['type']['expose']['operator_id'] = 'type_op'; + $handler->display->display_options['filters']['type']['expose']['label'] = 'Type de contenu'; + $handler->display->display_options['filters']['type']['expose']['operator'] = 'type_op'; + $handler->display->display_options['filters']['type']['expose']['identifier'] = 'type'; + $handler->display->display_options['filters']['type']['expose']['remember'] = TRUE; + $handler->display->display_options['filters']['type']['expose']['remember_roles'] = array( + 2 => '2', + 1 => 0, + 9 => 0, + 7 => 0, + 10 => 0, + 6 => 0, + 8 => 0, + 5 => 0, + 3 => 0, + 4 => 0, + ); + $handler->display->display_options['filters']['type']['expose']['reduce'] = TRUE; + /* Critère de filtrage: Contenu : Référence Materio (field_reference_materio) */ + $handler->display->display_options['filters']['field_reference_materio_value']['id'] = 'field_reference_materio_value'; + $handler->display->display_options['filters']['field_reference_materio_value']['table'] = 'field_data_field_reference_materio'; + $handler->display->display_options['filters']['field_reference_materio_value']['field'] = 'field_reference_materio_value'; + $handler->display->display_options['filters']['field_reference_materio_value']['operator'] = 'contains'; + $handler->display->display_options['filters']['field_reference_materio_value']['group'] = 1; + $handler->display->display_options['filters']['field_reference_materio_value']['exposed'] = TRUE; + $handler->display->display_options['filters']['field_reference_materio_value']['expose']['operator_id'] = 'field_reference_materio_value_op'; + $handler->display->display_options['filters']['field_reference_materio_value']['expose']['label'] = 'Référence'; + $handler->display->display_options['filters']['field_reference_materio_value']['expose']['operator'] = 'field_reference_materio_value_op'; + $handler->display->display_options['filters']['field_reference_materio_value']['expose']['identifier'] = 'field_reference_materio_value'; + $handler->display->display_options['path'] = 'admin/content/pages'; + $handler->display->display_options['menu']['type'] = 'tab'; + $handler->display->display_options['menu']['title'] = 'Page/faq/didactique'; + $handler->display->display_options['menu']['description'] = 'Materiaux / Brèves'; + $handler->display->display_options['menu']['weight'] = '-100'; + $handler->display->display_options['menu']['context'] = 0; + $handler->display->display_options['menu']['context_only_inline'] = 0; + $handler->display->display_options['tab_options']['type'] = 'normal'; + $handler->display->display_options['tab_options']['title'] = 'dashboard'; + $handler->display->display_options['tab_options']['weight'] = '0'; + $translatables['admin_contents'] = array( + t('Master'), + t('Contenu'), + t('plus'), + t('Filtrer'), + t('réinitialiser'), + t('Trier par'), + t('Asc'), + t('Desc'), + t('Éléments par page'), + t('- Tout -'), + t('Décalage'), + t('« premier'), + t('‹ précédent'), + t('suivant ›'), + t('dernier »'), + t('Résumé'), + t('Displaying @start - @end of @total'), + t('Type'), + t('Title / Name'), + t('Référence Materio'), + t('Lien de modification'), + t('[edit_node]'), + t('Fabricants / Distributeurs'), + t('Distributor'), + t('Langue'), + t('Lien de traduction'), + t('[translate_node]'), + t('Statut de la traduction'), + t('État actuel'), + t('Date de mise à jour'), + t('Mémo'), + t('Lien de suppression'), + t('[delete_node]'), + t('Le titre contient'), + t('Processus'), + t('Type de contenu'), + t('Mémo contient'), + t('Page : all'), + t('Block'), + t('Recent Content'), + t('Titre'), + t('Modifier'), + t('Publié'), + t('Traduire'), + t('Page : materiaux'), + t('Materiaux/brèves'), + t('Image'), + t('Title/Name'), + t('Fabricants/Distributeurs'), + t('Fab :
+[field_company_fab] '), + t('Distrib :
+[field_company_distrib]'), + t('Onthologie'), + t('Tags libres'), + t('Materiau(x) lié(s)'), + t('Materiaux :
[field_materiau_ref] +'), + t('Brève(s) liée(s)'), + t('Brèves :
[field_breve_ref]'), + t('Fichiers joints'), + t('Localisation'), + t('Title / Name contains'), + t('Famille'), + t('Référence'), + t('Onto'), + t('Tag libres'), + t('Société'), + t('Page : companies'), + t('Companies'), + t('Date de publication'), + t('Adresse'), + t('Téléphone'), + t('website'), + t('Courriel'), + t('Note'), + t('Le nom contient'), + t('Page : pages/faq/didactique'), + t('pages/didactique/faq'), + ); + $export['admin_contents'] = $view; + + $view = new view(); + $view->name = 'admin_peoples'; + $view->description = 'Administrative view for peoples'; + $view->tag = 'default'; + $view->base_table = 'users'; + $view->human_name = 'Admin Peoples'; + $view->core = 7; + $view->api_version = '3.0'; + $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ + + /* Display: Master */ + $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['title'] = 'Admin Users'; + $handler->display->display_options['use_more'] = TRUE; + $handler->display->display_options['use_more_always'] = FALSE; + $handler->display->display_options['use_more_text'] = 'plus'; + $handler->display->display_options['access']['type'] = 'role'; + $handler->display->display_options['access']['role'] = array( + 3 => '3', + 4 => '4', + ); + $handler->display->display_options['cache']['type'] = 'none'; + $handler->display->display_options['query']['type'] = 'views_query'; + $handler->display->display_options['exposed_form']['type'] = 'basic'; + $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer'; + $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Réinitialiser'; + $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par'; + $handler->display->display_options['pager']['type'] = 'full'; + $handler->display->display_options['pager']['options']['items_per_page'] = '25'; + $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page'; + $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -'; + $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage'; + $handler->display->display_options['pager']['options']['tags']['first'] = '« premier'; + $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent'; + $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›'; + $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »'; + $handler->display->display_options['style_plugin'] = 'table'; + $handler->display->display_options['style_options']['columns'] = array( + 'views_bulk_operations' => 'views_bulk_operations', + 'uid' => 'uid', + 'field_private_name_title' => 'mail', + 'field_first_name' => 'field_first_name', + 'field_name' => 'mail', + 'mail' => 'mail', + 'edit_node' => 'mail', + 'rid' => 'php', + 'php' => 'php', + 'field_company' => 'field_company', + 'field_organization' => 'field_company', + 'field_service' => 'field_company', + 'field_private_quality' => 'field_company', + 'field_siret' => 'field_company', + 'field_employee' => 'field_company', + 'field_user_website' => 'field_adresse', + 'field_adresse' => 'field_adresse', + 'field_private_phone' => 'field_adresse', + 'field_memo' => 'field_memo', + 'created' => 'created', + 'access' => 'access', + 'language' => 'language', + 'status' => 'status', + 'value' => 'value', + 'views_send' => 'views_send', + 'php_1' => 'php_1', + 'name' => 'name', + ); + $handler->display->display_options['style_options']['default'] = 'created'; + $handler->display->display_options['style_options']['info'] = array( + 'views_bulk_operations' => array( + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'uid' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'field_private_name_title' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'field_first_name' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'field_name' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'mail' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '
', + 'empty_column' => 0, + ), + 'edit_node' => array( + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'rid' => array( + 'align' => '', + 'separator' => '
', + 'empty_column' => 0, + ), + 'php' => array( + 'sortable' => 1, + 'default_sort_order' => 'desc', + 'align' => '', + 'separator' => '
', + 'empty_column' => 0, + ), + 'field_company' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '
', + 'empty_column' => 0, + ), + 'field_organization' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'field_service' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'field_private_quality' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'field_siret' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'field_employee' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'field_user_website' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'field_adresse' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '
', + 'empty_column' => 0, + ), + 'field_private_phone' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '
', + 'empty_column' => 0, + ), + 'field_memo' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'created' => array( + 'sortable' => 1, + 'default_sort_order' => 'desc', + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'access' => array( + 'sortable' => 1, + 'default_sort_order' => 'desc', + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'language' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'status' => array( + 'sortable' => 0, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'value' => array( + 'sortable' => 1, + 'default_sort_order' => 'asc', + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'views_send' => array( + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'php_1' => array( + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + 'name' => array( + 'align' => '', + 'separator' => '', + 'empty_column' => 0, + ), + ); + /* Entête: Global : Résumé des résultats */ + $handler->display->display_options['header']['result']['id'] = 'result'; + $handler->display->display_options['header']['result']['table'] = 'views'; + $handler->display->display_options['header']['result']['field'] = 'result'; + $handler->display->display_options['header']['result']['label'] = 'Résumé'; + /* Relation: Utilisateur : Profil */ + $handler->display->display_options['relationships']['profile']['id'] = 'profile'; + $handler->display->display_options['relationships']['profile']['table'] = 'users'; + $handler->display->display_options['relationships']['profile']['field'] = 'profile'; + $handler->display->display_options['relationships']['profile']['bundle_types'] = array( + 'adherent' => 'adherent', + ); + /* Champ: Opérations en masse : Utilisateur */ + $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations'; + $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'users'; + $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations'; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0'; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10'; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array( + 'action::user_block_user_action' => array( + 'selected' => 1, + 'postpone_processing' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + ), + 'action::role_delegation_delegate_roles_action' => array( + 'selected' => 0, + 'postpone_processing' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + ), + 'action::system_send_email_action' => array( + 'selected' => 0, + 'postpone_processing' => 1, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + ), + 'action::views_bulk_operations_script_action' => array( + 'selected' => 0, + 'postpone_processing' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + ), + 'action::flag_user_action' => array( + 'selected' => 0, + 'postpone_processing' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + ), + 'action::pathauto_user_update_action' => array( + 'selected' => 0, + 'postpone_processing' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + ), + 'action::views_bulk_operations_user_roles_action' => array( + 'selected' => 0, + 'postpone_processing' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + ), + 'action::views_bulk_operations_modify_action' => array( + 'selected' => 1, + 'postpone_processing' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'settings' => array( + 'show_all_tokens' => 1, + 'display_values' => array( + 'status' => 'status', + 'user::field_memo' => 'user::field_memo', + ), + ), + ), + 'action::views_bulk_operations_argument_selector_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'settings' => array( + 'url' => '', + ), + ), + 'action::mimemail_send_email_action' => array( + 'selected' => 0, + 'postpone_processing' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + ), + 'action::views_bulk_operations_delete_item' => array( + 'selected' => 1, + 'postpone_processing' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + ), + ); + /* Champ: Utilisateur : Uid */ + $handler->display->display_options['fields']['uid']['id'] = 'uid'; + $handler->display->display_options['fields']['uid']['table'] = 'users'; + $handler->display->display_options['fields']['uid']['field'] = 'uid'; + $handler->display->display_options['fields']['uid']['label'] = ''; + $handler->display->display_options['fields']['uid']['exclude'] = TRUE; + $handler->display->display_options['fields']['uid']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['uid']['link_to_user'] = FALSE; + /* Champ: Profil : Titre */ + $handler->display->display_options['fields']['field_private_name_title']['id'] = 'field_private_name_title'; + $handler->display->display_options['fields']['field_private_name_title']['table'] = 'field_data_field_private_name_title'; + $handler->display->display_options['fields']['field_private_name_title']['field'] = 'field_private_name_title'; + $handler->display->display_options['fields']['field_private_name_title']['relationship'] = 'profile'; + /* Champ: Profil : First name */ + $handler->display->display_options['fields']['field_first_name']['id'] = 'field_first_name'; + $handler->display->display_options['fields']['field_first_name']['table'] = 'field_data_field_first_name'; + $handler->display->display_options['fields']['field_first_name']['field'] = 'field_first_name'; + $handler->display->display_options['fields']['field_first_name']['relationship'] = 'profile'; + $handler->display->display_options['fields']['field_first_name']['label'] = 'Prénom'; + $handler->display->display_options['fields']['field_first_name']['exclude'] = TRUE; + /* Champ: Profil : Name */ + $handler->display->display_options['fields']['field_name']['id'] = 'field_name'; + $handler->display->display_options['fields']['field_name']['table'] = 'field_data_field_name'; + $handler->display->display_options['fields']['field_name']['field'] = 'field_name'; + $handler->display->display_options['fields']['field_name']['relationship'] = 'profile'; + $handler->display->display_options['fields']['field_name']['label'] = 'Nom'; + $handler->display->display_options['fields']['field_name']['alter']['alter_text'] = TRUE; + $handler->display->display_options['fields']['field_name']['alter']['text'] = '[field_first_name] [field_name]'; + /* Champ: Utilisateur : Courriel */ + $handler->display->display_options['fields']['mail']['id'] = 'mail'; + $handler->display->display_options['fields']['mail']['table'] = 'users'; + $handler->display->display_options['fields']['mail']['field'] = 'mail'; + /* Champ: Utilisateur : Lien de modification */ + $handler->display->display_options['fields']['edit_node']['id'] = 'edit_node'; + $handler->display->display_options['fields']['edit_node']['table'] = 'users'; + $handler->display->display_options['fields']['edit_node']['field'] = 'edit_node'; + $handler->display->display_options['fields']['edit_node']['alter']['alter_text'] = TRUE; + $handler->display->display_options['fields']['edit_node']['alter']['text'] = '[edit_node]'; + /* Champ: Utilisateur : Rôles */ + $handler->display->display_options['fields']['rid']['id'] = 'rid'; + $handler->display->display_options['fields']['rid']['table'] = 'users_roles'; + $handler->display->display_options['fields']['rid']['field'] = 'rid'; + /* Champ: Global : PHP */ + $handler->display->display_options['fields']['php']['id'] = 'php'; + $handler->display->display_options['fields']['php']['table'] = 'views'; + $handler->display->display_options['fields']['php']['field'] = 'php'; + $handler->display->display_options['fields']['php']['label'] = 'Expiration'; + $handler->display->display_options['fields']['php']['use_php_setup'] = 0; + $handler->display->display_options['fields']['php']['php_value'] = 'if(!isset($row->uid)){ + return false; +} +$query = db_select(\'uc_roles_expirations\', \'e\') + ->fields(\'e\') + ->condition(\'e.uid\', $row->uid); +$result = $query->execute(); + +foreach($result as $r){ + $expiration = $r->expiration; + break; +} +if(isset($expiration)){ + return $expiration; +}else{ + return false; +}'; + $handler->display->display_options['fields']['php']['php_output'] = ''; + $handler->display->display_options['fields']['php']['use_php_click_sortable'] = '4'; + $handler->display->display_options['fields']['php']['php_click_sortable'] = ''; + /* Champ: Utilisateur : Company */ + $handler->display->display_options['fields']['field_company']['id'] = 'field_company'; + $handler->display->display_options['fields']['field_company']['table'] = 'field_data_field_company'; + $handler->display->display_options['fields']['field_company']['field'] = 'field_company'; + $handler->display->display_options['fields']['field_company']['label'] = 'Société'; + /* Champ: Profil : Organization */ + $handler->display->display_options['fields']['field_organization']['id'] = 'field_organization'; + $handler->display->display_options['fields']['field_organization']['table'] = 'field_data_field_organization'; + $handler->display->display_options['fields']['field_organization']['field'] = 'field_organization'; + $handler->display->display_options['fields']['field_organization']['relationship'] = 'profile'; + /* Champ: Profil : service */ + $handler->display->display_options['fields']['field_service']['id'] = 'field_service'; + $handler->display->display_options['fields']['field_service']['table'] = 'field_data_field_service'; + $handler->display->display_options['fields']['field_service']['field'] = 'field_service'; + $handler->display->display_options['fields']['field_service']['relationship'] = 'profile'; + $handler->display->display_options['fields']['field_service']['alter']['alter_text'] = TRUE; + $handler->display->display_options['fields']['field_service']['alter']['text'] = 'service : [field_service]'; + $handler->display->display_options['fields']['field_service']['hide_empty'] = TRUE; + $handler->display->display_options['fields']['field_service']['empty_zero'] = TRUE; + /* Champ: Profil : Qualité */ + $handler->display->display_options['fields']['field_private_quality']['id'] = 'field_private_quality'; + $handler->display->display_options['fields']['field_private_quality']['table'] = 'field_data_field_private_quality'; + $handler->display->display_options['fields']['field_private_quality']['field'] = 'field_private_quality'; + $handler->display->display_options['fields']['field_private_quality']['relationship'] = 'profile'; + $handler->display->display_options['fields']['field_private_quality']['alter']['alter_text'] = TRUE; + $handler->display->display_options['fields']['field_private_quality']['alter']['text'] = 'quality : [field_private_quality]'; + $handler->display->display_options['fields']['field_private_quality']['hide_empty'] = TRUE; + $handler->display->display_options['fields']['field_private_quality']['empty_zero'] = TRUE; + /* Champ: Profil : SIRET */ + $handler->display->display_options['fields']['field_siret']['id'] = 'field_siret'; + $handler->display->display_options['fields']['field_siret']['table'] = 'field_data_field_siret'; + $handler->display->display_options['fields']['field_siret']['field'] = 'field_siret'; + $handler->display->display_options['fields']['field_siret']['relationship'] = 'profile'; + $handler->display->display_options['fields']['field_siret']['alter']['alter_text'] = TRUE; + $handler->display->display_options['fields']['field_siret']['alter']['text'] = 'siret : [field_siret]'; + $handler->display->display_options['fields']['field_siret']['hide_empty'] = TRUE; + /* Champ: Profil : Employee */ + $handler->display->display_options['fields']['field_employee']['id'] = 'field_employee'; + $handler->display->display_options['fields']['field_employee']['table'] = 'field_data_field_employee'; + $handler->display->display_options['fields']['field_employee']['field'] = 'field_employee'; + $handler->display->display_options['fields']['field_employee']['relationship'] = 'profile'; + $handler->display->display_options['fields']['field_employee']['label'] = 'Employé'; + $handler->display->display_options['fields']['field_employee']['alter']['alter_text'] = TRUE; + $handler->display->display_options['fields']['field_employee']['alter']['text'] = 'employee : [field_employee]'; + $handler->display->display_options['fields']['field_employee']['hide_empty'] = TRUE; + $handler->display->display_options['fields']['field_employee']['empty_zero'] = TRUE; + $handler->display->display_options['fields']['field_employee']['settings'] = array( + 'thousand_separator' => ' ', + 'prefix_suffix' => 1, + ); + /* Champ: Profil : Website */ + $handler->display->display_options['fields']['field_user_website']['id'] = 'field_user_website'; + $handler->display->display_options['fields']['field_user_website']['table'] = 'field_data_field_user_website'; + $handler->display->display_options['fields']['field_user_website']['field'] = 'field_user_website'; + $handler->display->display_options['fields']['field_user_website']['relationship'] = 'profile'; + $handler->display->display_options['fields']['field_user_website']['label'] = 'Site internet'; + $handler->display->display_options['fields']['field_user_website']['click_sort_column'] = 'url'; + /* Champ: Profil : Adresse */ + $handler->display->display_options['fields']['field_adresse']['id'] = 'field_adresse'; + $handler->display->display_options['fields']['field_adresse']['table'] = 'field_data_field_adresse'; + $handler->display->display_options['fields']['field_adresse']['field'] = 'field_adresse'; + $handler->display->display_options['fields']['field_adresse']['relationship'] = 'profile'; + $handler->display->display_options['fields']['field_adresse']['click_sort_column'] = 'country'; + $handler->display->display_options['fields']['field_adresse']['settings'] = array( + 'use_widget_handlers' => 1, + 'format_handlers' => array( + 'address' => 'address', + ), + ); + /* Champ: Profil : Phone */ + $handler->display->display_options['fields']['field_private_phone']['id'] = 'field_private_phone'; + $handler->display->display_options['fields']['field_private_phone']['table'] = 'field_data_field_private_phone'; + $handler->display->display_options['fields']['field_private_phone']['field'] = 'field_private_phone'; + $handler->display->display_options['fields']['field_private_phone']['relationship'] = 'profile'; + $handler->display->display_options['fields']['field_private_phone']['label'] = 'Téléphone'; + $handler->display->display_options['fields']['field_private_phone']['click_sort_column'] = 'number'; + $handler->display->display_options['fields']['field_private_phone']['delta_offset'] = '0'; + /* Champ: Global : PHP */ + $handler->display->display_options['fields']['php_2']['id'] = 'php_2'; + $handler->display->display_options['fields']['php_2']['table'] = 'views'; + $handler->display->display_options['fields']['php_2']['field'] = 'php'; + $handler->display->display_options['fields']['php_2']['label'] = 'Lettres d’information'; + $handler->display->display_options['fields']['php_2']['use_php_setup'] = 0; + $handler->display->display_options['fields']['php_2']['php_value'] = '$subscriber = simplenews_subscriber_load_by_uid($row->uid); +//dsm($subscriber); +foreach($subscriber->tids as $tid){ + $new = simplenews_category_load($tid); + $news[] = $new->name; +} +return $news;'; + $handler->display->display_options['fields']['php_2']['php_output'] = '\'); +?>'; + $handler->display->display_options['fields']['php_2']['use_php_click_sortable'] = '0'; + $handler->display->display_options['fields']['php_2']['php_click_sortable'] = ''; + /* Champ: Champ : Mémo */ + $handler->display->display_options['fields']['field_memo']['id'] = 'field_memo'; + $handler->display->display_options['fields']['field_memo']['table'] = 'field_data_field_memo'; + $handler->display->display_options['fields']['field_memo']['field'] = 'field_memo'; + $handler->display->display_options['fields']['field_memo']['alter']['nl2br'] = TRUE; + /* Champ: Utilisateur : Date de création */ + $handler->display->display_options['fields']['created']['id'] = 'created'; + $handler->display->display_options['fields']['created']['table'] = 'users'; + $handler->display->display_options['fields']['created']['field'] = 'created'; + $handler->display->display_options['fields']['created']['date_format'] = 'custom'; + $handler->display->display_options['fields']['created']['custom_date_format'] = 'Y-m-d h:m'; + /* Champ: Utilisateur : Dernier accès */ + $handler->display->display_options['fields']['access']['id'] = 'access'; + $handler->display->display_options['fields']['access']['table'] = 'users'; + $handler->display->display_options['fields']['access']['field'] = 'access'; + $handler->display->display_options['fields']['access']['date_format'] = 'custom'; + $handler->display->display_options['fields']['access']['custom_date_format'] = 'Y-m-d h:m'; + /* Champ: Utilisateur : Langue */ + $handler->display->display_options['fields']['language']['id'] = 'language'; + $handler->display->display_options['fields']['language']['table'] = 'users'; + $handler->display->display_options['fields']['language']['field'] = 'language'; + $handler->display->display_options['fields']['language']['link_to_user'] = FALSE; + /* Champ: Utilisateur : Actif */ + $handler->display->display_options['fields']['status']['id'] = 'status'; + $handler->display->display_options['fields']['status']['table'] = 'users'; + $handler->display->display_options['fields']['status']['field'] = 'status'; + /* Champ: User Stats : Valeur */ + $handler->display->display_options['fields']['value']['id'] = 'value'; + $handler->display->display_options['fields']['value']['table'] = 'user_stats_values'; + $handler->display->display_options['fields']['value']['field'] = 'value'; + $handler->display->display_options['fields']['value']['label'] = 'Login count (?)'; + $handler->display->display_options['fields']['value']['hide_empty'] = TRUE; + $handler->display->display_options['fields']['value']['empty_zero'] = TRUE; + /* Champ: Global : Envoyer le courriel */ + $handler->display->display_options['fields']['views_send']['id'] = 'views_send'; + $handler->display->display_options['fields']['views_send']['table'] = 'views'; + $handler->display->display_options['fields']['views_send']['field'] = 'views_send'; + /* Champ: Global : PHP */ + $handler->display->display_options['fields']['php_1']['id'] = 'php_1'; + $handler->display->display_options['fields']['php_1']['table'] = 'views'; + $handler->display->display_options['fields']['php_1']['field'] = 'php'; + $handler->display->display_options['fields']['php_1']['label'] = 'One time login'; + $handler->display->display_options['fields']['php_1']['exclude'] = TRUE; + $handler->display->display_options['fields']['php_1']['use_php_setup'] = 0; + $handler->display->display_options['fields']['php_1']['php_output'] = 'uid); +print user_pass_reset_url($account); +?>'; + $handler->display->display_options['fields']['php_1']['use_php_click_sortable'] = '0'; + $handler->display->display_options['fields']['php_1']['php_click_sortable'] = ''; + /* Critère de tri: Utilisateur : Date de création */ + $handler->display->display_options['sorts']['created']['id'] = 'created'; + $handler->display->display_options['sorts']['created']['table'] = 'users'; + $handler->display->display_options['sorts']['created']['field'] = 'created'; + $handler->display->display_options['sorts']['created']['order'] = 'DESC'; + /* Critère de filtrage: Utilisateur : Actif */ + $handler->display->display_options['filters']['status']['id'] = 'status'; + $handler->display->display_options['filters']['status']['table'] = 'users'; + $handler->display->display_options['filters']['status']['field'] = 'status'; + $handler->display->display_options['filters']['status']['value'] = 'All'; + $handler->display->display_options['filters']['status']['group'] = 1; + $handler->display->display_options['filters']['status']['exposed'] = TRUE; + $handler->display->display_options['filters']['status']['expose']['operator_id'] = ''; + $handler->display->display_options['filters']['status']['expose']['label'] = 'Actif'; + $handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op'; + $handler->display->display_options['filters']['status']['expose']['identifier'] = 'status'; + $handler->display->display_options['filters']['status']['expose']['remember'] = TRUE; + /* Critère de filtrage: Utilisateur : Rôles */ + $handler->display->display_options['filters']['rid']['id'] = 'rid'; + $handler->display->display_options['filters']['rid']['table'] = 'users_roles'; + $handler->display->display_options['filters']['rid']['field'] = 'rid'; + $handler->display->display_options['filters']['rid']['value'] = array( + 9 => '9', + 7 => '7', + 10 => '10', + 6 => '6', + 8 => '8', + 5 => '5', + 3 => '3', + ); + $handler->display->display_options['filters']['rid']['group'] = 1; + $handler->display->display_options['filters']['rid']['exposed'] = TRUE; + $handler->display->display_options['filters']['rid']['expose']['operator_id'] = 'rid_op'; + $handler->display->display_options['filters']['rid']['expose']['label'] = 'Rôles'; + $handler->display->display_options['filters']['rid']['expose']['operator'] = 'rid_op'; + $handler->display->display_options['filters']['rid']['expose']['identifier'] = 'rid'; + $handler->display->display_options['filters']['rid']['expose']['remember'] = TRUE; + $handler->display->display_options['filters']['rid']['expose']['remember_roles'] = array( + 2 => '2', + 1 => 0, + 9 => 0, + 7 => 0, + 10 => 0, + 6 => 0, + 8 => 0, + 5 => 0, + 3 => 0, + 4 => 0, + ); + $handler->display->display_options['filters']['rid']['expose']['reduce'] = TRUE; + /* Critère de filtrage: Utilisateur : Company (field_company) */ + $handler->display->display_options['filters']['field_company_tid']['id'] = 'field_company_tid'; + $handler->display->display_options['filters']['field_company_tid']['table'] = 'field_data_field_company'; + $handler->display->display_options['filters']['field_company_tid']['field'] = 'field_company_tid'; + $handler->display->display_options['filters']['field_company_tid']['value'] = ''; + $handler->display->display_options['filters']['field_company_tid']['group'] = 1; + $handler->display->display_options['filters']['field_company_tid']['exposed'] = TRUE; + $handler->display->display_options['filters']['field_company_tid']['expose']['operator_id'] = 'field_company_tid_op'; + $handler->display->display_options['filters']['field_company_tid']['expose']['label'] = 'Société'; + $handler->display->display_options['filters']['field_company_tid']['expose']['operator'] = 'field_company_tid_op'; + $handler->display->display_options['filters']['field_company_tid']['expose']['identifier'] = 'field_company_tid'; + $handler->display->display_options['filters']['field_company_tid']['vocabulary'] = 'company'; + /* Critère de filtrage: Profil : Organization (field_organization) */ + $handler->display->display_options['filters']['field_organization_value']['id'] = 'field_organization_value'; + $handler->display->display_options['filters']['field_organization_value']['table'] = 'field_data_field_organization'; + $handler->display->display_options['filters']['field_organization_value']['field'] = 'field_organization_value'; + $handler->display->display_options['filters']['field_organization_value']['relationship'] = 'profile'; + $handler->display->display_options['filters']['field_organization_value']['group'] = 1; + $handler->display->display_options['filters']['field_organization_value']['exposed'] = TRUE; + $handler->display->display_options['filters']['field_organization_value']['expose']['operator_id'] = 'field_organization_value_op'; + $handler->display->display_options['filters']['field_organization_value']['expose']['label'] = 'Organization'; + $handler->display->display_options['filters']['field_organization_value']['expose']['operator'] = 'field_organization_value_op'; + $handler->display->display_options['filters']['field_organization_value']['expose']['identifier'] = 'field_organization_value'; + $handler->display->display_options['filters']['field_organization_value']['expose']['remember_roles'] = array( + 2 => '2', + 1 => 0, + 9 => 0, + 7 => 0, + 10 => 0, + 6 => 0, + 8 => 0, + 5 => 0, + 3 => 0, + 4 => 0, + ); + /* Critère de filtrage: Champ : Mémo (field_memo) */ + $handler->display->display_options['filters']['field_memo_value']['id'] = 'field_memo_value'; + $handler->display->display_options['filters']['field_memo_value']['table'] = 'field_data_field_memo'; + $handler->display->display_options['filters']['field_memo_value']['field'] = 'field_memo_value'; + $handler->display->display_options['filters']['field_memo_value']['operator'] = 'contains'; + $handler->display->display_options['filters']['field_memo_value']['group'] = 1; + $handler->display->display_options['filters']['field_memo_value']['exposed'] = TRUE; + $handler->display->display_options['filters']['field_memo_value']['expose']['operator_id'] = 'field_memo_value_op'; + $handler->display->display_options['filters']['field_memo_value']['expose']['label'] = 'Mémo Contient'; + $handler->display->display_options['filters']['field_memo_value']['expose']['use_operator'] = TRUE; + $handler->display->display_options['filters']['field_memo_value']['expose']['operator'] = 'field_memo_value_op'; + $handler->display->display_options['filters']['field_memo_value']['expose']['identifier'] = 'field_memo_value'; + $handler->display->display_options['filters']['field_memo_value']['expose']['remember_roles'] = array( + 2 => '2', + 1 => 0, + 7 => 0, + 6 => 0, + 8 => 0, + 5 => 0, + 3 => 0, + 4 => 0, + ); + /* Critère de filtrage: Utilisateur : Rôles */ + $handler->display->display_options['filters']['rid_1']['id'] = 'rid_1'; + $handler->display->display_options['filters']['rid_1']['table'] = 'users_roles'; + $handler->display->display_options['filters']['rid_1']['field'] = 'rid'; + $handler->display->display_options['filters']['rid_1']['operator'] = 'not'; + $handler->display->display_options['filters']['rid_1']['value'] = array( + 4 => '4', + ); + $handler->display->display_options['filters']['rid_1']['group'] = 1; + /* Critère de filtrage: Utilisateur : Courriel */ + $handler->display->display_options['filters']['mail']['id'] = 'mail'; + $handler->display->display_options['filters']['mail']['table'] = 'users'; + $handler->display->display_options['filters']['mail']['field'] = 'mail'; + $handler->display->display_options['filters']['mail']['operator'] = 'contains'; + $handler->display->display_options['filters']['mail']['group'] = 1; + $handler->display->display_options['filters']['mail']['exposed'] = TRUE; + $handler->display->display_options['filters']['mail']['expose']['operator_id'] = 'mail_op'; + $handler->display->display_options['filters']['mail']['expose']['label'] = 'Courriel'; + $handler->display->display_options['filters']['mail']['expose']['operator'] = 'mail_op'; + $handler->display->display_options['filters']['mail']['expose']['identifier'] = 'mail'; + $handler->display->display_options['filters']['mail']['expose']['remember_roles'] = array( + 2 => '2', + 1 => 0, + 7 => 0, + 6 => 0, + 5 => 0, + 3 => 0, + 4 => 0, + ); + /* Critère de filtrage: Utilisateur : Langue */ + $handler->display->display_options['filters']['language']['id'] = 'language'; + $handler->display->display_options['filters']['language']['table'] = 'users'; + $handler->display->display_options['filters']['language']['field'] = 'language'; + $handler->display->display_options['filters']['language']['value'] = array( + 'en' => 'en', + 'fr' => 'fr', + ); + $handler->display->display_options['filters']['language']['group'] = 1; + $handler->display->display_options['filters']['language']['exposed'] = TRUE; + $handler->display->display_options['filters']['language']['expose']['operator_id'] = 'language_op'; + $handler->display->display_options['filters']['language']['expose']['label'] = 'Langue'; + $handler->display->display_options['filters']['language']['expose']['operator'] = 'language_op'; + $handler->display->display_options['filters']['language']['expose']['identifier'] = 'language'; + $handler->display->display_options['filters']['language']['expose']['remember_roles'] = array( + 2 => '2', + 1 => 0, + 7 => 0, + 6 => 0, + 8 => 0, + 5 => 0, + 3 => 0, + 4 => 0, + ); + $handler->display->display_options['filters']['language']['expose']['reduce'] = TRUE; + /* Critère de filtrage: Utilisateur : Courriel */ + $handler->display->display_options['filters']['mail_1']['id'] = 'mail_1'; + $handler->display->display_options['filters']['mail_1']['table'] = 'users'; + $handler->display->display_options['filters']['mail_1']['field'] = 'mail'; + $handler->display->display_options['filters']['mail_1']['operator'] = '!='; + $handler->display->display_options['filters']['mail_1']['value'] = 'admin@g-u-i.net'; + $handler->display->display_options['filters']['mail_1']['group'] = 1; + + /* Display: Page */ + $handler = $view->new_display('page', 'Page', 'page'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; + $handler->display->display_options['path'] = 'admin/users'; + $handler->display->display_options['menu']['type'] = 'normal'; + $handler->display->display_options['menu']['title'] = 'Peoples'; + $handler->display->display_options['menu']['weight'] = '6'; + $handler->display->display_options['menu']['context'] = 0; + + /* Display: Data export */ + $handler = $view->new_display('views_data_export', 'Data export', 'views_data_export_1'); + $handler->display->display_options['pager']['type'] = 'some'; + $handler->display->display_options['style_plugin'] = 'views_data_export_csv'; + $translatables['admin_peoples'] = array( + t('Master'), + t('Admin Users'), + t('plus'), + t('Appliquer'), + t('Réinitialiser'), + t('Trier par'), + t('Asc'), + t('Desc'), + t('Éléments par page'), + t('- Tout -'), + t('Décalage'), + t('« premier'), + t('‹ précédent'), + t('suivant ›'), + t('dernier »'), + t('Résumé'), + t('Displaying @start - @end of @total'), + t('Profil'), + t('Utilisateur'), + t('Titre'), + t('Prénom'), + t('Nom'), + t('[field_first_name] [field_name]'), + t('Courriel'), + t('Lien de modification'), + t('[edit_node]'), + t('Rôles'), + t('Expiration'), + t('Société'), + t('Organization'), + t('service'), + t('service : [field_service]'), + t('Qualité'), + t('quality : [field_private_quality]'), + t('SIRET'), + t('siret : [field_siret]'), + t('Employé'), + t('employee : [field_employee]'), + t('Site internet'), + t('Adresse'), + t('Téléphone'), + t('Lettres d’information'), + t('Mémo'), + t('Date de création'), + t('Dernier accès'), + t('Langue'), + t('Actif'), + t('Login count (?)'), + t('.'), + t(','), + t('Envoyer le courriel'), + t('One time login'), + t('Mémo Contient'), + t('Page'), + t('Data export'), + ); + $export['admin_peoples'] = $view; + + $view = new view(); + $view->name = 'taxonomy_companies_manager'; + $view->description = ''; + $view->tag = 'default'; + $view->base_table = 'taxonomy_term_data'; + $view->human_name = 'taxonomy companies manager'; + $view->core = 7; + $view->api_version = '3.0'; + $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ + + /* Display: Master */ + $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['title'] = 'taxonomy companies manager'; + $handler->display->display_options['use_more_always'] = FALSE; + $handler->display->display_options['use_more_text'] = 'plus'; + $handler->display->display_options['access']['type'] = 'perm'; + $handler->display->display_options['cache']['type'] = 'none'; + $handler->display->display_options['query']['type'] = 'views_query'; + $handler->display->display_options['exposed_form']['type'] = 'basic'; + $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer'; + $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Réinitialiser'; + $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par'; + $handler->display->display_options['pager']['type'] = 'full'; + $handler->display->display_options['pager']['options']['items_per_page'] = '100'; + $handler->display->display_options['pager']['options']['offset'] = '0'; + $handler->display->display_options['pager']['options']['id'] = '0'; + $handler->display->display_options['pager']['options']['quantity'] = '9'; + $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page'; + $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -'; + $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage'; + $handler->display->display_options['pager']['options']['tags']['first'] = '« premier'; + $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent'; + $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›'; + $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »'; + $handler->display->display_options['style_plugin'] = 'table'; + /* Champ: Opérations en masse : Terme de taxonomie */ + $handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations'; + $handler->display->display_options['fields']['views_bulk_operations']['table'] = 'taxonomy_term_data'; + $handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations'; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '0'; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10'; + $handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array( + 'action::system_message_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::system_send_email_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::views_bulk_operations_script_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::views_bulk_operations_modify_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'settings' => array( + 'show_all_tokens' => 1, + 'display_values' => array( + '_all_' => '_all_', + ), + ), + 'postpone_processing' => 0, + ), + 'action::views_bulk_operations_argument_selector_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'settings' => array( + 'url' => '', + ), + ), + 'action::system_goto_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::views_bulk_operations_delete_item' => array( + 'selected' => 1, + 'skip_confirmation' => 1, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + 'action::pathauto_taxonomy_term_update_action' => array( + 'selected' => 0, + 'skip_confirmation' => 0, + 'override_label' => 0, + 'label' => '', + 'postpone_processing' => 0, + ), + ); + /* Champ: Terme de taxonomie : Nom */ + $handler->display->display_options['fields']['name']['id'] = 'name'; + $handler->display->display_options['fields']['name']['table'] = 'taxonomy_term_data'; + $handler->display->display_options['fields']['name']['field'] = 'name'; + $handler->display->display_options['fields']['name']['label'] = ''; + $handler->display->display_options['fields']['name']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['name']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['name']['link_to_taxonomy'] = TRUE; + /* Critère de filtrage: Vocabulaire de taxonomie : Nom système */ + $handler->display->display_options['filters']['machine_name']['id'] = 'machine_name'; + $handler->display->display_options['filters']['machine_name']['table'] = 'taxonomy_vocabulary'; + $handler->display->display_options['filters']['machine_name']['field'] = 'machine_name'; + $handler->display->display_options['filters']['machine_name']['value'] = array( + 'onthologie' => 'onthologie', + 'tag_libres' => 'tag_libres', + 'company' => 'company', + ); + $handler->display->display_options['filters']['machine_name']['exposed'] = TRUE; + $handler->display->display_options['filters']['machine_name']['expose']['operator_id'] = 'machine_name_op'; + $handler->display->display_options['filters']['machine_name']['expose']['label'] = 'Vocabulaire'; + $handler->display->display_options['filters']['machine_name']['expose']['operator'] = 'machine_name_op'; + $handler->display->display_options['filters']['machine_name']['expose']['identifier'] = 'machine_name'; + $handler->display->display_options['filters']['machine_name']['expose']['reduce'] = TRUE; + /* Critère de filtrage: Vocabulaire de taxonomie : Nom système */ + $handler->display->display_options['filters']['machine_name_1']['id'] = 'machine_name_1'; + $handler->display->display_options['filters']['machine_name_1']['table'] = 'taxonomy_vocabulary'; + $handler->display->display_options['filters']['machine_name_1']['field'] = 'machine_name'; + $handler->display->display_options['filters']['machine_name_1']['value'] = array( + 'onthologie' => 'onthologie', + 'tag_libres' => 'tag_libres', + 'company' => 'company', + ); + + /* Display: Page */ + $handler = $view->new_display('page', 'Page', 'page'); + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; + $handler->display->display_options['path'] = 'taxonomy-companies-manager'; + $translatables['taxonomy_companies_manager'] = array( + t('Master'), + t('taxonomy companies manager'), + t('plus'), + t('Appliquer'), + t('Réinitialiser'), + t('Trier par'), + t('Asc'), + t('Desc'), + t('Éléments par page'), + t('- Tout -'), + t('Décalage'), + t('« premier'), + t('‹ précédent'), + t('suivant ›'), + t('dernier »'), + t('Terme de taxonomie'), + t('Vocabulaire'), + t('Page'), + ); + $export['taxonomy_companies_manager'] = $view; + + return $export; +} diff --git a/sites/all/modules/features/materio_bookmarks/materio_bookmarks.features.inc b/sites/all/modules/features/materio_bookmarks/materio_bookmarks.features.inc new file mode 100644 index 00000000..be29c7fc --- /dev/null +++ b/sites/all/modules/features/materio_bookmarks/materio_bookmarks.features.inc @@ -0,0 +1,91 @@ + 'node', + 'title' => 'Bookmarks', + 'global' => 0, + 'types' => array( + 0 => 'breve', + 1 => 'materiau', + ), + 'flag_short' => 'Bookmark this', + 'flag_long' => 'Add this post to your bookmarks', + 'flag_message' => 'This post has been added to your bookmarks', + 'unflag_short' => 'Unbookmark this', + 'unflag_long' => 'Remove this post from your bookmarks', + 'unflag_message' => 'This post has been removed from your bookmarks', + 'unflag_denied_text' => '', + 'link_type' => 'toggle', + 'weight' => 0, + 'show_in_links' => array( + 'full' => 'full', + 'bookmark' => 'bookmark', + 'cardsmall' => 'cardsmall', + 'cardmedium' => 'cardmedium', + 'cardbig' => 'cardbig', + 'cardfull' => 'cardfull', + 'teaser' => 0, + 'rss' => 0, + 'diff_standard' => 0, + 'print' => 0, + 'email_plain' => 0, + 'email_html' => 0, + 'email_textalt' => 0, + 'token' => 0, + ), + 'show_as_field' => 0, + 'show_on_form' => 0, + 'access_author' => '', + 'show_contextual_link' => FALSE, + 'i18n' => 0, + 'module' => 'materio_bookmarks', + 'locked' => array( + 0 => 'name', + ), + 'api_version' => 3, + ); + return $flags; + +} + +/** + * Implements hook_image_default_styles(). + */ +function materio_bookmarks_image_default_styles() { + $styles = array(); + + // Exported image style: card-bookmark. + $styles['card-bookmark'] = array( + 'name' => 'card-bookmark', + 'effects' => array( + 5 => array( + 'label' => 'Mise à l\'échelle et recadrage', + 'help' => 'La mise à l\'échelle et le recadrage maintiendront les proportions originales de l\'image puis recadreront la dimension la plus large. C\'est très utile pour créer des vignettes carrées sans étirer les images.', + 'effect callback' => 'image_scale_and_crop_effect', + 'dimensions callback' => 'image_resize_dimensions', + 'form callback' => 'image_resize_form', + 'summary theme' => 'image_resize_summary', + 'module' => 'image', + 'name' => 'image_scale_and_crop', + 'data' => array( + 'width' => 50, + 'height' => 70, + ), + 'weight' => 1, + ), + ), + 'label' => 'card-bookmark', + ); + + return $styles; +} diff --git a/sites/all/modules/features/materio_bookmarks/materio_bookmarks.features.user_permission.inc b/sites/all/modules/features/materio_bookmarks/materio_bookmarks.features.user_permission.inc new file mode 100644 index 00000000..403e062c --- /dev/null +++ b/sites/all/modules/features/materio_bookmarks/materio_bookmarks.features.user_permission.inc @@ -0,0 +1,40 @@ + 'flag bookmarks', + 'roles' => array( + 'Student' => 'Student', + 'Utilisateur' => 'Utilisateur', + 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'flag', + ); + + // Exported permission: 'unflag bookmarks'. + $permissions['unflag bookmarks'] = array( + 'name' => 'unflag bookmarks', + 'roles' => array( + 'Student' => 'Student', + 'Utilisateur' => 'Utilisateur', + 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'flag', + ); + + return $permissions; +} diff --git a/sites/all/modules/features/materio_bookmarks/materio_bookmarks.info b/sites/all/modules/features/materio_bookmarks/materio_bookmarks.info new file mode 100644 index 00000000..5afbcc20 --- /dev/null +++ b/sites/all/modules/features/materio_bookmarks/materio_bookmarks.info @@ -0,0 +1,13 @@ +name = Materio bookmarks +core = 7.x +package = Materio +dependencies[] = features +dependencies[] = flag +dependencies[] = image +dependencies[] = materio_flag +features[features_api][] = api:2 +features[flag][] = bookmarks +features[image][] = card-bookmark +features[user_permission][] = flag bookmarks +features[user_permission][] = unflag bookmarks +project path = sites/all/modules/features diff --git a/sites/all/modules/features/materio_bookmarks/materio_bookmarks.module b/sites/all/modules/features/materio_bookmarks/materio_bookmarks.module new file mode 100644 index 00000000..0ebfe0d0 --- /dev/null +++ b/sites/all/modules/features/materio_bookmarks/materio_bookmarks.module @@ -0,0 +1,7 @@ +disabled = FALSE; /* Edit this to true to make a default cnr_obj disabled initially */ + $cnr_obj->api_version = 1; + $cnr_obj->entity_types_content_fields = 'node*breve*field_materiau_ref*node*materiau*field_breve_ref'; + $cnr_obj->enabled = 1; + $export['node*breve*field_materiau_ref*node*materiau*field_breve_ref'] = $cnr_obj; + + $cnr_obj = new stdClass(); + $cnr_obj->disabled = FALSE; /* Edit this to true to make a default cnr_obj disabled initially */ + $cnr_obj->api_version = 1; + $cnr_obj->entity_types_content_fields = 'node*materiau*field_materiau_ref*node*materiau*field_materiau_ref'; + $cnr_obj->enabled = 1; + $export['node*materiau*field_materiau_ref*node*materiau*field_materiau_ref'] = $cnr_obj; + + return $export; +} diff --git a/sites/all/modules/features/materio_content_types/materio_content_types.features.field.inc b/sites/all/modules/features/materio_content_types/materio_content_types.features.field.inc new file mode 100644 index 00000000..83e7fcad --- /dev/null +++ b/sites/all/modules/features/materio_content_types/materio_content_types.features.field.inc @@ -0,0 +1,5935 @@ + array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array( + 0 => 'node', + ), + 'field_name' => 'body', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + ), + 'translatable' => '1', + 'type' => 'text_with_summary', + ), + 'field_instance' => array( + 'bundle' => 'breve', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '9', + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '5', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '12', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '3', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '9', + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '1', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '3', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'body', + 'label' => 'Body', + 'required' => FALSE, + 'settings' => array( + 'display_summary' => TRUE, + 'entity_translation_sync' => FALSE, + 'text_processing' => 1, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'rows' => 20, + 'summary_rows' => 5, + ), + 'type' => 'text_textarea_with_summary', + 'weight' => '-4', + ), + ), + ); + + // Exported field: 'node-breve-field_authored_on'. + $fields['node-breve-field_authored_on'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_authored_on', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => '0', + 'module' => 'computed_field', + 'settings' => array( + 'code' => '//dsm($entity, \'$entity\'); +$entity_field[0][\'value\'] = format_date($entity->created, \'breves\');', + 'database' => array( + 'data_default' => '', + 'data_index' => 0, + 'data_length' => '32', + 'data_not_NULL' => 0, + 'data_precision' => '10', + 'data_scale' => '2', + 'data_size' => 'normal', + 'data_type' => 'varchar', + ), + 'display_format' => '$display_output = $entity_field_item[\'value\'];', + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + 'store' => 0, + ), + 'translatable' => '0', + 'type' => 'computed', + ), + 'field_instance' => array( + 'bundle' => 'breve', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_unsanitized', + 'weight' => '5', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_unsanitized', + 'weight' => '13', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_unsanitized', + 'weight' => '3', + ), + 'cardsmall' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_plain', + 'weight' => '2', + ), + 'default' => array( + 'label' => 'above', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_plain', + 'weight' => 10, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_unsanitized', + 'weight' => '1', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_authored_on', + 'label' => 'Authored on', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'field_extrawidgets', + 'settings' => array( + 'display_empty' => 0, + 'formatter' => '', + 'formatter_settings' => array(), + ), + 'type' => 'field_extrawidgets_read_only', + 'weight' => '21', + ), + ), + ); + + // Exported field: 'node-breve-field_materiau_ref'. + $fields['node-breve-field_materiau_ref'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_materiau_ref', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'node' => array( + 'columns' => array( + 'target_id' => 'nid', + ), + 'table' => 'node', + ), + ), + 'indexes' => array( + 'target_id' => array( + 0 => 'target_id', + ), + ), + 'locked' => '0', + 'module' => 'entityreference', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'handler' => 'views', + 'handler_settings' => array( + 'behaviors' => array( + 'views-select-list' => array( + 'status' => 0, + ), + ), + 'view' => array( + 'args' => array(), + 'display_name' => 'entityreference_1', + 'view_name' => 'entity_reference_materiaux_breves', + ), + ), + 'handler_submit' => 'Change handler', + 'profile2_private' => FALSE, + 'target_type' => 'node', + ), + 'translatable' => '0', + 'type' => 'entityreference', + ), + 'field_instance' => array( + 'bundle' => 'breve', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '7', + ), + 'cardbig' => array( + 'label' => 'above', + 'module' => 'entityreference', + 'settings' => array( + 'link' => FALSE, + ), + 'type' => 'entityreference_label', + 'weight' => '9', + ), + 'cardfull' => array( + 'label' => 'above', + 'module' => 'entityreference', + 'settings' => array( + 'link' => FALSE, + ), + 'type' => 'entityreference_label', + 'weight' => '14', + ), + 'cardmedium' => array( + 'label' => 'above', + 'module' => 'entityreference', + 'settings' => array( + 'link' => FALSE, + ), + 'type' => 'entityreference_label', + 'weight' => '8', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '8', + ), + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '8', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '7', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_materiau_ref', + 'label' => 'Materiau(x) lié(s)', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'entityreference', + 'settings' => array( + 'match_operator' => 'CONTAINS', + 'path' => '', + 'size' => '60', + ), + 'type' => 'entityreference_autocomplete', + 'weight' => '1', + ), + ), + ); + + // Exported field: 'node-breve-field_memo'. + $fields['node-breve-field_memo'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_memo', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => TRUE, + ), + 'translatable' => '0', + 'type' => 'text_long', + ), + 'field_instance' => array( + 'bundle' => 'breve', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '8', + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '7', + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '9', + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '9', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '6', + ), + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '9', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '8', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_memo', + 'label' => 'Mémo', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => '0', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'rows' => '10', + ), + 'type' => 'text_textarea', + 'weight' => '4', + ), + ), + ); + + // Exported field: 'node-breve-field_onthologie'. + $fields['node-breve-field_onthologie'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_onthologie', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array( + 'tid' => array( + 'columns' => array( + 'tid' => 'tid', + ), + 'table' => 'taxonomy_term_data', + ), + ), + 'indexes' => array( + 'tid' => array( + 0 => 'tid', + ), + ), + 'locked' => '0', + 'module' => 'taxonomy', + 'settings' => array( + 'allowed_values' => array( + 0 => array( + 'vocabulary' => 'onthologie', + 'parent' => '0', + 'depth' => '', + ), + ), + 'entity_translation_sync' => FALSE, + 'options_list_callback' => 'i18n_taxonomy_allowed_values', + 'profile2_private' => FALSE, + ), + 'translatable' => '0', + 'type' => 'taxonomy_term_reference', + ), + 'field_instance' => array( + 'bundle' => 'breve', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '4', + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '5', + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '4', + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '5', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '4', + ), + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '4', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '4', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_onthologie', + 'label' => 'Onthologie', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'term_reference_tree', + 'settings' => array( + 'cascading_selection' => 0, + 'filter_view' => '', + 'leaves_only' => 0, + 'max_depth' => '', + 'parent_term_id' => '', + 'select_parents' => 1, + 'start_minimized' => 1, + 'starting_depth' => '2', + 'token_display' => '', + 'track_list' => 1, + 'track_list_order' => 1, + ), + 'type' => 'term_reference_tree', + 'weight' => '18', + ), + ), + ); + + // Exported field: 'node-breve-field_source'. + $fields['node-breve-field_source'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_source', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => '0', + 'module' => 'link', + 'settings' => array( + 'attributes' => array( + 'class' => '', + 'rel' => '', + 'target' => 'default', + ), + 'display' => array( + 'url_cutoff' => 80, + ), + 'enable_tokens' => 1, + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + 'title' => 'optional', + 'title_maxlength' => 128, + 'title_value' => '', + 'url' => 0, + ), + 'translatable' => '0', + 'type' => 'link_field', + ), + 'field_instance' => array( + 'bundle' => 'breve', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '6', + ), + 'cardbig' => array( + 'label' => 'above', + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_default', + 'weight' => '8', + ), + 'cardfull' => array( + 'label' => 'inline', + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_default', + 'weight' => '13', + ), + 'cardmedium' => array( + 'label' => 'above', + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_default', + 'weight' => '7', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '7', + ), + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '7', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '10', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_source', + 'label' => 'source', + 'required' => 0, + 'settings' => array( + 'attributes' => array( + 'class' => '', + 'configurable_title' => 0, + 'rel' => '', + 'target' => '_blank', + 'title' => '', + ), + 'display' => array( + 'url_cutoff' => '80', + ), + 'enable_tokens' => 1, + 'entity_translation_sync' => FALSE, + 'rel_remove' => 'default', + 'title' => 'none', + 'title_maxlength' => '128', + 'title_value' => '', + 'url' => 0, + 'user_register_form' => FALSE, + 'validate_url' => 1, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_field', + 'weight' => '-2', + ), + ), + ); + + // Exported field: 'node-breve-field_tags_libres'. + $fields['node-breve-field_tags_libres'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_tags_libres', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array( + 'tid' => array( + 'columns' => array( + 'tid' => 'tid', + ), + 'table' => 'taxonomy_term_data', + ), + ), + 'indexes' => array( + 'tid' => array( + 0 => 'tid', + ), + ), + 'locked' => '0', + 'module' => 'taxonomy', + 'settings' => array( + 'allowed_values' => array( + 0 => array( + 'vocabulary' => 'tag_libres', + 'parent' => '0', + ), + ), + 'entity_translation_sync' => FALSE, + 'options_list_callback' => 'i18n_taxonomy_allowed_values', + 'profile2_private' => FALSE, + ), + 'translatable' => '0', + 'type' => 'taxonomy_term_reference', + ), + 'field_instance' => array( + 'bundle' => 'breve', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '5', + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '4', + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '5', + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '6', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '5', + ), + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '5', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '5', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_tags_libres', + 'label' => 'Tags libres', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'autocomplete_deluxe', + 'settings' => array( + 'autocomplete_deluxe_path' => 'autocomplete_deluxe/taxonomy', + 'content_taxonomy_autocomplete_new_terms' => 'allow', + 'size' => '60', + ), + 'type' => 'autocomplete_deluxe_taxonomy', + 'weight' => '20', + ), + ), + ); + + // Exported field: 'node-breve-field_video_filter'. + $fields['node-breve-field_video_filter'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_video_filter', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array(), + 'indexes' => array( + 'height' => array( + 0 => 'height', + ), + 'width' => array( + 0 => 'width', + ), + ), + 'locked' => '0', + 'module' => 'video_filter_field', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + ), + 'translatable' => '0', + 'type' => 'video_filter', + ), + 'field_instance' => array( + 'bundle' => 'breve', + 'default_value' => array( + 0 => array( + 'url' => '', + 'height' => '400', + 'width' => '300', + 'autoplay' => 0, + ), + ), + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '3', + ), + 'cardbig' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '9', + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '3', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '6', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '3', + ), + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '3', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '6', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_video_filter', + 'label' => 'video', + 'required' => 0, + 'settings' => array( + 'autoplay' => 0, + 'entity_translation_sync' => FALSE, + 'max_height' => 400, + 'max_width' => 400, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'video_filter_field', + 'settings' => array(), + 'type' => 'video_filter', + 'weight' => '16', + ), + ), + ); + + // Exported field: 'node-breve-field_visuel'. + $fields['node-breve-field_visuel'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_visuel', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array( + 'fid' => array( + 'columns' => array( + 'fid' => 'fid', + ), + 'table' => 'file_managed', + ), + ), + 'indexes' => array( + 'fid' => array( + 0 => 'fid', + ), + ), + 'locked' => '0', + 'module' => 'image', + 'settings' => array( + 'default_image' => 0, + 'entity_translation_sync' => array( + 0 => 'fid', + ), + 'profile2_private' => FALSE, + 'uri_scheme' => 'public', + ), + 'translatable' => '1', + 'type' => 'image', + ), + 'field_instance' => array( + 'bundle' => 'breve', + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'card-bookmark', + ), + 'type' => 'image', + 'weight' => '2', + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'card-big', + ), + 'type' => 'image', + 'weight' => '14', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'card-full', + ), + 'type' => 'image', + 'weight' => '18', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'card-medium', + ), + 'type' => 'image', + 'weight' => '14', + ), + 'cardsmall' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'card-small', + ), + 'type' => 'image', + 'weight' => '1', + ), + 'default' => array( + 'label' => 'above', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => '', + ), + 'type' => 'image', + 'weight' => '2', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '9', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_visuel', + 'label' => 'Image', + 'required' => 0, + 'settings' => array( + 'alt_field' => 0, + 'default_image' => 0, + 'entity_translation_sync' => FALSE, + 'file_directory' => 'breves', + 'file_extensions' => 'png gif jpg jpeg', + 'max_filesize' => '', + 'max_resolution' => '', + 'min_resolution' => '', + 'title_field' => 1, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'image', + 'settings' => array( + 'preview_image_style' => 'medium', + 'progress_indicator' => 'throbber', + ), + 'type' => 'image_image', + 'weight' => '15', + ), + ), + ); + + // Exported field: 'node-breve-field_workflow_state'. + $fields['node-breve-field_workflow_state'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_workflow_state', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => '0', + 'module' => 'computed_field', + 'settings' => array( + 'code' => '', + 'database' => array( + 'data_default' => '', + 'data_index' => 0, + 'data_length' => '32', + 'data_not_NULL' => 0, + 'data_precision' => '10', + 'data_scale' => '2', + 'data_size' => 'normal', + 'data_type' => 'varchar', + ), + 'display_format' => '//dsm($entity); +$workflow = workflow_get_workflow_type_map_by_type($entity->type); +$states = workflow_get_workflow_states_by_wid($workflow->wid); +foreach ($states as $state) { + if ($state->sid == $entity->workflow) { + $display_output = $state->state; + dsm($state, \'state\'); + } +} +', + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + 'store' => 1, + ), + 'translatable' => '0', + 'type' => 'computed', + ), + 'field_instance' => array( + 'bundle' => 'breve', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '0', + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '0', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_plain', + 'weight' => 11, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_unsanitized', + 'weight' => '2', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_workflow_state', + 'label' => 'Workflow State', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'field_extrawidgets', + 'settings' => array( + 'display_empty' => 0, + 'formatter' => '', + 'formatter_settings' => array(), + ), + 'type' => 'field_extrawidgets_read_only', + 'weight' => '23', + ), + ), + ); + + // Exported field: 'node-breve-title_field'. + $fields['node-breve-title_field'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'title_field', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + 'profile2_private' => FALSE, + ), + 'translatable' => '1', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'breve', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => '4', + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '4', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '12', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '2', + ), + 'cardsmall' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => '1', + ), + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => '0', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '0', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'title_field', + 'label' => 'Titre', + 'required' => 1, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'hide_label' => array( + 'entity' => 0, + 'page' => 0, + ), + 'text_processing' => '0', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => '60', + ), + 'type' => 'text_textfield', + 'weight' => '-5', + ), + ), + ); + + // Exported field: 'node-company-body'. + $fields['node-company-body'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array( + 0 => 'node', + ), + 'field_name' => 'body', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + ), + 'translatable' => '1', + 'type' => 'text_with_summary', + ), + 'field_instance' => array( + 'bundle' => 'company', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '1', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '1', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => '1', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '0', + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => '1', + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array( + 'trim_length' => 600, + ), + 'type' => 'text_summary_or_trimmed', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'body', + 'label' => 'Materio speach', + 'required' => 0, + 'settings' => array( + 'display_summary' => 1, + 'entity_translation_sync' => FALSE, + 'text_processing' => '1', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'rows' => '20', + 'summary_rows' => 5, + ), + 'type' => 'text_textarea_with_summary', + 'weight' => '4', + ), + ), + ); + + // Exported field: 'node-company-field_attachments'. + $fields['node-company-field_attachments'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_attachments', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'fid' => array( + 'columns' => array( + 'fid' => 'fid', + ), + 'table' => 'file_managed', + ), + ), + 'indexes' => array( + 'fid' => array( + 0 => 'fid', + ), + ), + 'locked' => '0', + 'module' => 'file', + 'settings' => array( + 'display_default' => 1, + 'display_field' => 1, + 'entity_translation_sync' => array( + 0 => 'fid', + ), + 'profile2_private' => FALSE, + 'uri_scheme' => 'public', + ), + 'translatable' => '0', + 'type' => 'file', + ), + 'field_instance' => array( + 'bundle' => 'company', + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'file', + 'settings' => array(), + 'type' => 'file_default', + 'weight' => '8', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'file', + 'settings' => array(), + 'type' => 'file_default', + 'weight' => '8', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'file', + 'settings' => array(), + 'type' => 'file_table', + 'weight' => '8', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'file', + 'settings' => array(), + 'type' => 'file_default', + 'weight' => '10', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '7', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_attachments', + 'label' => 'Fichiers joints', + 'required' => 0, + 'settings' => array( + 'description_field' => 0, + 'entity_translation_sync' => FALSE, + 'file_directory' => '', + 'file_extensions' => 'txt pdf doc docx', + 'max_filesize' => '', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'file', + 'settings' => array( + 'progress_indicator' => 'throbber', + ), + 'type' => 'file_generic', + 'weight' => '13', + ), + ), + ); + + // Exported field: 'node-company-field_department'. + $fields['node-company-field_department'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_department', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => '255', + 'profile2_private' => FALSE, + ), + 'translatable' => '1', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'company', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '3', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '3', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '3', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'inline', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '5', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '8', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_department', + 'label' => 'Department', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => '0', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => '60', + ), + 'type' => 'text_textfield', + 'weight' => '2', + ), + ), + ); + + // Exported field: 'node-company-field_infos_from_company'. + $fields['node-company-field_infos_from_company'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_infos_from_company', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + ), + 'translatable' => '1', + 'type' => 'text_long', + ), + 'field_instance' => array( + 'bundle' => 'company', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '2', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '2', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => '2', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '4', + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '2', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_infos_from_company', + 'label' => 'Infos from company', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => '1', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'rows' => '5', + ), + 'type' => 'text_textarea', + 'weight' => '6', + ), + ), + ); + + // Exported field: 'node-company-field_memo'. + $fields['node-company-field_memo'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_memo', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => TRUE, + ), + 'translatable' => '0', + 'type' => 'text_long', + ), + 'field_instance' => array( + 'bundle' => 'company', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '11', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '10', + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '11', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '2', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '9', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_memo', + 'label' => 'Mémo', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => '0', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'rows' => '10', + ), + 'type' => 'text_textarea', + 'weight' => '10', + ), + ), + ); + + // Exported field: 'node-company-field_note'. + $fields['node-company-field_note'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_note', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array(), + 'indexes' => array( + 'value' => array( + 0 => 'value', + ), + ), + 'locked' => '0', + 'module' => 'list', + 'settings' => array( + 'allowed_values' => array( + 0 => '0', + 1 => '1', + 2 => '2', + 3 => '3', + 4 => '4', + 5 => '5', + ), + 'allowed_values_function' => '', + 'entity_translation_sync' => FALSE, + 'profile2_private' => TRUE, + ), + 'translatable' => '0', + 'type' => 'list_integer', + ), + 'field_instance' => array( + 'bundle' => 'company', + 'default_value' => array( + 0 => array( + 'value' => '2', + ), + ), + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '10', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '11', + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '10', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'inline', + 'module' => 'list', + 'settings' => array(), + 'type' => 'list_default', + 'weight' => '3', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '10', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_note', + 'label' => 'Note', + 'required' => 1, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'options', + 'settings' => array(), + 'type' => 'options_select', + 'weight' => '9', + ), + ), + ); + + // Exported field: 'node-company-field_public_address'. + $fields['node-company-field_public_address'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_public_address', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => '0', + 'module' => 'addressfield', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => 1, + ), + 'translatable' => '0', + 'type' => 'addressfield', + ), + 'field_instance' => array( + 'bundle' => 'company', + 'default_value' => array( + 0 => array( + 'element_key' => 'node|company|field_public_address|und|0', + 'thoroughfare' => '', + 'premise' => '', + 'postal_code' => '', + 'locality' => '', + 'country' => 'FR', + ), + ), + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'addressfield', + 'settings' => array( + 'format_handlers' => array( + 0 => 'address', + ), + 'use_widget_handlers' => 1, + ), + 'type' => 'addressfield_default', + 'weight' => '7', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'addressfield', + 'settings' => array( + 'format_handlers' => array( + 0 => 'address', + ), + 'use_widget_handlers' => 1, + ), + 'type' => 'addressfield_default', + 'weight' => '7', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'addressfield', + 'settings' => array( + 'format_handlers' => array( + 'address' => 'address', + ), + 'use_widget_handlers' => 1, + ), + 'type' => 'addressfield_default', + 'weight' => '7', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'addressfield', + 'settings' => array( + 'format_handlers' => array( + 0 => 'address', + ), + 'use_widget_handlers' => 1, + ), + 'type' => 'addressfield_default', + 'weight' => '9', + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'addressfield', + 'settings' => array( + 'format_handlers' => array( + 0 => 'address', + ), + 'use_widget_handlers' => 1, + ), + 'type' => 'addressfield_default', + 'weight' => '6', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_public_address', + 'label' => 'Adresse', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'addressfield', + 'settings' => array( + 'available_countries' => array(), + 'format_handlers' => array( + 'address' => 'address', + 'name-full' => 0, + 'name-oneline' => 0, + 'organisation' => 0, + ), + ), + 'type' => 'addressfield_standard', + 'weight' => '7', + ), + ), + ); + + // Exported field: 'node-company-field_public_email'. + $fields['node-company-field_public_email'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_public_email', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => '0', + 'module' => 'email', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + ), + 'translatable' => '0', + 'type' => 'email', + ), + 'field_instance' => array( + 'bundle' => 'company', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'email', + 'settings' => array(), + 'type' => 'email_default', + 'weight' => '5', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'email', + 'settings' => array(), + 'type' => 'email_default', + 'weight' => '5', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'email', + 'settings' => array(), + 'type' => 'email_default', + 'weight' => '5', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'email', + 'settings' => array(), + 'type' => 'email_default', + 'weight' => '7', + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'email', + 'settings' => array(), + 'type' => 'email_plain', + 'weight' => '5', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_public_email', + 'label' => 'Email', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'email', + 'settings' => array( + 'size' => '60', + ), + 'type' => 'email_textfield', + 'weight' => '3', + ), + ), + ); + + // Exported field: 'node-company-field_public_phone'. + $fields['node-company-field_public_phone'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_public_phone', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => '0', + 'module' => 'cck_phone', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + 'size' => '30', + ), + 'translatable' => '0', + 'type' => 'phone_number', + ), + 'field_instance' => array( + 'bundle' => 'company', + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'cck_phone', + 'settings' => array(), + 'type' => 'global_phone_number', + 'weight' => '6', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'cck_phone', + 'settings' => array(), + 'type' => 'global_phone_number', + 'weight' => '6', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'cck_phone', + 'settings' => array(), + 'type' => 'global_phone_number', + 'weight' => '6', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'cck_phone', + 'settings' => array(), + 'type' => 'global_phone_number', + 'weight' => '8', + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'cck_phone', + 'settings' => array(), + 'type' => 'global_phone_number', + 'weight' => '4', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_public_phone', + 'label' => 'Phone', + 'required' => 0, + 'settings' => array( + 'all_country_codes' => 1, + 'country_code_position' => 'after', + 'country_codes' => array( + 'country_selection' => array( + 'ad' => 0, + 'ae' => 0, + 'af' => 0, + 'ag' => 0, + 'ai' => 0, + 'al' => 0, + 'am' => 0, + 'an' => 0, + 'ao' => 0, + 'ar' => 0, + 'as' => 0, + 'at' => 0, + 'au' => 0, + 'aw' => 0, + 'az' => 0, + 'ba' => 0, + 'bb' => 0, + 'bd' => 0, + 'be' => 0, + 'bf' => 0, + 'bg' => 0, + 'bh' => 0, + 'bi' => 0, + 'bj' => 0, + 'bm' => 0, + 'bn' => 0, + 'bo' => 0, + 'br' => 0, + 'bs' => 0, + 'bt' => 0, + 'bw' => 0, + 'by' => 0, + 'bz' => 0, + 'ca' => 0, + 'cc' => 0, + 'cd' => 0, + 'cf' => 0, + 'cg' => 0, + 'ch' => 0, + 'ci' => 0, + 'ck' => 0, + 'cl' => 0, + 'cm' => 0, + 'cn' => 0, + 'co' => 0, + 'cr' => 0, + 'cu' => 0, + 'cv' => 0, + 'cx' => 0, + 'cy' => 0, + 'cz' => 0, + 'de' => 0, + 'dj' => 0, + 'dk' => 0, + 'dm' => 0, + 'do' => 0, + 'dz' => 0, + 'ec' => 0, + 'ee' => 0, + 'eg' => 0, + 'er' => 0, + 'es' => 0, + 'et' => 0, + 'fi' => 0, + 'fj' => 0, + 'fk' => 0, + 'fm' => 0, + 'fo' => 0, + 'fr' => 0, + 'ga' => 0, + 'gb' => 0, + 'gd' => 0, + 'ge' => 0, + 'gf' => 0, + 'gh' => 0, + 'gi' => 0, + 'gl' => 0, + 'gm' => 0, + 'gn' => 0, + 'gp' => 0, + 'gq' => 0, + 'gr' => 0, + 'gt' => 0, + 'gu' => 0, + 'gw' => 0, + 'gy' => 0, + 'hk' => 0, + 'hn' => 0, + 'hr' => 0, + 'ht' => 0, + 'hu' => 0, + 'id' => 0, + 'ie' => 0, + 'il' => 0, + 'in' => 0, + 'io' => 0, + 'iq' => 0, + 'ir' => 0, + 'is' => 0, + 'it' => 0, + 'jm' => 0, + 'jo' => 0, + 'jp' => 0, + 'ke' => 0, + 'kg' => 0, + 'kh' => 0, + 'ki' => 0, + 'km' => 0, + 'kn' => 0, + 'kp' => 0, + 'kr' => 0, + 'kw' => 0, + 'ky' => 0, + 'kz' => 0, + 'la' => 0, + 'lb' => 0, + 'lc' => 0, + 'li' => 0, + 'lk' => 0, + 'lr' => 0, + 'ls' => 0, + 'lt' => 0, + 'lu' => 0, + 'lv' => 0, + 'ly' => 0, + 'ma' => 0, + 'mc' => 0, + 'md' => 0, + 'me' => 0, + 'mg' => 0, + 'mh' => 0, + 'mk' => 0, + 'ml' => 0, + 'mm' => 0, + 'mn' => 0, + 'mo' => 0, + 'mp' => 0, + 'mq' => 0, + 'mr' => 0, + 'ms' => 0, + 'mt' => 0, + 'mu' => 0, + 'mv' => 0, + 'mw' => 0, + 'mx' => 0, + 'my' => 0, + 'mz' => 0, + 'na' => 0, + 'nc' => 0, + 'ne' => 0, + 'nf' => 0, + 'ng' => 0, + 'ni' => 0, + 'nl' => 0, + 'no' => 0, + 'np' => 0, + 'nr' => 0, + 'nu' => 0, + 'nz' => 0, + 'om' => 0, + 'pa' => 0, + 'pe' => 0, + 'pf' => 0, + 'pg' => 0, + 'ph' => 0, + 'pk' => 0, + 'pl' => 0, + 'pm' => 0, + 'pr' => 0, + 'ps' => 0, + 'pt' => 0, + 'pw' => 0, + 'py' => 0, + 'qa' => 0, + 'ro' => 0, + 'rs' => 0, + 'ru' => 0, + 'rw' => 0, + 'sa' => 0, + 'sb' => 0, + 'sc' => 0, + 'sd' => 0, + 'se' => 0, + 'sg' => 0, + 'sh' => 0, + 'si' => 0, + 'sk' => 0, + 'sl' => 0, + 'sm' => 0, + 'sn' => 0, + 'so' => 0, + 'sr' => 0, + 'ss' => 0, + 'st' => 0, + 'sv' => 0, + 'sy' => 0, + 'sz' => 0, + 'tc' => 0, + 'td' => 0, + 'tg' => 0, + 'th' => 0, + 'tj' => 0, + 'tk' => 0, + 'tm' => 0, + 'tn' => 0, + 'to' => 0, + 'tp' => 0, + 'tr' => 0, + 'tt' => 0, + 'tv' => 0, + 'tw' => 0, + 'tz' => 0, + 'ua' => 0, + 'ug' => 0, + 'us' => 0, + 'uy' => 0, + 'uz' => 0, + 'va' => 0, + 'vc' => 0, + 've' => 0, + 'vg' => 0, + 'vi' => 0, + 'vn' => 0, + 'vu' => 0, + 'wf' => 0, + 'ws' => 0, + 'ye' => 0, + 'yt' => 0, + 'za' => 0, + 'zm' => 0, + 'zw' => 0, + ), + 'hide_single_cc' => 0, + ), + 'default_country' => 'fr', + 'enable_country_level_validation' => 0, + 'enable_default_country' => 1, + 'enable_extension' => 0, + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'cck_phone', + 'settings' => array( + 'size' => 15, + ), + 'type' => 'phone_number', + 'weight' => '8', + ), + ), + ); + + // Exported field: 'node-company-field_tode_company'. + $fields['node-company-field_tode_company'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_tode_company', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'tid' => array( + 'columns' => array( + 'tid' => 'tid', + ), + 'table' => 'taxonomy_term_data', + ), + ), + 'indexes' => array( + 'tid' => array( + 0 => 'tid', + ), + ), + 'locked' => '0', + 'module' => 'taxonomy', + 'settings' => array( + 'allowed_values' => array( + 0 => array( + 'vocabulary' => 'company', + 'parent' => '0', + 'depth' => '', + ), + ), + 'entity_translation_sync' => FALSE, + 'options_list_callback' => 'i18n_taxonomy_allowed_values', + 'profile2_private' => FALSE, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => '5', + ), + ), + 'translatable' => '0', + 'type' => 'taxonomy_term_reference', + ), + 'field_instance' => array( + 'bundle' => 'company', + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'taxonomy', + 'settings' => array(), + 'type' => 'taxonomy_term_reference_plain', + 'weight' => '0', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'taxonomy', + 'settings' => array(), + 'type' => 'taxonomy_term_reference_plain', + 'weight' => '0', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'taxonomy', + 'settings' => array(), + 'type' => 'taxonomy_term_reference_plain', + 'weight' => '0', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '11', + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'taxonomy', + 'settings' => array(), + 'type' => 'taxonomy_term_reference_plain', + 'weight' => '0', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_tode_company', + 'label' => 'Name', + 'required' => 1, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'tode', + 'settings' => array( + 'choose_term_parent' => 0, + 'maxlength' => '255', + 'redirect_node_to_term' => 0, + 'redirect_term_to_node' => 1, + 'show_create_tode' => 0, + 'show_term_form' => 0, + 'size' => 60, + ), + 'type' => 'tode', + 'weight' => '1', + ), + ), + ); + + // Exported field: 'node-company-field_website'. + $fields['node-company-field_website'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_website', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => '0', + 'module' => 'link', + 'settings' => array( + 'attributes' => array( + 'class' => '', + 'rel' => '', + 'target' => 'default', + ), + 'display' => array( + 'url_cutoff' => 80, + ), + 'enable_tokens' => 1, + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + 'title' => 'optional', + 'title_maxlength' => 128, + 'title_value' => '', + 'url' => 0, + ), + 'translatable' => '0', + 'type' => 'link_field', + ), + 'field_instance' => array( + 'bundle' => 'company', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '"http://" will be added automaticly.', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_default', + 'weight' => '4', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_default', + 'weight' => '4', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_default', + 'weight' => '4', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'inline', + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_default', + 'weight' => '6', + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_plain', + 'weight' => '3', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_website', + 'label' => 'website', + 'required' => 0, + 'settings' => array( + 'attributes' => array( + 'class' => '', + 'configurable_title' => 0, + 'rel' => '', + 'target' => '_blank', + 'title' => '', + ), + 'display' => array( + 'url_cutoff' => '80', + ), + 'enable_tokens' => 1, + 'entity_translation_sync' => FALSE, + 'rel_remove' => 'default', + 'title' => 'none', + 'title_maxlength' => '128', + 'title_value' => '', + 'url' => 0, + 'user_register_form' => FALSE, + 'validate_url' => 1, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_field', + 'weight' => '5', + ), + ), + ); + + // Exported field: 'node-materiau-field_attachments'. + $fields['node-materiau-field_attachments'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_attachments', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'fid' => array( + 'columns' => array( + 'fid' => 'fid', + ), + 'table' => 'file_managed', + ), + ), + 'indexes' => array( + 'fid' => array( + 0 => 'fid', + ), + ), + 'locked' => '0', + 'module' => 'file', + 'settings' => array( + 'display_default' => 1, + 'display_field' => 1, + 'entity_translation_sync' => array( + 0 => 'fid', + ), + 'profile2_private' => FALSE, + 'uri_scheme' => 'public', + ), + 'translatable' => '0', + 'type' => 'file', + ), + 'field_instance' => array( + 'bundle' => 'materiau', + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '18', + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'file', + 'settings' => array(), + 'type' => 'file_default', + 'weight' => '6', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'file', + 'settings' => array(), + 'type' => 'file_default', + 'weight' => '17', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'file', + 'settings' => array(), + 'type' => 'file_default', + 'weight' => '12', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '16', + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'file', + 'settings' => array(), + 'type' => 'file_default', + 'weight' => '9', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '17', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '17', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_attachments', + 'label' => 'Fichiers joints', + 'required' => 0, + 'settings' => array( + 'description_field' => 0, + 'entity_translation_sync' => FALSE, + 'file_directory' => '', + 'file_extensions' => 'txt pdf doc docx', + 'max_filesize' => '', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'file', + 'settings' => array( + 'progress_indicator' => 'throbber', + ), + 'type' => 'file_generic', + 'weight' => '3', + ), + ), + ); + + // Exported field: 'node-materiau-field_breve_ref'. + $fields['node-materiau-field_breve_ref'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_breve_ref', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array( + 'node' => array( + 'columns' => array( + 'target_id' => 'nid', + ), + 'table' => 'node', + ), + ), + 'indexes' => array( + 'target_id' => array( + 0 => 'target_id', + ), + ), + 'locked' => '0', + 'module' => 'entityreference', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'handler' => 'base', + 'handler_settings' => array( + 'behaviors' => array( + 'views-select-list' => array( + 'status' => 0, + ), + ), + 'sort' => array( + 'direction' => 'ASC', + 'field' => 'body:value', + 'property' => 'nid', + 'type' => 'none', + ), + 'target_bundles' => array( + 'breve' => 'breve', + ), + ), + 'handler_submit' => 'Change handler', + 'profile2_private' => FALSE, + 'target_type' => 'node', + ), + 'translatable' => '0', + 'type' => 'entityreference', + ), + 'field_instance' => array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '8', + ), + 'cardbig' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '9', + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '5', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '13', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '8', + ), + 'default' => array( + 'label' => 'above', + 'module' => 'entityreference', + 'settings' => array( + 'link' => FALSE, + ), + 'type' => 'entityreference_label', + 'weight' => '23', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '10', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '9', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_breve_ref', + 'label' => 'Brève(s) liée(s)', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'entityreference', + 'settings' => array( + 'match_operator' => 'CONTAINS', + 'path' => '', + 'size' => '60', + ), + 'type' => 'entityreference_autocomplete', + 'weight' => '28', + ), + ), + ); + + // Exported field: 'node-materiau-field_company_distrib'. + $fields['node-materiau-field_company_distrib'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_company_distrib', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'tid' => array( + 'columns' => array( + 'tid' => 'tid', + ), + 'table' => 'taxonomy_term_data', + ), + ), + 'indexes' => array( + 'tid' => array( + 0 => 'tid', + ), + ), + 'locked' => '0', + 'module' => 'taxonomy', + 'settings' => array( + 'allowed_values' => array( + 0 => array( + 'vocabulary' => 'company', + 'parent' => '0', + ), + ), + 'entity_translation_sync' => FALSE, + 'options_list_callback' => 'i18n_taxonomy_allowed_values', + 'profile2_private' => FALSE, + ), + 'translatable' => '0', + 'type' => 'taxonomy_term_reference', + ), + 'field_instance' => array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '4', + ), + 'cardbig' => array( + 'label' => 'inline', + 'module' => 'tode', + 'settings' => array( + 'viewmode' => 'cardbig', + ), + 'type' => 'tode', + 'weight' => '5', + ), + 'cardfull' => array( + 'label' => 'inline', + 'module' => 'tode', + 'settings' => array( + 'viewmode' => 'cardfull', + ), + 'type' => 'tode', + 'weight' => '19', + ), + 'cardmedium' => array( + 'label' => 'above', + 'module' => 'tode', + 'settings' => array( + 'viewmode' => 'cardmedium', + ), + 'type' => 'tode', + 'weight' => '10', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '4', + ), + 'default' => array( + 'label' => 'inline', + 'module' => 'i18n_taxonomy', + 'settings' => array(), + 'type' => 'i18n_taxonomy_term_reference_link', + 'weight' => '18', + ), + 'print' => array( + 'label' => 'above', + 'module' => 'tode', + 'settings' => array( + 'viewmode' => 'print', + ), + 'type' => 'tode', + 'weight' => '5', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '5', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_company_distrib', + 'label' => 'Distributeurs', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'autocomplete_deluxe', + 'settings' => array( + 'autocomplete_deluxe_path' => 'autocomplete_deluxe/taxonomy', + 'content_taxonomy_autocomplete_new_terms' => 'deny', + 'size' => '60', + ), + 'type' => 'autocomplete_deluxe_taxonomy', + 'weight' => '25', + ), + ), + ); + + // Exported field: 'node-materiau-field_company_fab'. + $fields['node-materiau-field_company_fab'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_company_fab', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'tid' => array( + 'columns' => array( + 'tid' => 'tid', + ), + 'table' => 'taxonomy_term_data', + ), + ), + 'indexes' => array( + 'tid' => array( + 0 => 'tid', + ), + ), + 'locked' => '0', + 'module' => 'taxonomy', + 'settings' => array( + 'allowed_values' => array( + 0 => array( + 'vocabulary' => 'company', + 'parent' => '0', + ), + ), + 'entity_translation_sync' => FALSE, + 'options_list_callback' => 'i18n_taxonomy_allowed_values', + 'profile2_private' => FALSE, + ), + 'translatable' => '0', + 'type' => 'taxonomy_term_reference', + ), + 'field_instance' => array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '9', + ), + 'cardbig' => array( + 'label' => 'inline', + 'module' => 'tode', + 'settings' => array( + 'viewmode' => 'cardbig', + ), + 'type' => 'tode', + 'weight' => '4', + ), + 'cardfull' => array( + 'label' => 'inline', + 'module' => 'tode', + 'settings' => array( + 'viewmode' => 'cardfull', + ), + 'type' => 'tode', + 'weight' => '18', + ), + 'cardmedium' => array( + 'label' => 'above', + 'module' => 'tode', + 'settings' => array( + 'viewmode' => 'cardmedium', + ), + 'type' => 'tode', + 'weight' => '9', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '9', + ), + 'default' => array( + 'label' => 'inline', + 'module' => 'i18n_taxonomy', + 'settings' => array(), + 'type' => 'i18n_taxonomy_term_reference_link', + 'weight' => '17', + ), + 'print' => array( + 'label' => 'above', + 'module' => 'tode', + 'settings' => array( + 'viewmode' => 'print', + ), + 'type' => 'tode', + 'weight' => '4', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '6', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_company_fab', + 'label' => 'Fabricants', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'autocomplete_deluxe', + 'settings' => array( + 'autocomplete_deluxe_path' => 'autocomplete_deluxe/taxonomy', + 'content_taxonomy_autocomplete_new_terms' => 'deny', + 'size' => '60', + ), + 'type' => 'autocomplete_deluxe_taxonomy', + 'weight' => '24', + ), + ), + ); + + // Exported field: 'node-materiau-field_description'. + $fields['node-materiau-field_description'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_description', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + ), + 'translatable' => '1', + 'type' => 'text_with_summary', + ), + 'field_instance' => array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '13', + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '2', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '16', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '11', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '12', + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '0', + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '2', + ), + 'teaser' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '4', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_description', + 'label' => 'Description', + 'required' => 0, + 'settings' => array( + 'display_summary' => 1, + 'entity_translation_sync' => FALSE, + 'text_processing' => '1', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'rows' => '20', + 'summary_rows' => 5, + ), + 'type' => 'text_textarea_with_summary', + 'weight' => '-3', + ), + ), + ); + + // Exported field: 'node-materiau-field_famille'. + $fields['node-materiau-field_famille'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_famille', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array(), + 'indexes' => array( + 'value' => array( + 0 => 'value', + ), + ), + 'locked' => '0', + 'module' => 'list', + 'settings' => array( + 'allowed_values' => array( + 'W' => 'Bois (W)', + 'T' => 'Textile (T)', + 'R' => 'Plastique (R)', + 'P' => 'Papier (P)', + 'C' => 'Composite (C)', + 'M' => 'Métal (M)', + 'F' => 'Céramique (F)', + 'G' => 'Verre (G)', + 'S' => 'Béton/Pierre (S)', + 'O' => 'Autre (O)', + ), + 'allowed_values_function' => '', + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + ), + 'translatable' => '0', + 'type' => 'list_text', + ), + 'field_instance' => array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '3', + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '8', + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '7', + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '6', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '3', + ), + 'default' => array( + 'label' => 'above', + 'module' => 'list', + 'settings' => array(), + 'type' => 'list_default', + 'weight' => '19', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '8', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '7', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_famille', + 'label' => 'Famille', + 'required' => 1, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'options', + 'settings' => array(), + 'type' => 'options_select', + 'weight' => '1', + ), + ), + ); + + // Exported field: 'node-materiau-field_identifiant'. + $fields['node-materiau-field_identifiant'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_identifiant', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => '0', + 'module' => 'computed_field', + 'settings' => array( + 'code' => '$entity_field[0][\'value\'] = "";', + 'database' => array( + 'data_default' => '', + 'data_index' => 0, + 'data_length' => '32', + 'data_not_NULL' => 0, + 'data_precision' => '10', + 'data_scale' => '2', + 'data_size' => 'normal', + 'data_type' => 'varchar', + ), + 'display_format' => '$display_output = $entity_field_item[\'value\'];', + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + 'store' => 1, + ), + 'translatable' => '0', + 'type' => 'computed', + ), + 'field_instance' => array( + 'bundle' => 'materiau', + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '2', + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '7', + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '3', + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '7', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '5', + ), + 'default' => array( + 'label' => 'above', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_plain', + 'weight' => '20', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '9', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '8', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_identifiant', + 'label' => 'Identifiant', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed', + 'weight' => '2', + ), + ), + ); + + // Exported field: 'node-materiau-field_localisation'. + $fields['node-materiau-field_localisation'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_localisation', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => '255', + 'profile2_private' => FALSE, + ), + 'translatable' => '0', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '17', + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '8', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '19', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '21', + ), + 'cardsmall' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => '8', + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '14', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '16', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '16', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_localisation', + 'label' => 'Localisation', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => '0', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => '60', + ), + 'type' => 'text_textfield', + 'weight' => '4', + ), + ), + ); + + // Exported field: 'node-materiau-field_materiau_image'. + $fields['node-materiau-field_materiau_image'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_materiau_image', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array( + 'fid' => array( + 'columns' => array( + 'fid' => 'fid', + ), + 'table' => 'file_managed', + ), + ), + 'indexes' => array( + 'fid' => array( + 0 => 'fid', + ), + ), + 'locked' => '0', + 'module' => 'image', + 'settings' => array( + 'default_image' => 0, + 'entity_translation_sync' => array( + 0 => 'fid', + ), + 'profile2_private' => FALSE, + 'uri_scheme' => 'public', + ), + 'translatable' => '0', + 'type' => 'image', + ), + 'field_instance' => array( + 'bundle' => 'materiau', + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'card-bookmark', + ), + 'type' => 'image', + 'weight' => '1', + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'card-big', + ), + 'type' => 'image', + 'weight' => '1', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'card-full', + ), + 'type' => 'image', + 'weight' => '1', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'card-medium', + ), + 'type' => 'image', + 'weight' => '18', + ), + 'cardsmall' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'card-small', + ), + 'type' => 'image', + 'weight' => '2', + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'large', + ), + 'type' => 'image', + 'weight' => '6', + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'pdf', + ), + 'type' => 'image', + 'weight' => '3', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '13', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_materiau_image', + 'label' => 'Image', + 'required' => 0, + 'settings' => array( + 'alt_field' => 0, + 'default_image' => 0, + 'entity_translation_sync' => FALSE, + 'file_directory' => 'materiaux', + 'file_extensions' => 'png gif jpg jpeg', + 'max_filesize' => '', + 'max_resolution' => '', + 'min_resolution' => '', + 'title_field' => 1, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'image', + 'settings' => array( + 'preview_image_style' => 'medium', + 'progress_indicator' => 'throbber', + ), + 'type' => 'image_image', + 'weight' => '11', + ), + ), + ); + + // Exported field: 'node-materiau-field_materiau_ref'. + $fields['node-materiau-field_materiau_ref'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_materiau_ref', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'node' => array( + 'columns' => array( + 'target_id' => 'nid', + ), + 'table' => 'node', + ), + ), + 'indexes' => array( + 'target_id' => array( + 0 => 'target_id', + ), + ), + 'locked' => '0', + 'module' => 'entityreference', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'handler' => 'views', + 'handler_settings' => array( + 'behaviors' => array( + 'views-select-list' => array( + 'status' => 0, + ), + ), + 'view' => array( + 'args' => array(), + 'display_name' => 'entityreference_1', + 'view_name' => 'entity_reference_materiaux_breves', + ), + ), + 'handler_submit' => 'Change handler', + 'profile2_private' => FALSE, + 'target_type' => 'node', + ), + 'translatable' => '0', + 'type' => 'entityreference', + ), + 'field_instance' => array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '6', + ), + 'cardbig' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '6', + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '4', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '12', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '6', + ), + 'default' => array( + 'label' => 'above', + 'module' => 'entityreference', + 'settings' => array( + 'link' => FALSE, + ), + 'type' => 'entityreference_label', + 'weight' => '22', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '11', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '10', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_materiau_ref', + 'label' => 'Materiau(x) lié(s)', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'entityreference', + 'settings' => array( + 'match_operator' => 'CONTAINS', + 'path' => '', + 'size' => '60', + ), + 'type' => 'entityreference_autocomplete', + 'weight' => '27', + ), + ), + ); + + // Exported field: 'node-materiau-field_memo'. + $fields['node-materiau-field_memo'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_memo', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => TRUE, + ), + 'translatable' => '0', + 'type' => 'text_long', + ), + 'field_instance' => array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '14', + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '11', + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '9', + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '9', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '13', + ), + 'default' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '8', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '15', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '15', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_memo', + 'label' => 'Mémo', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => '0', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'rows' => '10', + ), + 'type' => 'text_textarea', + 'weight' => '7', + ), + ), + ); + + // Exported field: 'node-materiau-field_nature_titre'. + $fields['node-materiau-field_nature_titre'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_nature_titre', + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => '255', + ), + 'translatable' => '1', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '9', + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => '6', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => '17', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => '19', + ), + 'cardsmall' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => '6', + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '1', + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'title', + 'settings' => array( + 'title_class' => '', + 'title_link' => '', + 'title_style' => '', + ), + 'type' => 'title_linked', + 'weight' => '1', + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '2', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_nature_titre', + 'label' => 'Nature Titre', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => '0', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => '60', + ), + 'type' => 'text_textfield', + 'weight' => '-4', + ), + ), + ); + + // Exported field: 'node-materiau-field_onthologie'. + $fields['node-materiau-field_onthologie'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_onthologie', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array( + 'tid' => array( + 'columns' => array( + 'tid' => 'tid', + ), + 'table' => 'taxonomy_term_data', + ), + ), + 'indexes' => array( + 'tid' => array( + 0 => 'tid', + ), + ), + 'locked' => '0', + 'module' => 'taxonomy', + 'settings' => array( + 'allowed_values' => array( + 0 => array( + 'vocabulary' => 'onthologie', + 'parent' => '0', + 'depth' => '', + ), + ), + 'entity_translation_sync' => FALSE, + 'options_list_callback' => 'i18n_taxonomy_allowed_values', + 'profile2_private' => FALSE, + ), + 'translatable' => '0', + 'type' => 'taxonomy_term_reference', + ), + 'field_instance' => array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '10', + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '10', + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '8', + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '8', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '10', + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'i18n_taxonomy', + 'settings' => array(), + 'type' => 'i18n_taxonomy_term_reference_link', + 'weight' => '16', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '12', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '11', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_onthologie', + 'label' => 'Onthologie', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'term_reference_tree', + 'settings' => array( + 'cascading_selection' => 0, + 'filter_view' => '', + 'leaves_only' => 0, + 'max_depth' => '', + 'parent_term_id' => '', + 'select_parents' => 1, + 'start_minimized' => 1, + 'starting_depth' => '2', + 'token_display' => '', + 'track_list' => 1, + 'track_list_order' => 1, + ), + 'type' => 'term_reference_tree', + 'weight' => '22', + ), + ), + ); + + // Exported field: 'node-materiau-field_reference_materio'. + $fields['node-materiau-field_reference_materio'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_reference_materio', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array(), + 'indexes' => array( + 'value' => array( + 0 => 'value', + ), + ), + 'locked' => '0', + 'module' => 'computed_field', + 'settings' => array( + 'code' => '$entity_field[0][\'value\'] = "";', + 'database' => array( + 'data_default' => '', + 'data_index' => 1, + 'data_length' => '255', + 'data_not_NULL' => 0, + 'data_precision' => '10', + 'data_scale' => '2', + 'data_size' => 'normal', + 'data_type' => 'varchar', + ), + 'display_format' => '$display_output = $entity_field_item[\'value\'];', + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + 'store' => 1, + ), + 'translatable' => '0', + 'type' => 'computed', + ), + 'field_instance' => array( + 'bundle' => 'materiau', + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_plain', + 'weight' => '10', + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_plain', + 'weight' => '7', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_plain', + 'weight' => '18', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_plain', + 'weight' => '20', + ), + 'cardsmall' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_plain', + 'weight' => '7', + ), + 'default' => array( + 'label' => 'above', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_plain', + 'weight' => '21', + ), + 'print' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '7', + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_unsanitized', + 'weight' => '1', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_reference_materio', + 'label' => 'Référence Materio', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed', + 'weight' => '3', + ), + ), + ); + + // Exported field: 'node-materiau-field_tags_libres'. + $fields['node-materiau-field_tags_libres'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_tags_libres', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array( + 'tid' => array( + 'columns' => array( + 'tid' => 'tid', + ), + 'table' => 'taxonomy_term_data', + ), + ), + 'indexes' => array( + 'tid' => array( + 0 => 'tid', + ), + ), + 'locked' => '0', + 'module' => 'taxonomy', + 'settings' => array( + 'allowed_values' => array( + 0 => array( + 'vocabulary' => 'tag_libres', + 'parent' => '0', + ), + ), + 'entity_translation_sync' => FALSE, + 'options_list_callback' => 'i18n_taxonomy_allowed_values', + 'profile2_private' => FALSE, + ), + 'translatable' => '0', + 'type' => 'taxonomy_term_reference', + ), + 'field_instance' => array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '16', + ), + 'cardbig' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '5', + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '11', + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '11', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '15', + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'i18n_taxonomy', + 'settings' => array(), + 'type' => 'i18n_taxonomy_term_reference_link', + 'weight' => '15', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '13', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '12', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_tags_libres', + 'label' => 'Tags libres', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'autocomplete_deluxe', + 'settings' => array( + 'autocomplete_deluxe_path' => 'autocomplete_deluxe/taxonomy', + 'content_taxonomy_autocomplete_new_terms' => 'allow', + 'size' => '60', + ), + 'type' => 'autocomplete_deluxe_taxonomy', + 'weight' => '23', + ), + ), + ); + + // Exported field: 'node-materiau-field_video_filter'. + $fields['node-materiau-field_video_filter'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_video_filter', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array(), + 'indexes' => array( + 'height' => array( + 0 => 'height', + ), + 'width' => array( + 0 => 'width', + ), + ), + 'locked' => '0', + 'module' => 'video_filter_field', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + ), + 'translatable' => '0', + 'type' => 'video_filter', + ), + 'field_instance' => array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '11', + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '3', + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '12', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '8', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '11', + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'video_filter_field', + 'settings' => array(), + 'type' => 'video_filter_field_default', + 'weight' => '7', + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '14', + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '14', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_video_filter', + 'label' => 'video', + 'required' => 0, + 'settings' => array( + 'autoplay' => 0, + 'entity_translation_sync' => FALSE, + 'max_height' => 400, + 'max_width' => 400, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'video_filter_field', + 'settings' => array(), + 'type' => 'video_filter', + 'weight' => '12', + ), + ), + ); + + // Exported field: 'node-materiau-field_workflow_state'. + $fields['node-materiau-field_workflow_state'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_workflow_state', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => '0', + 'module' => 'computed_field', + 'settings' => array( + 'code' => '', + 'database' => array( + 'data_default' => '', + 'data_index' => 0, + 'data_length' => '32', + 'data_not_NULL' => 0, + 'data_precision' => '10', + 'data_scale' => '2', + 'data_size' => 'normal', + 'data_type' => 'varchar', + ), + 'display_format' => '//dsm($entity); +$workflow = workflow_get_workflow_type_map_by_type($entity->type); +$states = workflow_get_workflow_states_by_wid($workflow->wid); +foreach ($states as $state) { + if ($state->sid == $entity->workflow) { + $display_output = $state->state; + dsm($state, \'state\'); + } +} +', + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + 'store' => 1, + ), + 'translatable' => '0', + 'type' => 'computed', + ), + 'field_instance' => array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '0', + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '0', + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_plain', + 'weight' => 24, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '6', + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_unsanitized', + 'weight' => '3', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_workflow_state', + 'label' => 'Workflow State', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'field_extrawidgets', + 'settings' => array( + 'display_empty' => 0, + 'formatter' => '', + 'formatter_settings' => array(), + ), + 'type' => 'field_extrawidgets_read_only', + 'weight' => '29', + ), + ), + ); + + // Exported field: 'node-materiau-title_field'. + $fields['node-materiau-title_field'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'title_field', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + 'profile2_private' => FALSE, + ), + 'translatable' => '1', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => 'A field replacing node title.', + 'display' => array( + 'bookmark' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => '8', + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => '5', + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => '16', + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => '18', + ), + 'cardsmall' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => '5', + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '12', + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '0', + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '0', + ), + ), + 'entity_type' => 'node', + 'field_name' => 'title_field', + 'label' => 'Nom', + 'required' => 1, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'hide_label' => array( + 'entity' => 0, + 'page' => 0, + ), + 'text_processing' => '0', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => '60', + ), + 'type' => 'text_textfield', + 'weight' => '-5', + ), + ), + ); + + // Exported field: 'node-page-body'. + $fields['node-page-body'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array( + 0 => 'node', + ), + 'field_name' => 'body', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + ), + 'translatable' => '1', + 'type' => 'text_with_summary', + ), + 'field_instance' => array( + 'bundle' => 'page', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array( + 'trim_length' => 600, + ), + 'type' => 'text_summary_or_trimmed', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'body', + 'label' => 'Body', + 'required' => FALSE, + 'settings' => array( + 'display_summary' => TRUE, + 'entity_translation_sync' => FALSE, + 'text_processing' => 1, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'rows' => 20, + 'summary_rows' => 5, + ), + 'type' => 'text_textarea_with_summary', + 'weight' => -4, + ), + ), + ); + + // Exported field: 'node-page-title_field'. + $fields['node-page-title_field'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'title_field', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + 'profile2_private' => FALSE, + ), + 'translatable' => '1', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'page', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => 'A field replacing node title.', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 1, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'title_field', + 'label' => 'Titre', + 'required' => TRUE, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'hide_label' => array( + 'entity' => FALSE, + 'page' => FALSE, + ), + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => -5, + ), + ), + ); + + // Exported field: 'node-webform-body'. + $fields['node-webform-body'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array( + 0 => 'node', + ), + 'field_name' => 'body', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + ), + 'translatable' => '1', + 'type' => 'text_with_summary', + ), + 'field_instance' => array( + 'bundle' => 'webform', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array( + 'trim_length' => 600, + ), + 'type' => 'text_summary_or_trimmed', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'body', + 'label' => 'Body', + 'required' => FALSE, + 'settings' => array( + 'display_summary' => TRUE, + 'entity_translation_sync' => FALSE, + 'text_processing' => 1, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'rows' => 20, + 'summary_rows' => 5, + ), + 'type' => 'text_textarea_with_summary', + 'weight' => 31, + ), + ), + ); + + // Exported field: 'node-webform-title_field'. + $fields['node-webform-title_field'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'title_field', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + 'profile2_private' => FALSE, + ), + 'translatable' => '1', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'webform', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => 'A field replacing node title.', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 1, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'title_field', + 'label' => 'Titre', + 'required' => TRUE, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'hide_label' => array( + 'entity' => FALSE, + 'page' => FALSE, + ), + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => -5, + ), + ), + ); + + // Exported field: 'taxonomy_term-company-synonyms_synonym'. + $fields['taxonomy_term-company-synonyms_synonym'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'synonyms_synonym', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + 'profile2_private' => FALSE, + ), + 'translatable' => '1', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'company', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + ), + 'entity_type' => 'taxonomy_term', + 'field_name' => 'synonyms_synonym', + 'label' => 'Synonyms', + 'required' => FALSE, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => 31, + ), + ), + ); + + // Exported field: 'taxonomy_term-onthologie-name_field'. + $fields['taxonomy_term-onthologie-name_field'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'name_field', + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + ), + 'translatable' => '1', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'onthologie', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => 'A field replacing taxonomy term name.', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => '1', + ), + 'search_index' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '0', + ), + ), + 'entity_type' => 'taxonomy_term', + 'field_name' => 'name_field', + 'label' => 'Nom', + 'required' => TRUE, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'hide_label' => array( + 'entity' => FALSE, + 'page' => FALSE, + ), + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => -5, + ), + ), + ); + + // Exported field: 'taxonomy_term-onthologie-synonyms_synonym'. + $fields['taxonomy_term-onthologie-synonyms_synonym'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'synonyms_synonym', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + 'profile2_private' => FALSE, + ), + 'translatable' => '1', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'onthologie', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '0', + ), + 'search_index' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => '1', + ), + ), + 'entity_type' => 'taxonomy_term', + 'field_name' => 'synonyms_synonym', + 'label' => 'Synonyms', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => '0', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => '60', + ), + 'type' => 'text_textfield', + 'weight' => 31, + ), + ), + ); + + // Exported field: 'taxonomy_term-tag_libres-name_field'. + $fields['taxonomy_term-tag_libres-name_field'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'name_field', + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + ), + 'translatable' => '1', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'tag_libres', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 1, + ), + ), + 'entity_type' => 'taxonomy_term', + 'field_name' => 'name_field', + 'label' => 'Nom', + 'required' => TRUE, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'hide_label' => array( + 'entity' => FALSE, + 'page' => FALSE, + ), + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => -5, + ), + ), + ); + + // Exported field: 'taxonomy_term-tag_libres-synonyms_synonym'. + $fields['taxonomy_term-tag_libres-synonyms_synonym'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '-1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'synonyms_synonym', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + 'profile2_private' => FALSE, + ), + 'translatable' => '1', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'tag_libres', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + ), + 'entity_type' => 'taxonomy_term', + 'field_name' => 'synonyms_synonym', + 'label' => 'Synonyms', + 'required' => FALSE, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => 31, + ), + ), + ); + + // Translatables + // Included for use with string extractors like potx. + t('"http://" will be added automaticly.'); + t('A field replacing node title.'); + t('A field replacing taxonomy term name.'); + t('Adresse'); + t('Authored on'); + t('Body'); + t('Brève(s) liée(s)'); + t('Department'); + t('Description'); + t('Distributeurs'); + t('Email'); + t('Fabricants'); + t('Famille'); + t('Fichiers joints'); + t('Identifiant'); + t('Image'); + t('Infos from company'); + t('Localisation'); + t('Materiau(x) lié(s)'); + t('Materio speach'); + t('Mémo'); + t('Name'); + t('Nature Titre'); + t('Nom'); + t('Note'); + t('Onthologie'); + t('Phone'); + t('Référence Materio'); + t('Synonyms'); + t('Tags libres'); + t('Titre'); + t('Workflow State'); + t('source'); + t('video'); + t('website'); + + return $fields; +} diff --git a/sites/all/modules/features/materio_content_types/materio_content_types.features.field_base.inc b/sites/all/modules/features/materio_content_types/materio_content_types.features.field_base.inc new file mode 100644 index 00000000..7c326fd3 --- /dev/null +++ b/sites/all/modules/features/materio_content_types/materio_content_types.features.field_base.inc @@ -0,0 +1,1088 @@ + 1, + 'cardinality' => -1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_attachments', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array( + 'fid' => array( + 'columns' => array( + 'fid' => 'fid', + ), + 'table' => 'file_managed', + ), + ), + 'indexes' => array( + 'fid' => array( + 0 => 'fid', + ), + ), + 'locked' => 0, + 'module' => 'file', + 'settings' => array( + 'display_default' => 1, + 'display_field' => 1, + 'entity_translation_sync' => array( + 0 => 'fid', + ), + 'profile2_private' => FALSE, + 'uri_scheme' => 'public', + ), + 'translatable' => 0, + 'type' => 'file', + ); + + // Exported field_base: 'field_authored_on' + $field_bases['field_authored_on'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_authored_on', + 'field_permissions' => array( + 'type' => 0, + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => 0, + 'module' => 'computed_field', + 'settings' => array( + 'code' => '//dsm($entity, \'$entity\'); +$entity_field[0][\'value\'] = format_date($entity->created, \'breves\');', + 'database' => array( + 'data_default' => '', + 'data_index' => 0, + 'data_length' => 32, + 'data_not_NULL' => 0, + 'data_precision' => 10, + 'data_scale' => 2, + 'data_size' => 'normal', + 'data_type' => 'varchar', + ), + 'display_format' => '$display_output = $entity_field_item[\'value\'];', + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + 'store' => 0, + ), + 'translatable' => 0, + 'type' => 'computed', + ); + + // Exported field_base: 'field_breve_ref' + $field_bases['field_breve_ref'] = array( + 'active' => 1, + 'cardinality' => -1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_breve_ref', + 'field_permissions' => array( + 'type' => 0, + ), + 'foreign keys' => array( + 'node' => array( + 'columns' => array( + 'target_id' => 'nid', + ), + 'table' => 'node', + ), + ), + 'indexes' => array( + 'target_id' => array( + 0 => 'target_id', + ), + ), + 'locked' => 0, + 'module' => 'entityreference', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'handler' => 'base', + 'handler_settings' => array( + 'behaviors' => array( + 'views-select-list' => array( + 'status' => 0, + ), + ), + 'sort' => array( + 'direction' => 'ASC', + 'field' => 'body:value', + 'property' => 'nid', + 'type' => 'none', + ), + 'target_bundles' => array( + 'breve' => 'breve', + ), + ), + 'handler_submit' => 'Change handler', + 'profile2_private' => FALSE, + 'target_type' => 'node', + ), + 'translatable' => 0, + 'type' => 'entityreference', + ); + + // Exported field_base: 'field_company_distrib' + $field_bases['field_company_distrib'] = array( + 'active' => 1, + 'cardinality' => -1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_company_distrib', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array( + 'tid' => array( + 'columns' => array( + 'tid' => 'tid', + ), + 'table' => 'taxonomy_term_data', + ), + ), + 'indexes' => array( + 'tid' => array( + 0 => 'tid', + ), + ), + 'locked' => 0, + 'module' => 'taxonomy', + 'settings' => array( + 'allowed_values' => array( + 0 => array( + 'vocabulary' => 'company', + 'parent' => 0, + ), + ), + 'entity_translation_sync' => FALSE, + 'options_list_callback' => 'i18n_taxonomy_allowed_values', + 'profile2_private' => FALSE, + ), + 'translatable' => 0, + 'type' => 'taxonomy_term_reference', + ); + + // Exported field_base: 'field_company_fab' + $field_bases['field_company_fab'] = array( + 'active' => 1, + 'cardinality' => -1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_company_fab', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array( + 'tid' => array( + 'columns' => array( + 'tid' => 'tid', + ), + 'table' => 'taxonomy_term_data', + ), + ), + 'indexes' => array( + 'tid' => array( + 0 => 'tid', + ), + ), + 'locked' => 0, + 'module' => 'taxonomy', + 'settings' => array( + 'allowed_values' => array( + 0 => array( + 'vocabulary' => 'company', + 'parent' => 0, + ), + ), + 'entity_translation_sync' => FALSE, + 'options_list_callback' => 'i18n_taxonomy_allowed_values', + 'profile2_private' => FALSE, + ), + 'translatable' => 0, + 'type' => 'taxonomy_term_reference', + ); + + // Exported field_base: 'field_department' + $field_bases['field_department'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_department', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => 0, + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + 'profile2_private' => FALSE, + ), + 'translatable' => 1, + 'type' => 'text', + ); + + // Exported field_base: 'field_description' + $field_bases['field_description'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_description', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => 0, + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + ), + 'translatable' => 1, + 'type' => 'text_with_summary', + ); + + // Exported field_base: 'field_famille' + $field_bases['field_famille'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_famille', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array(), + 'indexes' => array( + 'value' => array( + 0 => 'value', + ), + ), + 'locked' => 0, + 'module' => 'list', + 'settings' => array( + 'allowed_values' => array( + 'W' => 'Bois (W)', + 'T' => 'Textile (T)', + 'R' => 'Plastique (R)', + 'P' => 'Papier (P)', + 'C' => 'Composite (C)', + 'M' => 'Métal (M)', + 'F' => 'Céramique (F)', + 'G' => 'Verre (G)', + 'S' => 'Béton/Pierre (S)', + 'O' => 'Autre (O)', + ), + 'allowed_values_function' => '', + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + ), + 'translatable' => 0, + 'type' => 'list_text', + ); + + // Exported field_base: 'field_identifiant' + $field_bases['field_identifiant'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_identifiant', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => 0, + 'module' => 'computed_field', + 'settings' => array( + 'code' => '$entity_field[0][\'value\'] = "";', + 'database' => array( + 'data_default' => '', + 'data_index' => 0, + 'data_length' => 32, + 'data_not_NULL' => 0, + 'data_precision' => 10, + 'data_scale' => 2, + 'data_size' => 'normal', + 'data_type' => 'varchar', + ), + 'display_format' => '$display_output = $entity_field_item[\'value\'];', + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + 'store' => 1, + ), + 'translatable' => 0, + 'type' => 'computed', + ); + + // Exported field_base: 'field_infos_from_company' + $field_bases['field_infos_from_company'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_infos_from_company', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => 0, + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + ), + 'translatable' => 1, + 'type' => 'text_long', + ); + + // Exported field_base: 'field_localisation' + $field_bases['field_localisation'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_localisation', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => 0, + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + 'profile2_private' => FALSE, + ), + 'translatable' => 0, + 'type' => 'text', + ); + + // Exported field_base: 'field_materiau_image' + $field_bases['field_materiau_image'] = array( + 'active' => 1, + 'cardinality' => -1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_materiau_image', + 'field_permissions' => array( + 'type' => 0, + ), + 'foreign keys' => array( + 'fid' => array( + 'columns' => array( + 'fid' => 'fid', + ), + 'table' => 'file_managed', + ), + ), + 'indexes' => array( + 'fid' => array( + 0 => 'fid', + ), + ), + 'locked' => 0, + 'module' => 'image', + 'settings' => array( + 'default_image' => 0, + 'entity_translation_sync' => array( + 0 => 'fid', + ), + 'profile2_private' => FALSE, + 'uri_scheme' => 'public', + ), + 'translatable' => 0, + 'type' => 'image', + ); + + // Exported field_base: 'field_materiau_ref' + $field_bases['field_materiau_ref'] = array( + 'active' => 1, + 'cardinality' => -1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_materiau_ref', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array( + 'node' => array( + 'columns' => array( + 'target_id' => 'nid', + ), + 'table' => 'node', + ), + ), + 'indexes' => array( + 'target_id' => array( + 0 => 'target_id', + ), + ), + 'locked' => 0, + 'module' => 'entityreference', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'handler' => 'views', + 'handler_settings' => array( + 'behaviors' => array( + 'views-select-list' => array( + 'status' => 0, + ), + ), + 'view' => array( + 'args' => array(), + 'display_name' => 'entityreference_1', + 'view_name' => 'entity_reference_materiaux_breves', + ), + ), + 'handler_submit' => 'Change handler', + 'profile2_private' => FALSE, + 'target_type' => 'node', + ), + 'translatable' => 0, + 'type' => 'entityreference', + ); + + // Exported field_base: 'field_nature_titre' + $field_bases['field_nature_titre'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_nature_titre', + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => 0, + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + ), + 'translatable' => 1, + 'type' => 'text', + ); + + // Exported field_base: 'field_note' + $field_bases['field_note'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_note', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array(), + 'indexes' => array( + 'value' => array( + 0 => 'value', + ), + ), + 'locked' => 0, + 'module' => 'list', + 'settings' => array( + 'allowed_values' => array( + 0 => 0, + 1 => 1, + 2 => 2, + 3 => 3, + 4 => 4, + 5 => 5, + ), + 'allowed_values_function' => '', + 'entity_translation_sync' => FALSE, + 'profile2_private' => TRUE, + ), + 'translatable' => 0, + 'type' => 'list_integer', + ); + + // Exported field_base: 'field_onthologie' + $field_bases['field_onthologie'] = array( + 'active' => 1, + 'cardinality' => -1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_onthologie', + 'field_permissions' => array( + 'type' => 0, + ), + 'foreign keys' => array( + 'tid' => array( + 'columns' => array( + 'tid' => 'tid', + ), + 'table' => 'taxonomy_term_data', + ), + ), + 'indexes' => array( + 'tid' => array( + 0 => 'tid', + ), + ), + 'locked' => 0, + 'module' => 'taxonomy', + 'settings' => array( + 'allowed_values' => array( + 0 => array( + 'vocabulary' => 'onthologie', + 'parent' => 0, + 'depth' => '', + ), + ), + 'entity_translation_sync' => FALSE, + 'options_list_callback' => 'i18n_taxonomy_allowed_values', + 'profile2_private' => FALSE, + ), + 'translatable' => 0, + 'type' => 'taxonomy_term_reference', + ); + + // Exported field_base: 'field_public_address' + $field_bases['field_public_address'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_public_address', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => 0, + 'module' => 'addressfield', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => TRUE, + ), + 'translatable' => 0, + 'type' => 'addressfield', + ); + + // Exported field_base: 'field_public_email' + $field_bases['field_public_email'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_public_email', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => 0, + 'module' => 'email', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + ), + 'translatable' => 0, + 'type' => 'email', + ); + + // Exported field_base: 'field_public_phone' + $field_bases['field_public_phone'] = array( + 'active' => 1, + 'cardinality' => -1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_public_phone', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => 0, + 'module' => 'cck_phone', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + 'size' => 30, + ), + 'translatable' => 0, + 'type' => 'phone_number', + ); + + // Exported field_base: 'field_reference_materio' + $field_bases['field_reference_materio'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_reference_materio', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array(), + 'indexes' => array( + 'value' => array( + 0 => 'value', + ), + ), + 'locked' => 0, + 'module' => 'computed_field', + 'settings' => array( + 'code' => '$entity_field[0][\'value\'] = "";', + 'database' => array( + 'data_default' => '', + 'data_index' => 1, + 'data_length' => 255, + 'data_not_NULL' => 0, + 'data_precision' => 10, + 'data_scale' => 2, + 'data_size' => 'normal', + 'data_type' => 'varchar', + ), + 'display_format' => '$display_output = $entity_field_item[\'value\'];', + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + 'store' => 1, + ), + 'translatable' => 0, + 'type' => 'computed', + ); + + // Exported field_base: 'field_source' + $field_bases['field_source'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_source', + 'field_permissions' => array( + 'type' => 0, + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => 0, + 'module' => 'link', + 'settings' => array( + 'attributes' => array( + 'class' => '', + 'rel' => '', + 'target' => 'default', + ), + 'display' => array( + 'url_cutoff' => 80, + ), + 'enable_tokens' => 1, + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + 'title' => 'optional', + 'title_maxlength' => 128, + 'title_value' => '', + 'url' => 0, + ), + 'translatable' => 0, + 'type' => 'link_field', + ); + + // Exported field_base: 'field_tags_libres' + $field_bases['field_tags_libres'] = array( + 'active' => 1, + 'cardinality' => -1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_tags_libres', + 'field_permissions' => array( + 'type' => 0, + ), + 'foreign keys' => array( + 'tid' => array( + 'columns' => array( + 'tid' => 'tid', + ), + 'table' => 'taxonomy_term_data', + ), + ), + 'indexes' => array( + 'tid' => array( + 0 => 'tid', + ), + ), + 'locked' => 0, + 'module' => 'taxonomy', + 'settings' => array( + 'allowed_values' => array( + 0 => array( + 'vocabulary' => 'tag_libres', + 'parent' => 0, + ), + ), + 'entity_translation_sync' => FALSE, + 'options_list_callback' => 'i18n_taxonomy_allowed_values', + 'profile2_private' => FALSE, + ), + 'translatable' => 0, + 'type' => 'taxonomy_term_reference', + ); + + // Exported field_base: 'field_tode_company' + $field_bases['field_tode_company'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_tode_company', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array( + 'tid' => array( + 'columns' => array( + 'tid' => 'tid', + ), + 'table' => 'taxonomy_term_data', + ), + ), + 'indexes' => array( + 'tid' => array( + 0 => 'tid', + ), + ), + 'locked' => 0, + 'module' => 'taxonomy', + 'settings' => array( + 'allowed_values' => array( + 0 => array( + 'vocabulary' => 'company', + 'parent' => 0, + 'depth' => '', + ), + ), + 'entity_translation_sync' => FALSE, + 'options_list_callback' => 'i18n_taxonomy_allowed_values', + 'profile2_private' => FALSE, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 5, + ), + ), + 'translatable' => 0, + 'type' => 'taxonomy_term_reference', + ); + + // Exported field_base: 'field_used_on_advanced_search' + $field_bases['field_used_on_advanced_search'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_used_on_advanced_search', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array(), + 'indexes' => array( + 'value' => array( + 0 => 'value', + ), + ), + 'locked' => 0, + 'module' => 'list', + 'settings' => array( + 'allowed_values' => array( + 0 => 0, + 1 => 1, + ), + 'allowed_values_function' => '', + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + ), + 'translatable' => 0, + 'type' => 'list_boolean', + ); + + // Exported field_base: 'field_video_filter' + $field_bases['field_video_filter'] = array( + 'active' => 1, + 'cardinality' => -1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_video_filter', + 'field_permissions' => array( + 'type' => 0, + ), + 'foreign keys' => array(), + 'indexes' => array( + 'height' => array( + 0 => 'height', + ), + 'width' => array( + 0 => 'width', + ), + ), + 'locked' => 0, + 'module' => 'video_filter_field', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + ), + 'translatable' => 0, + 'type' => 'video_filter', + ); + + // Exported field_base: 'field_visuel' + $field_bases['field_visuel'] = array( + 'active' => 1, + 'cardinality' => 5, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_visuel', + 'field_permissions' => array( + 'type' => 0, + ), + 'foreign keys' => array( + 'fid' => array( + 'columns' => array( + 'fid' => 'fid', + ), + 'table' => 'file_managed', + ), + ), + 'indexes' => array( + 'fid' => array( + 0 => 'fid', + ), + ), + 'locked' => 0, + 'module' => 'image', + 'settings' => array( + 'default_image' => 0, + 'entity_translation_sync' => array( + 0 => 'fid', + ), + 'profile2_private' => FALSE, + 'uri_scheme' => 'public', + ), + 'translatable' => 1, + 'type' => 'image', + ); + + // Exported field_base: 'field_website' + $field_bases['field_website'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_website', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => 0, + 'module' => 'link', + 'settings' => array( + 'attributes' => array( + 'class' => '', + 'rel' => '', + 'target' => 'default', + ), + 'display' => array( + 'url_cutoff' => 80, + ), + 'enable_tokens' => 1, + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + 'title' => 'optional', + 'title_maxlength' => 128, + 'title_value' => '', + 'url' => 0, + ), + 'translatable' => 0, + 'type' => 'link_field', + ); + + // Exported field_base: 'field_workflow_state' + $field_bases['field_workflow_state'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_workflow_state', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => 0, + 'module' => 'computed_field', + 'settings' => array( + 'code' => '', + 'database' => array( + 'data_default' => '', + 'data_index' => 0, + 'data_length' => 32, + 'data_not_NULL' => 0, + 'data_precision' => 10, + 'data_scale' => 2, + 'data_size' => 'normal', + 'data_type' => 'varchar', + ), + 'display_format' => '//dsm($entity); +$workflow = workflow_get_workflow_type_map_by_type($entity->type); +$states = workflow_get_workflow_states_by_wid($workflow->wid); +foreach ($states as $state) { + if ($state->sid == $entity->workflow) { + $display_output = $state->state; + dsm($state, \'state\'); + } +} +', + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + 'store' => 1, + ), + 'translatable' => 0, + 'type' => 'computed', + ); + + // Exported field_base: 'name_field' + $field_bases['name_field'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'name_field', + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => 0, + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + ), + 'translatable' => 1, + 'type' => 'text', + ); + + // Exported field_base: 'title_field' + $field_bases['title_field'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'title_field', + 'field_permissions' => array( + 'type' => 0, + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => 0, + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + 'profile2_private' => FALSE, + ), + 'translatable' => 1, + 'type' => 'text', + ); + + return $field_bases; +} diff --git a/sites/all/modules/features/materio_content_types/materio_content_types.features.field_instance.inc b/sites/all/modules/features/materio_content_types/materio_content_types.features.field_instance.inc new file mode 100644 index 00000000..afc61484 --- /dev/null +++ b/sites/all/modules/features/materio_content_types/materio_content_types.features.field_instance.inc @@ -0,0 +1,4235 @@ + 'breve', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 9, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 5, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 12, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 3, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 9, + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 1, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 2, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'body', + 'label' => 'Body', + 'required' => FALSE, + 'settings' => array( + 'display_summary' => TRUE, + 'entity_translation_sync' => FALSE, + 'text_processing' => 1, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'rows' => 20, + 'summary_rows' => 5, + ), + 'type' => 'text_textarea_with_summary', + 'weight' => -4, + ), + ); + + // Exported field_instance: 'node-breve-field_authored_on' + $field_instances['node-breve-field_authored_on'] = array( + 'bundle' => 'breve', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_unsanitized', + 'weight' => 5, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_unsanitized', + 'weight' => 13, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_unsanitized', + 'weight' => 3, + ), + 'cardsmall' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_plain', + 'weight' => 2, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_plain', + 'weight' => 10, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 6, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_authored_on', + 'label' => 'Authored on', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'field_extrawidgets', + 'settings' => array( + 'display_empty' => 0, + 'formatter' => '', + 'formatter_settings' => array(), + ), + 'type' => 'field_extrawidgets_read_only', + 'weight' => 21, + ), + ); + + // Exported field_instance: 'node-breve-field_materiau_ref' + $field_instances['node-breve-field_materiau_ref'] = array( + 'bundle' => 'breve', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 7, + ), + 'cardbig' => array( + 'label' => 'above', + 'module' => 'entityreference', + 'settings' => array( + 'link' => FALSE, + ), + 'type' => 'entityreference_label', + 'weight' => 9, + ), + 'cardfull' => array( + 'label' => 'above', + 'module' => 'entityreference', + 'settings' => array( + 'link' => FALSE, + ), + 'type' => 'entityreference_label', + 'weight' => 14, + ), + 'cardmedium' => array( + 'label' => 'above', + 'module' => 'entityreference', + 'settings' => array( + 'link' => FALSE, + ), + 'type' => 'entityreference_label', + 'weight' => 8, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 8, + ), + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 8, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 9, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_materiau_ref', + 'label' => 'Materiau(x) lié(s)', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'entityreference', + 'settings' => array( + 'match_operator' => 'CONTAINS', + 'path' => '', + 'size' => 60, + ), + 'type' => 'entityreference_autocomplete', + 'weight' => 1, + ), + ); + + // Exported field_instance: 'node-breve-field_memo' + $field_instances['node-breve-field_memo'] = array( + 'bundle' => 'breve', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 8, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 7, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 9, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 9, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 6, + ), + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 9, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 10, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_memo', + 'label' => 'Mémo', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'rows' => 10, + ), + 'type' => 'text_textarea', + 'weight' => 4, + ), + ); + + // Exported field_instance: 'node-breve-field_onthologie' + $field_instances['node-breve-field_onthologie'] = array( + 'bundle' => 'breve', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 4, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 5, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 4, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 5, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 4, + ), + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 4, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 7, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_onthologie', + 'label' => 'Onthologie', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'term_reference_tree', + 'settings' => array( + 'cascading_selection' => 0, + 'filter_view' => '', + 'leaves_only' => 0, + 'max_depth' => '', + 'parent_term_id' => '', + 'select_parents' => 1, + 'start_minimized' => 1, + 'starting_depth' => 2, + 'token_display' => '', + 'track_list' => 1, + 'track_list_order' => 1, + ), + 'type' => 'term_reference_tree', + 'weight' => 18, + ), + ); + + // Exported field_instance: 'node-breve-field_source' + $field_instances['node-breve-field_source'] = array( + 'bundle' => 'breve', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 6, + ), + 'cardbig' => array( + 'label' => 'above', + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_default', + 'weight' => 8, + ), + 'cardfull' => array( + 'label' => 'inline', + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_default', + 'weight' => 13, + ), + 'cardmedium' => array( + 'label' => 'above', + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_default', + 'weight' => 7, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 7, + ), + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 7, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_default', + 'weight' => 4, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_source', + 'label' => 'source', + 'required' => 0, + 'settings' => array( + 'attributes' => array( + 'class' => '', + 'configurable_title' => 0, + 'rel' => '', + 'target' => '_blank', + 'title' => '', + ), + 'display' => array( + 'url_cutoff' => 80, + ), + 'enable_tokens' => 1, + 'entity_translation_sync' => FALSE, + 'rel_remove' => 'default', + 'title' => 'none', + 'title_maxlength' => 128, + 'title_value' => '', + 'url' => 0, + 'user_register_form' => FALSE, + 'validate_url' => 1, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_field', + 'weight' => -2, + ), + ); + + // Exported field_instance: 'node-breve-field_tags_libres' + $field_instances['node-breve-field_tags_libres'] = array( + 'bundle' => 'breve', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 5, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 4, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 5, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 6, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 5, + ), + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 5, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 8, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_tags_libres', + 'label' => 'Tags libres', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'autocomplete_deluxe', + 'settings' => array( + 'autocomplete_deluxe_path' => 'autocomplete_deluxe/taxonomy', + 'content_taxonomy_autocomplete_new_terms' => 'allow', + 'size' => 60, + ), + 'type' => 'autocomplete_deluxe_taxonomy', + 'weight' => 20, + ), + ); + + // Exported field_instance: 'node-breve-field_video_filter' + $field_instances['node-breve-field_video_filter'] = array( + 'bundle' => 'breve', + 'default_value' => array( + 0 => array( + 'url' => '', + 'height' => 400, + 'width' => 300, + 'autoplay' => 0, + ), + ), + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 3, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 9, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 3, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 6, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 3, + ), + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 3, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'video_filter_field', + 'settings' => array(), + 'type' => 'video_filter_field_default', + 'weight' => 3, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_video_filter', + 'label' => 'video', + 'required' => 0, + 'settings' => array( + 'autoplay' => 0, + 'entity_translation_sync' => FALSE, + 'max_height' => 400, + 'max_width' => 400, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'video_filter_field', + 'settings' => array(), + 'type' => 'video_filter', + 'weight' => 16, + ), + ); + + // Exported field_instance: 'node-breve-field_visuel' + $field_instances['node-breve-field_visuel'] = array( + 'bundle' => 'breve', + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'card-bookmark', + ), + 'type' => 'image', + 'weight' => 2, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'card-big', + ), + 'type' => 'image', + 'weight' => 14, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'card-full', + ), + 'type' => 'image', + 'weight' => 18, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'card-medium', + ), + 'type' => 'image', + 'weight' => 14, + ), + 'cardsmall' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'card-small', + ), + 'type' => 'image', + 'weight' => 1, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => '', + ), + 'type' => 'image', + 'weight' => 2, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => 'content', + 'image_style' => 'large', + ), + 'type' => 'image', + 'weight' => 1, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_visuel', + 'label' => 'Image', + 'required' => 0, + 'settings' => array( + 'alt_field' => 0, + 'default_image' => 0, + 'entity_translation_sync' => 0, + 'file_directory' => 'breves', + 'file_extensions' => 'png gif jpg jpeg', + 'max_filesize' => '', + 'max_resolution' => '', + 'min_resolution' => '', + 'title_field' => 1, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'image', + 'settings' => array( + 'preview_image_style' => 'medium', + 'progress_indicator' => 'throbber', + ), + 'type' => 'image_image', + 'weight' => 15, + ), + ); + + // Exported field_instance: 'node-breve-field_workflow_state' + $field_instances['node-breve-field_workflow_state'] = array( + 'bundle' => 'breve', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_plain', + 'weight' => 11, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 5, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_workflow_state', + 'label' => 'Workflow State', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'field_extrawidgets', + 'settings' => array( + 'display_empty' => 0, + 'formatter' => '', + 'formatter_settings' => array(), + ), + 'type' => 'field_extrawidgets_read_only', + 'weight' => 23, + ), + ); + + // Exported field_instance: 'node-breve-title_field' + $field_instances['node-breve-title_field'] = array( + 'bundle' => 'breve', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => 4, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 4, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 12, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 2, + ), + 'cardsmall' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => 1, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => 0, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'title_field', + 'label' => 'Titre', + 'required' => 1, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'hide_label' => array( + 'entity' => 0, + 'page' => 0, + ), + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => -5, + ), + ); + + // Exported field_instance: 'node-company-body' + $field_instances['node-company-body'] = array( + 'bundle' => 'company', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 1, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 8, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => 1, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => 1, + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array( + 'trim_length' => 600, + ), + 'type' => 'text_summary_or_trimmed', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'body', + 'label' => 'Materio speach', + 'required' => 0, + 'settings' => array( + 'display_summary' => 1, + 'entity_translation_sync' => FALSE, + 'text_processing' => 1, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'rows' => 20, + 'summary_rows' => 5, + ), + 'type' => 'text_textarea_with_summary', + 'weight' => 4, + ), + ); + + // Exported field_instance: 'node-company-field_attachments' + $field_instances['node-company-field_attachments'] = array( + 'bundle' => 'company', + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'file', + 'settings' => array(), + 'type' => 'file_default', + 'weight' => 8, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'file', + 'settings' => array(), + 'type' => 'file_default', + 'weight' => 6, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'file', + 'settings' => array(), + 'type' => 'file_table', + 'weight' => 8, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'file', + 'settings' => array(), + 'type' => 'file_default', + 'weight' => 10, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 7, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_attachments', + 'label' => 'Fichiers joints', + 'required' => 0, + 'settings' => array( + 'description_field' => 0, + 'entity_translation_sync' => FALSE, + 'file_directory' => '', + 'file_extensions' => 'txt pdf doc docx', + 'max_filesize' => '', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'file', + 'settings' => array( + 'progress_indicator' => 'throbber', + ), + 'type' => 'file_generic', + 'weight' => 13, + ), + ); + + // Exported field_instance: 'node-company-field_department' + $field_instances['node-company-field_department'] = array( + 'bundle' => 'company', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 3, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 1, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 3, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'inline', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 5, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 8, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_department', + 'label' => 'Department', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => 2, + ), + ); + + // Exported field_instance: 'node-company-field_infos_from_company' + $field_instances['node-company-field_infos_from_company'] = array( + 'bundle' => 'company', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 2, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 7, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => 2, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 4, + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 2, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_infos_from_company', + 'label' => 'Infos from company', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 1, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'rows' => 5, + ), + 'type' => 'text_textarea', + 'weight' => 6, + ), + ); + + // Exported field_instance: 'node-company-field_memo' + $field_instances['node-company-field_memo'] = array( + 'bundle' => 'company', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 11, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 9, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 11, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 2, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 9, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_memo', + 'label' => 'Mémo', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'rows' => 10, + ), + 'type' => 'text_textarea', + 'weight' => 10, + ), + ); + + // Exported field_instance: 'node-company-field_note' + $field_instances['node-company-field_note'] = array( + 'bundle' => 'company', + 'default_value' => array( + 0 => array( + 'value' => 2, + ), + ), + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 10, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 10, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 10, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'inline', + 'module' => 'list', + 'settings' => array(), + 'type' => 'list_default', + 'weight' => 3, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 10, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_note', + 'label' => 'Note', + 'required' => 1, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'options', + 'settings' => array( + 'content_taxonomy_opt_groups' => FALSE, + ), + 'type' => 'options_select', + 'weight' => 9, + ), + ); + + // Exported field_instance: 'node-company-field_public_address' + $field_instances['node-company-field_public_address'] = array( + 'bundle' => 'company', + 'default_value' => array( + 0 => array( + 'element_key' => 'node|company|field_public_address|und|0', + 'thoroughfare' => '', + 'premise' => '', + 'postal_code' => '', + 'locality' => '', + 'country' => 'FR', + ), + ), + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'addressfield', + 'settings' => array( + 'format_handlers' => array( + 0 => 'address', + ), + 'use_widget_handlers' => 1, + ), + 'type' => 'addressfield_default', + 'weight' => 7, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'addressfield', + 'settings' => array( + 'format_handlers' => array( + 0 => 'address', + ), + 'use_widget_handlers' => 1, + ), + 'type' => 'addressfield_default', + 'weight' => 5, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'addressfield', + 'settings' => array( + 'format_handlers' => array( + 'address' => 'address', + ), + 'use_widget_handlers' => 1, + ), + 'type' => 'addressfield_default', + 'weight' => 7, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'addressfield', + 'settings' => array( + 'format_handlers' => array( + 0 => 'address', + ), + 'use_widget_handlers' => 1, + ), + 'type' => 'addressfield_default', + 'weight' => 9, + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'addressfield', + 'settings' => array( + 'format_handlers' => array( + 0 => 'address', + ), + 'use_widget_handlers' => 1, + ), + 'type' => 'addressfield_default', + 'weight' => 6, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_public_address', + 'label' => 'Adresse', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'addressfield', + 'settings' => array( + 'available_countries' => array(), + 'format_handlers' => array( + 'address' => 'address', + 'address-hide-country' => 0, + 'organisation' => 0, + 'name-full' => 0, + 'name-oneline' => 0, + ), + ), + 'type' => 'addressfield_standard', + 'weight' => 7, + ), + ); + + // Exported field_instance: 'node-company-field_public_email' + $field_instances['node-company-field_public_email'] = array( + 'bundle' => 'company', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'email', + 'settings' => array(), + 'type' => 'email_default', + 'weight' => 5, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'email', + 'settings' => array(), + 'type' => 'email_default', + 'weight' => 3, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'email', + 'settings' => array(), + 'type' => 'email_default', + 'weight' => 5, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'email', + 'settings' => array(), + 'type' => 'email_default', + 'weight' => 7, + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'email', + 'settings' => array(), + 'type' => 'email_plain', + 'weight' => 5, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_public_email', + 'label' => 'Email', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'email', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'email_textfield', + 'weight' => 3, + ), + ); + + // Exported field_instance: 'node-company-field_public_phone' + $field_instances['node-company-field_public_phone'] = array( + 'bundle' => 'company', + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'cck_phone', + 'settings' => array(), + 'type' => 'global_phone_number', + 'weight' => 6, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'cck_phone', + 'settings' => array(), + 'type' => 'global_phone_number', + 'weight' => 4, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'cck_phone', + 'settings' => array(), + 'type' => 'global_phone_number', + 'weight' => 6, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'cck_phone', + 'settings' => array(), + 'type' => 'global_phone_number', + 'weight' => 8, + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'cck_phone', + 'settings' => array(), + 'type' => 'global_phone_number', + 'weight' => 4, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_public_phone', + 'label' => 'Phone', + 'required' => 0, + 'settings' => array( + 'all_country_codes' => 1, + 'country_code_position' => 'after', + 'country_codes' => array( + 'country_selection' => array( + 'ad' => 0, + 'ae' => 0, + 'af' => 0, + 'ag' => 0, + 'ai' => 0, + 'al' => 0, + 'am' => 0, + 'an' => 0, + 'ao' => 0, + 'ar' => 0, + 'as' => 0, + 'at' => 0, + 'au' => 0, + 'aw' => 0, + 'az' => 0, + 'ba' => 0, + 'bb' => 0, + 'bd' => 0, + 'be' => 0, + 'bf' => 0, + 'bg' => 0, + 'bh' => 0, + 'bi' => 0, + 'bj' => 0, + 'bm' => 0, + 'bn' => 0, + 'bo' => 0, + 'br' => 0, + 'bs' => 0, + 'bt' => 0, + 'bw' => 0, + 'by' => 0, + 'bz' => 0, + 'ca' => 0, + 'cc' => 0, + 'cd' => 0, + 'cf' => 0, + 'cg' => 0, + 'ch' => 0, + 'ci' => 0, + 'ck' => 0, + 'cl' => 0, + 'cm' => 0, + 'cn' => 0, + 'co' => 0, + 'cr' => 0, + 'cu' => 0, + 'cv' => 0, + 'cx' => 0, + 'cy' => 0, + 'cz' => 0, + 'de' => 0, + 'dj' => 0, + 'dk' => 0, + 'dm' => 0, + 'do' => 0, + 'dz' => 0, + 'ec' => 0, + 'ee' => 0, + 'eg' => 0, + 'er' => 0, + 'es' => 0, + 'et' => 0, + 'fi' => 0, + 'fj' => 0, + 'fk' => 0, + 'fm' => 0, + 'fo' => 0, + 'fr' => 0, + 'ga' => 0, + 'gb' => 0, + 'gd' => 0, + 'ge' => 0, + 'gf' => 0, + 'gh' => 0, + 'gi' => 0, + 'gl' => 0, + 'gm' => 0, + 'gn' => 0, + 'gp' => 0, + 'gq' => 0, + 'gr' => 0, + 'gt' => 0, + 'gu' => 0, + 'gw' => 0, + 'gy' => 0, + 'hk' => 0, + 'hn' => 0, + 'hr' => 0, + 'ht' => 0, + 'hu' => 0, + 'id' => 0, + 'ie' => 0, + 'il' => 0, + 'in' => 0, + 'io' => 0, + 'iq' => 0, + 'ir' => 0, + 'is' => 0, + 'it' => 0, + 'jm' => 0, + 'jo' => 0, + 'jp' => 0, + 'ke' => 0, + 'kg' => 0, + 'kh' => 0, + 'ki' => 0, + 'km' => 0, + 'kn' => 0, + 'kp' => 0, + 'kr' => 0, + 'kw' => 0, + 'ky' => 0, + 'kz' => 0, + 'la' => 0, + 'lb' => 0, + 'lc' => 0, + 'li' => 0, + 'lk' => 0, + 'lr' => 0, + 'ls' => 0, + 'lt' => 0, + 'lu' => 0, + 'lv' => 0, + 'ly' => 0, + 'ma' => 0, + 'mc' => 0, + 'md' => 0, + 'me' => 0, + 'mg' => 0, + 'mh' => 0, + 'mk' => 0, + 'ml' => 0, + 'mm' => 0, + 'mn' => 0, + 'mo' => 0, + 'mp' => 0, + 'mq' => 0, + 'mr' => 0, + 'ms' => 0, + 'mt' => 0, + 'mu' => 0, + 'mv' => 0, + 'mw' => 0, + 'mx' => 0, + 'my' => 0, + 'mz' => 0, + 'na' => 0, + 'nc' => 0, + 'ne' => 0, + 'nf' => 0, + 'ng' => 0, + 'ni' => 0, + 'nl' => 0, + 'no' => 0, + 'np' => 0, + 'nr' => 0, + 'nu' => 0, + 'nz' => 0, + 'om' => 0, + 'pa' => 0, + 'pe' => 0, + 'pf' => 0, + 'pg' => 0, + 'ph' => 0, + 'pk' => 0, + 'pl' => 0, + 'pm' => 0, + 'pr' => 0, + 'ps' => 0, + 'pt' => 0, + 'pw' => 0, + 'py' => 0, + 'qa' => 0, + 'ro' => 0, + 'rs' => 0, + 'ru' => 0, + 'rw' => 0, + 'sa' => 0, + 'sb' => 0, + 'sc' => 0, + 'sd' => 0, + 'se' => 0, + 'sg' => 0, + 'sh' => 0, + 'si' => 0, + 'sk' => 0, + 'sl' => 0, + 'sm' => 0, + 'sn' => 0, + 'so' => 0, + 'sr' => 0, + 'ss' => 0, + 'st' => 0, + 'sv' => 0, + 'sy' => 0, + 'sz' => 0, + 'tc' => 0, + 'td' => 0, + 'tg' => 0, + 'th' => 0, + 'tj' => 0, + 'tk' => 0, + 'tm' => 0, + 'tn' => 0, + 'to' => 0, + 'tp' => 0, + 'tr' => 0, + 'tt' => 0, + 'tv' => 0, + 'tw' => 0, + 'tz' => 0, + 'ua' => 0, + 'ug' => 0, + 'us' => 0, + 'uy' => 0, + 'uz' => 0, + 'va' => 0, + 'vc' => 0, + 've' => 0, + 'vg' => 0, + 'vi' => 0, + 'vn' => 0, + 'vu' => 0, + 'wf' => 0, + 'ws' => 0, + 'ye' => 0, + 'yt' => 0, + 'za' => 0, + 'zm' => 0, + 'zw' => 0, + ), + 'hide_single_cc' => 0, + ), + 'default_country' => 'fr', + 'enable_country_level_validation' => 0, + 'enable_default_country' => 1, + 'enable_extension' => 0, + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'cck_phone', + 'settings' => array( + 'size' => 15, + ), + 'type' => 'phone_number', + 'weight' => 8, + ), + ); + + // Exported field_instance: 'node-company-field_tode_company' + $field_instances['node-company-field_tode_company'] = array( + 'bundle' => 'company', + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'taxonomy', + 'settings' => array(), + 'type' => 'taxonomy_term_reference_plain', + 'weight' => 0, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'taxonomy', + 'settings' => array(), + 'type' => 'taxonomy_term_reference_plain', + 'weight' => 0, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'taxonomy', + 'settings' => array(), + 'type' => 'taxonomy_term_reference_plain', + 'weight' => 0, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 11, + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'taxonomy', + 'settings' => array(), + 'type' => 'taxonomy_term_reference_plain', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_tode_company', + 'label' => 'Name', + 'required' => 1, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'tode', + 'settings' => array( + 'choose_term_parent' => 0, + 'maxlength' => 255, + 'redirect_node_to_term' => 0, + 'redirect_term_to_node' => 1, + 'show_create_tode' => 0, + 'show_term_form' => 0, + 'size' => 60, + ), + 'type' => 'tode', + 'weight' => 1, + ), + ); + + // Exported field_instance: 'node-company-field_website' + $field_instances['node-company-field_website'] = array( + 'bundle' => 'company', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '"http://" will be added automaticly.', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_default', + 'weight' => 4, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_default', + 'weight' => 2, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_default', + 'weight' => 4, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'inline', + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_default', + 'weight' => 6, + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_plain', + 'weight' => 3, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_website', + 'label' => 'website', + 'required' => 0, + 'settings' => array( + 'attributes' => array( + 'class' => '', + 'configurable_title' => 0, + 'rel' => '', + 'target' => '_blank', + 'title' => '', + ), + 'display' => array( + 'url_cutoff' => 80, + ), + 'enable_tokens' => 1, + 'entity_translation_sync' => FALSE, + 'rel_remove' => 'default', + 'title' => 'none', + 'title_maxlength' => 128, + 'title_value' => '', + 'url' => 0, + 'user_register_form' => FALSE, + 'validate_url' => 1, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_field', + 'weight' => 5, + ), + ); + + // Exported field_instance: 'node-materiau-field_attachments' + $field_instances['node-materiau-field_attachments'] = array( + 'bundle' => 'materiau', + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 18, + ), + 'cardbig' => array( + 'label' => 'above', + 'module' => 'file', + 'settings' => array(), + 'type' => 'file_default', + 'weight' => 6, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'file', + 'settings' => array(), + 'type' => 'file_default', + 'weight' => 17, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'file', + 'settings' => array(), + 'type' => 'file_default', + 'weight' => 12, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 16, + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'file', + 'settings' => array(), + 'type' => 'file_default', + 'weight' => 9, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 17, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 17, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_attachments', + 'label' => 'Fichiers joints', + 'required' => 0, + 'settings' => array( + 'description_field' => 0, + 'entity_translation_sync' => FALSE, + 'file_directory' => '', + 'file_extensions' => 'txt pdf doc docx', + 'max_filesize' => '', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'file', + 'settings' => array( + 'progress_indicator' => 'throbber', + ), + 'type' => 'file_generic', + 'weight' => 3, + ), + ); + + // Exported field_instance: 'node-materiau-field_breve_ref' + $field_instances['node-materiau-field_breve_ref'] = array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 8, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 9, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 5, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 13, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 8, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'entityreference', + 'settings' => array( + 'link' => FALSE, + ), + 'type' => 'entityreference_label', + 'weight' => 23, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 10, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 9, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_breve_ref', + 'label' => 'Brève(s) liée(s)', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'entityreference', + 'settings' => array( + 'match_operator' => 'CONTAINS', + 'path' => '', + 'size' => 60, + ), + 'type' => 'entityreference_autocomplete', + 'weight' => 28, + ), + ); + + // Exported field_instance: 'node-materiau-field_company_distrib' + $field_instances['node-materiau-field_company_distrib'] = array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 4, + ), + 'cardbig' => array( + 'label' => 'inline', + 'module' => 'tode', + 'settings' => array( + 'viewmode' => 'cardbig', + ), + 'type' => 'tode', + 'weight' => 5, + ), + 'cardfull' => array( + 'label' => 'inline', + 'module' => 'tode', + 'settings' => array( + 'viewmode' => 'cardfull', + ), + 'type' => 'tode', + 'weight' => 19, + ), + 'cardmedium' => array( + 'label' => 'above', + 'module' => 'tode', + 'settings' => array( + 'viewmode' => 'cardmedium', + ), + 'type' => 'tode', + 'weight' => 10, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 4, + ), + 'default' => array( + 'label' => 'inline', + 'module' => 'i18n_taxonomy', + 'settings' => array(), + 'type' => 'i18n_taxonomy_term_reference_link', + 'weight' => 18, + ), + 'print' => array( + 'label' => 'above', + 'module' => 'tode', + 'settings' => array( + 'viewmode' => 'print', + ), + 'type' => 'tode', + 'weight' => 5, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 5, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_company_distrib', + 'label' => 'Distributor', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'autocomplete_deluxe', + 'settings' => array( + 'autocomplete_deluxe_path' => 'autocomplete_deluxe/taxonomy', + 'content_taxonomy_autocomplete_new_terms' => 'deny', + 'limit' => 10, + 'size' => 60, + ), + 'type' => 'autocomplete_deluxe_taxonomy', + 'weight' => 25, + ), + ); + + // Exported field_instance: 'node-materiau-field_company_fab' + $field_instances['node-materiau-field_company_fab'] = array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 9, + ), + 'cardbig' => array( + 'label' => 'inline', + 'module' => 'tode', + 'settings' => array( + 'viewmode' => 'cardbig', + ), + 'type' => 'tode', + 'weight' => 4, + ), + 'cardfull' => array( + 'label' => 'inline', + 'module' => 'tode', + 'settings' => array( + 'viewmode' => 'cardfull', + ), + 'type' => 'tode', + 'weight' => 18, + ), + 'cardmedium' => array( + 'label' => 'above', + 'module' => 'tode', + 'settings' => array( + 'viewmode' => 'cardmedium', + ), + 'type' => 'tode', + 'weight' => 9, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 9, + ), + 'default' => array( + 'label' => 'inline', + 'module' => 'i18n_taxonomy', + 'settings' => array(), + 'type' => 'i18n_taxonomy_term_reference_link', + 'weight' => 17, + ), + 'print' => array( + 'label' => 'above', + 'module' => 'tode', + 'settings' => array( + 'viewmode' => 'print', + ), + 'type' => 'tode', + 'weight' => 4, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 6, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_company_fab', + 'label' => 'Manufacturer', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'autocomplete_deluxe', + 'settings' => array( + 'autocomplete_deluxe_path' => 'autocomplete_deluxe/taxonomy', + 'content_taxonomy_autocomplete_new_terms' => 'deny', + 'limit' => 10, + 'size' => 60, + ), + 'type' => 'autocomplete_deluxe_taxonomy', + 'weight' => 24, + ), + ); + + // Exported field_instance: 'node-materiau-field_description' + $field_instances['node-materiau-field_description'] = array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 13, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 2, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 16, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 11, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 12, + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 2, + ), + 'teaser' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 4, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_description', + 'label' => 'Description', + 'required' => 0, + 'settings' => array( + 'display_summary' => 1, + 'entity_translation_sync' => FALSE, + 'text_processing' => 1, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'rows' => 20, + 'summary_rows' => 5, + ), + 'type' => 'text_textarea_with_summary', + 'weight' => -3, + ), + ); + + // Exported field_instance: 'node-materiau-field_famille' + $field_instances['node-materiau-field_famille'] = array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 3, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 8, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 7, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 6, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 3, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'list', + 'settings' => array(), + 'type' => 'list_default', + 'weight' => 19, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 8, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 7, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_famille', + 'label' => 'Famille', + 'required' => 1, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'options', + 'settings' => array( + 'content_taxonomy_opt_groups' => FALSE, + ), + 'type' => 'options_select', + 'weight' => 1, + ), + ); + + // Exported field_instance: 'node-materiau-field_identifiant' + $field_instances['node-materiau-field_identifiant'] = array( + 'bundle' => 'materiau', + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 2, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 7, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 3, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 7, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 5, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_plain', + 'weight' => 20, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 9, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 8, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_identifiant', + 'label' => 'Identifiant', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed', + 'weight' => 2, + ), + ); + + // Exported field_instance: 'node-materiau-field_localisation' + $field_instances['node-materiau-field_localisation'] = array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 17, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 8, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 19, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 21, + ), + 'cardsmall' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => 8, + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 14, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 16, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 16, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_localisation', + 'label' => 'Localisation', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => 4, + ), + ); + + // Exported field_instance: 'node-materiau-field_materiau_image' + $field_instances['node-materiau-field_materiau_image'] = array( + 'bundle' => 'materiau', + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'card-bookmark', + ), + 'type' => 'image', + 'weight' => 1, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'card-big', + ), + 'type' => 'image', + 'weight' => 1, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'card-full', + ), + 'type' => 'image', + 'weight' => 1, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'card-medium', + ), + 'type' => 'image', + 'weight' => 18, + ), + 'cardsmall' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'card-small', + ), + 'type' => 'image', + 'weight' => 2, + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'large', + ), + 'type' => 'image', + 'weight' => 6, + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => 'pdf', + ), + 'type' => 'image', + 'weight' => 3, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 13, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_materiau_image', + 'label' => 'Image', + 'required' => 0, + 'settings' => array( + 'alt_field' => 0, + 'default_image' => 0, + 'entity_translation_sync' => FALSE, + 'file_directory' => 'materiaux', + 'file_extensions' => 'png gif jpg jpeg', + 'max_filesize' => '', + 'max_resolution' => '', + 'min_resolution' => '', + 'title_field' => 1, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'image', + 'settings' => array( + 'preview_image_style' => 'medium', + 'progress_indicator' => 'throbber', + ), + 'type' => 'image_image', + 'weight' => 11, + ), + ); + + // Exported field_instance: 'node-materiau-field_materiau_ref' + $field_instances['node-materiau-field_materiau_ref'] = array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 6, + ), + 'cardbig' => array( + 'label' => 'above', + 'module' => 'entityreference', + 'settings' => array( + 'link' => 1, + ), + 'type' => 'entityreference_label', + 'weight' => 7, + ), + 'cardfull' => array( + 'label' => 'above', + 'module' => 'entityreference', + 'settings' => array( + 'link' => 1, + ), + 'type' => 'entityreference_label', + 'weight' => 20, + ), + 'cardmedium' => array( + 'label' => 'above', + 'module' => 'entityreference', + 'settings' => array( + 'link' => 1, + ), + 'type' => 'entityreference_label', + 'weight' => 13, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 6, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'entityreference', + 'settings' => array( + 'link' => FALSE, + ), + 'type' => 'entityreference_label', + 'weight' => 22, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 11, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 10, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_materiau_ref', + 'label' => 'Materiau(x) lié(s)', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'entityreference', + 'settings' => array( + 'match_operator' => 'CONTAINS', + 'path' => '', + 'size' => 60, + ), + 'type' => 'entityreference_autocomplete', + 'weight' => 27, + ), + ); + + // Exported field_instance: 'node-materiau-field_memo' + $field_instances['node-materiau-field_memo'] = array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 14, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 11, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 9, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 9, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 13, + ), + 'default' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 8, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 15, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 15, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_memo', + 'label' => 'Mémo', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'rows' => 10, + ), + 'type' => 'text_textarea', + 'weight' => 7, + ), + ); + + // Exported field_instance: 'node-materiau-field_nature_titre' + $field_instances['node-materiau-field_nature_titre'] = array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 9, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => 6, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => 17, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => 19, + ), + 'cardsmall' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => 6, + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 1, + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'title', + 'settings' => array( + 'title_class' => '', + 'title_link' => '', + 'title_style' => '', + ), + 'type' => 'title_linked', + 'weight' => 1, + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 2, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_nature_titre', + 'label' => 'Nature Titre', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => -4, + ), + ); + + // Exported field_instance: 'node-materiau-field_onthologie' + $field_instances['node-materiau-field_onthologie'] = array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 10, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 10, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 8, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 8, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 10, + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'i18n_taxonomy', + 'settings' => array(), + 'type' => 'i18n_taxonomy_term_reference_link', + 'weight' => 16, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 12, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 11, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_onthologie', + 'label' => 'Onthologie', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'term_reference_tree', + 'settings' => array( + 'cascading_selection' => 0, + 'filter_view' => '', + 'leaves_only' => 0, + 'max_depth' => '', + 'parent_term_id' => '', + 'select_parents' => 1, + 'start_minimized' => 1, + 'starting_depth' => 2, + 'token_display' => '', + 'track_list' => 1, + 'track_list_order' => 1, + ), + 'type' => 'term_reference_tree', + 'weight' => 22, + ), + ); + + // Exported field_instance: 'node-materiau-field_reference_materio' + $field_instances['node-materiau-field_reference_materio'] = array( + 'bundle' => 'materiau', + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_plain', + 'weight' => 10, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_plain', + 'weight' => 7, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_plain', + 'weight' => 18, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_plain', + 'weight' => 20, + ), + 'cardsmall' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_plain', + 'weight' => 7, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_plain', + 'weight' => 21, + ), + 'print' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 7, + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed_field_unsanitized', + 'weight' => 1, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_reference_materio', + 'label' => 'Référence Materio', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'computed_field', + 'settings' => array(), + 'type' => 'computed', + 'weight' => 3, + ), + ); + + // Exported field_instance: 'node-materiau-field_tags_libres' + $field_instances['node-materiau-field_tags_libres'] = array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 16, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 5, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 11, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 11, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 15, + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'i18n_taxonomy', + 'settings' => array(), + 'type' => 'i18n_taxonomy_term_reference_link', + 'weight' => 15, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 13, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 12, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_tags_libres', + 'label' => 'Tags libres', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'autocomplete_deluxe', + 'settings' => array( + 'autocomplete_deluxe_path' => 'autocomplete_deluxe/taxonomy', + 'content_taxonomy_autocomplete_new_terms' => 'allow', + 'size' => 60, + ), + 'type' => 'autocomplete_deluxe_taxonomy', + 'weight' => 23, + ), + ); + + // Exported field_instance: 'node-materiau-field_video_filter' + $field_instances['node-materiau-field_video_filter'] = array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 11, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 3, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 12, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 8, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 11, + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'video_filter_field', + 'settings' => array(), + 'type' => 'video_filter_field_default', + 'weight' => 7, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 14, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 14, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_video_filter', + 'label' => 'video', + 'required' => 0, + 'settings' => array( + 'autoplay' => 0, + 'entity_translation_sync' => FALSE, + 'max_height' => 400, + 'max_width' => 400, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'video_filter_field', + 'settings' => array(), + 'type' => 'video_filter', + 'weight' => 12, + ), + ); + + // Exported field_instance: 'node-materiau-field_workflow_state' + $field_instances['node-materiau-field_workflow_state'] = array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 24, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 6, + ), + 'teaser' => array( + 'label' => 'hidden', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 3, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_workflow_state', + 'label' => 'Workflow State', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'field_extrawidgets', + 'settings' => array( + 'display_empty' => 0, + 'formatter' => '', + 'formatter_settings' => array(), + ), + 'type' => 'field_extrawidgets_read_only', + 'weight' => 29, + ), + ); + + // Exported field_instance: 'node-materiau-title_field' + $field_instances['node-materiau-title_field'] = array( + 'bundle' => 'materiau', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => 'A field replacing node title.', + 'display' => array( + 'bookmark' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => 8, + ), + 'cardbig' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => 5, + ), + 'cardfull' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => 16, + ), + 'cardmedium' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => 18, + ), + 'cardsmall' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_plain', + 'weight' => 5, + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 12, + ), + 'print' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'title_field', + 'label' => 'Nom', + 'required' => 1, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'hide_label' => array( + 'entity' => 0, + 'page' => 0, + ), + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => -5, + ), + ); + + // Exported field_instance: 'node-page-body' + $field_instances['node-page-body'] = array( + 'bundle' => 'page', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array( + 'trim_length' => 600, + ), + 'type' => 'text_summary_or_trimmed', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'body', + 'label' => 'Body', + 'required' => FALSE, + 'settings' => array( + 'display_summary' => TRUE, + 'entity_translation_sync' => FALSE, + 'text_processing' => 1, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'rows' => 20, + 'summary_rows' => 5, + ), + 'type' => 'text_textarea_with_summary', + 'weight' => -4, + ), + ); + + // Exported field_instance: 'node-page-title_field' + $field_instances['node-page-title_field'] = array( + 'bundle' => 'page', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => 'A field replacing node title.', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 1, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'title_field', + 'label' => 'Titre', + 'required' => TRUE, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'hide_label' => array( + 'entity' => FALSE, + 'page' => FALSE, + ), + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => -5, + ), + ); + + // Exported field_instance: 'node-webform-body' + $field_instances['node-webform-body'] = array( + 'bundle' => 'webform', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array( + 'trim_length' => 600, + ), + 'type' => 'text_summary_or_trimmed', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'body', + 'label' => 'Body', + 'required' => FALSE, + 'settings' => array( + 'display_summary' => TRUE, + 'entity_translation_sync' => FALSE, + 'text_processing' => 1, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'rows' => 20, + 'summary_rows' => 5, + ), + 'type' => 'text_textarea_with_summary', + 'weight' => 31, + ), + ); + + // Exported field_instance: 'node-webform-title_field' + $field_instances['node-webform-title_field'] = array( + 'bundle' => 'webform', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => 'A field replacing node title.', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 1, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'title_field', + 'label' => 'Titre', + 'required' => TRUE, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'hide_label' => array( + 'entity' => FALSE, + 'page' => FALSE, + ), + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => -5, + ), + ); + + // Exported field_instance: 'taxonomy_term-company-synonyms_synonym' + $field_instances['taxonomy_term-company-synonyms_synonym'] = array( + 'bundle' => 'company', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + ), + 'entity_type' => 'taxonomy_term', + 'field_name' => 'synonyms_synonym', + 'label' => 'Synonyms', + 'required' => FALSE, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => 31, + ), + ); + + // Exported field_instance: 'taxonomy_term-onthologie-field_used_on_advanced_search' + $field_instances['taxonomy_term-onthologie-field_used_on_advanced_search'] = array( + 'bundle' => 'onthologie', + 'default_value' => array( + 0 => array( + 'value' => 0, + ), + ), + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'inline', + 'module' => 'list', + 'settings' => array(), + 'type' => 'list_default', + 'weight' => 0, + ), + ), + 'entity_type' => 'taxonomy_term', + 'field_name' => 'field_used_on_advanced_search', + 'label' => 'Display term on advanced search.', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'options', + 'settings' => array( + 'display_label' => 1, + ), + 'type' => 'options_onoff', + 'weight' => 1, + ), + ); + + // Exported field_instance: 'taxonomy_term-onthologie-name_field' + $field_instances['taxonomy_term-onthologie-name_field'] = array( + 'bundle' => 'onthologie', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => 'A field replacing taxonomy term name.', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 3, + ), + 'search_index' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + ), + 'entity_type' => 'taxonomy_term', + 'field_name' => 'name_field', + 'label' => 'Nom', + 'required' => TRUE, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'hide_label' => array( + 'entity' => FALSE, + 'page' => FALSE, + ), + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => 0, + ), + ); + + // Exported field_instance: 'taxonomy_term-onthologie-synonyms_synonym' + $field_instances['taxonomy_term-onthologie-synonyms_synonym'] = array( + 'bundle' => 'onthologie', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 1, + ), + 'search_index' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 1, + ), + ), + 'entity_type' => 'taxonomy_term', + 'field_name' => 'synonyms_synonym', + 'label' => 'Synonyms', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => 5, + ), + ); + + // Exported field_instance: 'taxonomy_term-tag_libres-name_field' + $field_instances['taxonomy_term-tag_libres-name_field'] = array( + 'bundle' => 'tag_libres', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 1, + ), + ), + 'entity_type' => 'taxonomy_term', + 'field_name' => 'name_field', + 'label' => 'Nom', + 'required' => TRUE, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'hide_label' => array( + 'entity' => FALSE, + 'page' => FALSE, + ), + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => -5, + ), + ); + + // Exported field_instance: 'taxonomy_term-tag_libres-synonyms_synonym' + $field_instances['taxonomy_term-tag_libres-synonyms_synonym'] = array( + 'bundle' => 'tag_libres', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + ), + 'entity_type' => 'taxonomy_term', + 'field_name' => 'synonyms_synonym', + 'label' => 'Synonyms', + 'required' => FALSE, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => 31, + ), + ); + + // Translatables + // Included for use with string extractors like potx. + t('"http://" will be added automaticly.'); + t('A field replacing node title.'); + t('A field replacing taxonomy term name.'); + t('Adresse'); + t('Authored on'); + t('Body'); + t('Brève(s) liée(s)'); + t('Department'); + t('Description'); + t('Display term on advanced search.'); + t('Distributor'); + t('Email'); + t('Famille'); + t('Fichiers joints'); + t('Identifiant'); + t('Image'); + t('Infos from company'); + t('Localisation'); + t('Manufacturer'); + t('Materiau(x) lié(s)'); + t('Materio speach'); + t('Mémo'); + t('Name'); + t('Nature Titre'); + t('Nom'); + t('Note'); + t('Onthologie'); + t('Phone'); + t('Référence Materio'); + t('Synonyms'); + t('Tags libres'); + t('Titre'); + t('Workflow State'); + t('source'); + t('video'); + t('website'); + + return $field_instances; +} diff --git a/sites/all/modules/features/materio_content_types/materio_content_types.features.inc b/sites/all/modules/features/materio_content_types/materio_content_types.features.inc new file mode 100644 index 00000000..4c63f51c --- /dev/null +++ b/sites/all/modules/features/materio_content_types/materio_content_types.features.inc @@ -0,0 +1,177 @@ + "1"); + } + if ($module == "field_group" && $api == "field_group") { + return array("version" => "1"); + } + if ($module == "strongarm" && $api == "strongarm") { + return array("version" => "1"); + } +} + +/** + * Implements hook_views_api(). + */ +function materio_content_types_views_api($module = NULL, $api = NULL) { + return array("api" => "3.0"); +} + +/** + * Implements hook_image_default_styles(). + */ +function materio_content_types_image_default_styles() { + $styles = array(); + + // Exported image style: card-big. + $styles['card-big'] = array( + 'name' => 'card-big', + 'effects' => array( + 3 => array( + 'label' => 'Scale and crop', + 'help' => 'Scale and crop will maintain the aspect-ratio of the original image, then crop the larger dimension. This is most useful for creating perfectly square thumbnails without stretching the image.', + 'effect callback' => 'image_scale_and_crop_effect', + 'dimensions callback' => 'image_resize_dimensions', + 'form callback' => 'image_resize_form', + 'summary theme' => 'image_resize_summary', + 'module' => 'image', + 'name' => 'image_scale_and_crop', + 'data' => array( + 'width' => 430, + 'height' => 340, + ), + 'weight' => 1, + ), + ), + 'label' => 'card-big', + ); + + // Exported image style: card-full. + $styles['card-full'] = array( + 'name' => 'card-full', + 'effects' => array( + 4 => array( + 'label' => 'Scale and crop', + 'help' => 'Scale and crop will maintain the aspect-ratio of the original image, then crop the larger dimension. This is most useful for creating perfectly square thumbnails without stretching the image.', + 'effect callback' => 'image_scale_and_crop_effect', + 'dimensions callback' => 'image_resize_dimensions', + 'form callback' => 'image_resize_form', + 'summary theme' => 'image_resize_summary', + 'module' => 'image', + 'name' => 'image_scale_and_crop', + 'data' => array( + 'width' => 425, + 'height' => 610, + ), + 'weight' => 1, + ), + ), + 'label' => 'card-full', + ); + + // Exported image style: card-medium. + $styles['card-medium'] = array( + 'name' => 'card-medium', + 'effects' => array( + 6 => array( + 'label' => 'Scale and crop', + 'help' => 'Scale and crop will maintain the aspect-ratio of the original image, then crop the larger dimension. This is most useful for creating perfectly square thumbnails without stretching the image.', + 'effect callback' => 'image_scale_and_crop_effect', + 'dimensions callback' => 'image_resize_dimensions', + 'form callback' => 'image_resize_form', + 'summary theme' => 'image_resize_summary', + 'module' => 'image', + 'name' => 'image_scale_and_crop', + 'data' => array( + 'width' => 210, + 'height' => 295, + ), + 'weight' => 1, + ), + ), + 'label' => 'card-medium', + ); + + // Exported image style: card-small. + $styles['card-small'] = array( + 'name' => 'card-small', + 'effects' => array( + 2 => array( + 'label' => 'Scale and crop', + 'help' => 'Scale and crop will maintain the aspect-ratio of the original image, then crop the larger dimension. This is most useful for creating perfectly square thumbnails without stretching the image.', + 'effect callback' => 'image_scale_and_crop_effect', + 'dimensions callback' => 'image_resize_dimensions', + 'form callback' => 'image_resize_form', + 'summary theme' => 'image_resize_summary', + 'module' => 'image', + 'name' => 'image_scale_and_crop', + 'data' => array( + 'width' => 100, + 'height' => 140, + ), + 'weight' => 1, + ), + ), + 'label' => 'card-small', + ); + + return $styles; +} + +/** + * Implements hook_node_info(). + */ +function materio_content_types_node_info() { + $items = array( + 'breve' => array( + 'name' => t('Breve'), + 'base' => 'node_content', + 'description' => '', + 'has_title' => '1', + 'title_label' => t('Titre'), + 'help' => '', + ), + 'company' => array( + 'name' => t('Company'), + 'base' => 'node_content', + 'description' => '', + 'has_title' => '1', + 'title_label' => t('Company'), + 'help' => '', + ), + 'materiau' => array( + 'name' => t('Materiau'), + 'base' => 'node_content', + 'description' => '', + 'has_title' => '1', + 'title_label' => t('Nom'), + 'help' => '', + ), + 'page' => array( + 'name' => t('Page'), + 'base' => 'node_content', + 'description' => t('Use this content type to add static pages like "about" "contact" etc'), + 'has_title' => '1', + 'title_label' => t('Title'), + 'help' => '', + ), + 'webform' => array( + 'name' => t('Webform'), + 'base' => 'node_content', + 'description' => t('Create a new form or questionnaire accessible to users. Submission results and statistics are recorded and accessible to privileged users.'), + 'has_title' => '1', + 'title_label' => t('Title'), + 'help' => '', + ), + ); + return $items; +} diff --git a/sites/all/modules/features/materio_content_types/materio_content_types.features.taxonomy.inc b/sites/all/modules/features/materio_content_types/materio_content_types.features.taxonomy.inc new file mode 100644 index 00000000..7c173e46 --- /dev/null +++ b/sites/all/modules/features/materio_content_types/materio_content_types.features.taxonomy.inc @@ -0,0 +1,43 @@ + array( + 'name' => 'Company', + 'machine_name' => 'company', + 'description' => '', + 'hierarchy' => 0, + 'module' => 'taxonomy', + 'weight' => -8, + 'language' => 'und', + 'i18n_mode' => 0, + ), + 'onthologie' => array( + 'name' => 'Ontologie', + 'machine_name' => 'onthologie', + 'description' => '', + 'hierarchy' => 1, + 'module' => 'taxonomy', + 'weight' => -10, + 'language' => 'und', + 'i18n_mode' => 1, + ), + 'tag_libres' => array( + 'name' => 'Tag libres', + 'machine_name' => 'tag_libres', + 'description' => '', + 'hierarchy' => 0, + 'module' => 'taxonomy', + 'weight' => -9, + 'language' => 'und', + 'i18n_mode' => 1, + ), + ); +} diff --git a/sites/all/modules/features/materio_content_types/materio_content_types.features.user_permission.inc b/sites/all/modules/features/materio_content_types/materio_content_types.features.user_permission.inc new file mode 100644 index 00000000..9f49c7fd --- /dev/null +++ b/sites/all/modules/features/materio_content_types/materio_content_types.features.user_permission.inc @@ -0,0 +1,905 @@ + 'access private fields', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'administer field permissions'. + $permissions['administer field permissions'] = array( + 'name' => 'administer field permissions', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_attachments'. + $permissions['create field_attachments'] = array( + 'name' => 'create field_attachments', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_company'. + $permissions['create field_company'] = array( + 'name' => 'create field_company', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_company_distrib'. + $permissions['create field_company_distrib'] = array( + 'name' => 'create field_company_distrib', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_company_fab'. + $permissions['create field_company_fab'] = array( + 'name' => 'create field_company_fab', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_description'. + $permissions['create field_description'] = array( + 'name' => 'create field_description', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_displayed_in_home'. + $permissions['create field_displayed_in_home'] = array( + 'name' => 'create field_displayed_in_home', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_famille'. + $permissions['create field_famille'] = array( + 'name' => 'create field_famille', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_identifiant'. + $permissions['create field_identifiant'] = array( + 'name' => 'create field_identifiant', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_infos_from_company'. + $permissions['create field_infos_from_company'] = array( + 'name' => 'create field_infos_from_company', + 'roles' => array( + 'Contact opérationnel' => 'Contact opérationnel', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_localisation'. + $permissions['create field_localisation'] = array( + 'name' => 'create field_localisation', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_memo'. + $permissions['create field_memo'] = array( + 'name' => 'create field_memo', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_note'. + $permissions['create field_note'] = array( + 'name' => 'create field_note', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_reference_materio'. + $permissions['create field_reference_materio'] = array( + 'name' => 'create field_reference_materio', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_tode_company'. + $permissions['create field_tode_company'] = array( + 'name' => 'create field_tode_company', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_weight'. + $permissions['create field_weight'] = array( + 'name' => 'create field_weight', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_workflow_state'. + $permissions['create field_workflow_state'] = array( + 'name' => 'create field_workflow_state', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_attachments'. + $permissions['edit field_attachments'] = array( + 'name' => 'edit field_attachments', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_company'. + $permissions['edit field_company'] = array( + 'name' => 'edit field_company', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_company_distrib'. + $permissions['edit field_company_distrib'] = array( + 'name' => 'edit field_company_distrib', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_company_fab'. + $permissions['edit field_company_fab'] = array( + 'name' => 'edit field_company_fab', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_description'. + $permissions['edit field_description'] = array( + 'name' => 'edit field_description', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_displayed_in_home'. + $permissions['edit field_displayed_in_home'] = array( + 'name' => 'edit field_displayed_in_home', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_famille'. + $permissions['edit field_famille'] = array( + 'name' => 'edit field_famille', + 'roles' => array(), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_identifiant'. + $permissions['edit field_identifiant'] = array( + 'name' => 'edit field_identifiant', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_infos_from_company'. + $permissions['edit field_infos_from_company'] = array( + 'name' => 'edit field_infos_from_company', + 'roles' => array( + 'Contact opérationnel' => 'Contact opérationnel', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_localisation'. + $permissions['edit field_localisation'] = array( + 'name' => 'edit field_localisation', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_memo'. + $permissions['edit field_memo'] = array( + 'name' => 'edit field_memo', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_note'. + $permissions['edit field_note'] = array( + 'name' => 'edit field_note', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_reference_materio'. + $permissions['edit field_reference_materio'] = array( + 'name' => 'edit field_reference_materio', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_tode_company'. + $permissions['edit field_tode_company'] = array( + 'name' => 'edit field_tode_company', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_weight'. + $permissions['edit field_weight'] = array( + 'name' => 'edit field_weight', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_workflow_state'. + $permissions['edit field_workflow_state'] = array( + 'name' => 'edit field_workflow_state', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_attachments'. + $permissions['edit own field_attachments'] = array( + 'name' => 'edit own field_attachments', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_company'. + $permissions['edit own field_company'] = array( + 'name' => 'edit own field_company', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_company_distrib'. + $permissions['edit own field_company_distrib'] = array( + 'name' => 'edit own field_company_distrib', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_company_fab'. + $permissions['edit own field_company_fab'] = array( + 'name' => 'edit own field_company_fab', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_description'. + $permissions['edit own field_description'] = array( + 'name' => 'edit own field_description', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_displayed_in_home'. + $permissions['edit own field_displayed_in_home'] = array( + 'name' => 'edit own field_displayed_in_home', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_famille'. + $permissions['edit own field_famille'] = array( + 'name' => 'edit own field_famille', + 'roles' => array(), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_identifiant'. + $permissions['edit own field_identifiant'] = array( + 'name' => 'edit own field_identifiant', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_infos_from_company'. + $permissions['edit own field_infos_from_company'] = array( + 'name' => 'edit own field_infos_from_company', + 'roles' => array( + 'Contact opérationnel' => 'Contact opérationnel', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_localisation'. + $permissions['edit own field_localisation'] = array( + 'name' => 'edit own field_localisation', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_memo'. + $permissions['edit own field_memo'] = array( + 'name' => 'edit own field_memo', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_note'. + $permissions['edit own field_note'] = array( + 'name' => 'edit own field_note', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_reference_materio'. + $permissions['edit own field_reference_materio'] = array( + 'name' => 'edit own field_reference_materio', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_tode_company'. + $permissions['edit own field_tode_company'] = array( + 'name' => 'edit own field_tode_company', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_weight'. + $permissions['edit own field_weight'] = array( + 'name' => 'edit own field_weight', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_workflow_state'. + $permissions['edit own field_workflow_state'] = array( + 'name' => 'edit own field_workflow_state', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'show breve title'. + $permissions['show breve title'] = array( + 'name' => 'show breve title', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'Unverified' => 'Unverified', + 'Utilisateur' => 'Utilisateur', + 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester', + 'administrator' => 'administrator', + 'anonymous user' => 'anonymous user', + 'root' => 'root', + ), + 'module' => 'materio_page_title', + ); + + // Exported permission: 'show company title'. + $permissions['show company title'] = array( + 'name' => 'show company title', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'materio_page_title', + ); + + // Exported permission: 'show materiau title'. + $permissions['show materiau title'] = array( + 'name' => 'show materiau title', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'materio_page_title', + ); + + // Exported permission: 'show page title'. + $permissions['show page title'] = array( + 'name' => 'show page title', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'Unverified' => 'Unverified', + 'Utilisateur' => 'Utilisateur', + 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester', + 'administrator' => 'administrator', + 'anonymous user' => 'anonymous user', + 'root' => 'root', + ), + 'module' => 'materio_page_title', + ); + + // Exported permission: 'show webform title'. + $permissions['show webform title'] = array( + 'name' => 'show webform title', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'Unverified' => 'Unverified', + 'Utilisateur' => 'Utilisateur', + 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester', + 'administrator' => 'administrator', + 'anonymous user' => 'anonymous user', + 'root' => 'root', + ), + 'module' => 'materio_page_title', + ); + + // Exported permission: 'view field_attachments'. + $permissions['view field_attachments'] = array( + 'name' => 'view field_attachments', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_company'. + $permissions['view field_company'] = array( + 'name' => 'view field_company', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_company_distrib'. + $permissions['view field_company_distrib'] = array( + 'name' => 'view field_company_distrib', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_company_fab'. + $permissions['view field_company_fab'] = array( + 'name' => 'view field_company_fab', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_description'. + $permissions['view field_description'] = array( + 'name' => 'view field_description', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'Unverified' => 'Unverified', + 'Utilisateur' => 'Utilisateur', + 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_displayed_in_home'. + $permissions['view field_displayed_in_home'] = array( + 'name' => 'view field_displayed_in_home', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_famille'. + $permissions['view field_famille'] = array( + 'name' => 'view field_famille', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'Unverified' => 'Unverified', + 'Utilisateur' => 'Utilisateur', + 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester', + 'administrator' => 'administrator', + 'anonymous user' => 'anonymous user', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_identifiant'. + $permissions['view field_identifiant'] = array( + 'name' => 'view field_identifiant', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_infos_from_company'. + $permissions['view field_infos_from_company'] = array( + 'name' => 'view field_infos_from_company', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_localisation'. + $permissions['view field_localisation'] = array( + 'name' => 'view field_localisation', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_memo'. + $permissions['view field_memo'] = array( + 'name' => 'view field_memo', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_note'. + $permissions['view field_note'] = array( + 'name' => 'view field_note', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_reference_materio'. + $permissions['view field_reference_materio'] = array( + 'name' => 'view field_reference_materio', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_tode_company'. + $permissions['view field_tode_company'] = array( + 'name' => 'view field_tode_company', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_weight'. + $permissions['view field_weight'] = array( + 'name' => 'view field_weight', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_workflow_state'. + $permissions['view field_workflow_state'] = array( + 'name' => 'view field_workflow_state', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_attachments'. + $permissions['view own field_attachments'] = array( + 'name' => 'view own field_attachments', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_company'. + $permissions['view own field_company'] = array( + 'name' => 'view own field_company', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_company_distrib'. + $permissions['view own field_company_distrib'] = array( + 'name' => 'view own field_company_distrib', + 'roles' => array(), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_company_fab'. + $permissions['view own field_company_fab'] = array( + 'name' => 'view own field_company_fab', + 'roles' => array(), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_description'. + $permissions['view own field_description'] = array( + 'name' => 'view own field_description', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_displayed_in_home'. + $permissions['view own field_displayed_in_home'] = array( + 'name' => 'view own field_displayed_in_home', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_famille'. + $permissions['view own field_famille'] = array( + 'name' => 'view own field_famille', + 'roles' => array(), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_identifiant'. + $permissions['view own field_identifiant'] = array( + 'name' => 'view own field_identifiant', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_infos_from_company'. + $permissions['view own field_infos_from_company'] = array( + 'name' => 'view own field_infos_from_company', + 'roles' => array( + 'Contact opérationnel' => 'Contact opérationnel', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_localisation'. + $permissions['view own field_localisation'] = array( + 'name' => 'view own field_localisation', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_memo'. + $permissions['view own field_memo'] = array( + 'name' => 'view own field_memo', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_note'. + $permissions['view own field_note'] = array( + 'name' => 'view own field_note', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_reference_materio'. + $permissions['view own field_reference_materio'] = array( + 'name' => 'view own field_reference_materio', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_tode_company'. + $permissions['view own field_tode_company'] = array( + 'name' => 'view own field_tode_company', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_weight'. + $permissions['view own field_weight'] = array( + 'name' => 'view own field_weight', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_workflow_state'. + $permissions['view own field_workflow_state'] = array( + 'name' => 'view own field_workflow_state', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + return $permissions; +} diff --git a/sites/all/modules/features/materio_content_types/materio_content_types.field_group.inc b/sites/all/modules/features/materio_content_types/materio_content_types.field_group.inc new file mode 100644 index 00000000..cabb6742 --- /dev/null +++ b/sites/all/modules/features/materio_content_types/materio_content_types.field_group.inc @@ -0,0 +1,1636 @@ +disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_4|node|materiau|cardbig'; + $field_group->group_name = 'group_4'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'cardbig'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'side 4', + 'weight' => '3', + 'children' => array( + 0 => 'field_company_fab', + 1 => 'field_company_distrib', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'side 4', + 'instance_settings' => array( + 'classes' => 'side group-4 field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_4|node|materiau|cardbig'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_base|node|breve|form'; + $field_group->group_name = 'group_base'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'form'; + $field_group->parent_name = 'group_htabs'; + $field_group->data = array( + 'label' => 'Contenus', + 'weight' => '8', + 'children' => array( + 0 => 'body', + 1 => 'field_source', + 2 => 'title_field', + ), + 'format_type' => 'htab', + 'format_settings' => array( + 'label' => 'Contenus', + 'instance_settings' => array( + 'required_fields' => 1, + 'classes' => ' group-base field-group-htab', + 'description' => '', + ), + 'formatter' => 'closed', + ), + ); + $export['group_base|node|breve|form'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_base|node|materiau|form'; + $field_group->group_name = 'group_base'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'form'; + $field_group->parent_name = 'group_htabs'; + $field_group->data = array( + 'label' => 'Contenus', + 'weight' => '11', + 'children' => array( + 0 => 'field_description', + 1 => 'field_nature_titre', + 2 => 'title_field', + ), + 'format_type' => 'htab', + 'format_settings' => array( + 'label' => 'Contenus', + 'instance_settings' => array( + 'required_fields' => 1, + 'classes' => ' group-base field-group-htab', + 'description' => '', + ), + 'formatter' => 'closed', + ), + ); + $export['group_base|node|materiau|form'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_contact_ope|node|materiau|form'; + $field_group->group_name = 'group_contact_ope'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'form'; + $field_group->parent_name = 'group_htabs'; + $field_group->data = array( + 'label' => 'Companies', + 'weight' => '14', + 'children' => array( + 0 => 'field_company_fab', + 1 => 'field_company_distrib', + ), + 'format_type' => 'fieldset', + 'format_settings' => array( + 'label' => 'Companies', + 'instance_settings' => array( + 'required_fields' => 1, + 'classes' => ' group-contact-ope field-group-fieldset', + 'description' => '', + ), + 'formatter' => 'collapsible', + ), + ); + $export['group_contact_ope|node|materiau|form'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_fichiers|node|materiau|form'; + $field_group->group_name = 'group_fichiers'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'form'; + $field_group->parent_name = 'group_htabs'; + $field_group->data = array( + 'label' => 'Fichiers', + 'weight' => '15', + 'children' => array( + 0 => 'field_attachments', + ), + 'format_type' => 'htab', + 'format_settings' => array( + 'formatter' => 'closed', + 'instance_settings' => array( + 'description' => '', + 'classes' => ' group-fichiers field-group-htab', + 'required_fields' => 1, + ), + ), + ); + $export['group_fichiers|node|materiau|form'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_header|node|breve|bookmark'; + $field_group->group_name = 'group_header'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'bookmark'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'header', + 'weight' => '0', + 'children' => array( + 0 => 'title_field', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'header', + 'instance_settings' => array( + 'classes' => ' group-header field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_header|node|breve|bookmark'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_header|node|breve|cardbig'; + $field_group->group_name = 'group_header'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'cardbig'; + $field_group->parent_name = 'group_side1'; + $field_group->data = array( + 'label' => 'header', + 'weight' => '15', + 'children' => array( + 0 => 'title_field', + 1 => 'field_authored_on', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'header', + 'instance_settings' => array( + 'classes' => ' group-header field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_header|node|breve|cardbig'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_header|node|breve|cardfull'; + $field_group->group_name = 'group_header'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'cardfull'; + $field_group->parent_name = 'group_side_right'; + $field_group->data = array( + 'label' => 'header', + 'weight' => '11', + 'children' => array( + 0 => 'title_field', + 1 => 'field_authored_on', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'header', + 'instance_settings' => array( + 'classes' => ' group-header field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_header|node|breve|cardfull'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_header|node|breve|cardmedium'; + $field_group->group_name = 'group_header'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'cardmedium'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'Header', + 'weight' => '0', + 'children' => array( + 0 => 'title_field', + 1 => 'field_authored_on', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'Header', + 'instance_settings' => array( + 'classes' => ' group-header field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_header|node|breve|cardmedium'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_header|node|breve|cardsmall'; + $field_group->group_name = 'group_header'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'cardsmall'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'header', + 'weight' => '0', + 'children' => array( + 0 => 'title_field', + 1 => 'field_authored_on', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'header', + 'instance_settings' => array( + 'classes' => ' group-header field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_header|node|breve|cardsmall'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_header|node|materiau|bookmark'; + $field_group->group_name = 'group_header'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'bookmark'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'header', + 'weight' => '0', + 'children' => array( + 0 => 'field_nature_titre', + 1 => 'title_field', + 2 => 'field_reference_materio', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'header', + 'instance_settings' => array( + 'classes' => ' group-header field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_header|node|materiau|bookmark'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_header|node|materiau|cardbig'; + $field_group->group_name = 'group_header'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'cardbig'; + $field_group->parent_name = 'group_side1'; + $field_group->data = array( + 'label' => 'header', + 'weight' => '2', + 'children' => array( + 0 => 'field_nature_titre', + 1 => 'title_field', + 2 => 'field_localisation', + 3 => 'field_reference_materio', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'header', + 'instance_settings' => array( + 'classes' => ' group-header field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_header|node|materiau|cardbig'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_header|node|materiau|cardfull'; + $field_group->group_name = 'group_header'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'cardfull'; + $field_group->parent_name = 'group_side_right'; + $field_group->data = array( + 'label' => 'header', + 'weight' => '15', + 'children' => array( + 0 => 'field_nature_titre', + 1 => 'title_field', + 2 => 'field_localisation', + 3 => 'field_reference_materio', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'header', + 'instance_settings' => array( + 'classes' => ' group-header field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_header|node|materiau|cardfull'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_header|node|materiau|cardmedium'; + $field_group->group_name = 'group_header'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'cardmedium'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'header', + 'weight' => '0', + 'children' => array( + 0 => 'field_nature_titre', + 1 => 'title_field', + 2 => 'field_localisation', + 3 => 'field_reference_materio', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'header', + 'instance_settings' => array( + 'classes' => ' group-header field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_header|node|materiau|cardmedium'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_header|node|materiau|cardsmall'; + $field_group->group_name = 'group_header'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'cardsmall'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'header', + 'weight' => '0', + 'children' => array( + 0 => 'field_nature_titre', + 1 => 'title_field', + 2 => 'field_localisation', + 3 => 'field_reference_materio', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'header', + 'instance_settings' => array( + 'classes' => ' group-header field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_header|node|materiau|cardsmall'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_htabs|node|breve|form'; + $field_group->group_name = 'group_htabs'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'form'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'htabs', + 'weight' => '0', + 'children' => array( + 0 => 'group_base', + 1 => 'group_referencement', + 2 => 'group_upload', + ), + 'format_type' => 'htabs', + 'format_settings' => array( + 'formatter' => '', + 'instance_settings' => array( + 'classes' => ' group-htabs field-group-htabs', + ), + ), + ); + $export['group_htabs|node|breve|form'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_htabs|node|materiau|form'; + $field_group->group_name = 'group_htabs'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'form'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'htabs', + 'weight' => '0', + 'children' => array( + 0 => 'group_base', + 1 => 'group_contact_ope', + 2 => 'group_fichiers', + 3 => 'group_media', + 4 => 'group_referencement', + ), + 'format_type' => 'htabs', + 'format_settings' => array( + 'label' => 'htabs', + 'instance_settings' => array( + 'classes' => ' group-htabs field-group-htabs', + ), + ), + ); + $export['group_htabs|node|materiau|form'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_images|node|breve|bookmark'; + $field_group->group_name = 'group_images'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'bookmark'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'images', + 'weight' => '1', + 'children' => array( + 0 => 'field_visuel', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'images', + 'instance_settings' => array( + 'classes' => ' group-images field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_images|node|breve|bookmark'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_images|node|breve|cardbig'; + $field_group->group_name = 'group_images'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'cardbig'; + $field_group->parent_name = 'group_side1'; + $field_group->data = array( + 'label' => 'images', + 'weight' => '13', + 'children' => array( + 0 => 'field_visuel', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'images', + 'instance_settings' => array( + 'classes' => ' group-images field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_images|node|breve|cardbig'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_images|node|breve|cardfull'; + $field_group->group_name = 'group_images'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'cardfull'; + $field_group->parent_name = 'group_side_left'; + $field_group->data = array( + 'label' => 'images', + 'weight' => '17', + 'children' => array( + 0 => 'field_visuel', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'images', + 'instance_settings' => array( + 'classes' => ' group-images field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_images|node|breve|cardfull'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_images|node|breve|cardmedium'; + $field_group->group_name = 'group_images'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'cardmedium'; + $field_group->parent_name = 'group_side1'; + $field_group->data = array( + 'label' => 'images', + 'weight' => '13', + 'children' => array( + 0 => 'field_visuel', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'images', + 'instance_settings' => array( + 'classes' => ' group-images field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_images|node|breve|cardmedium'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_images|node|breve|cardsmall'; + $field_group->group_name = 'group_images'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'cardsmall'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'images', + 'weight' => '2', + 'children' => array( + 0 => 'field_visuel', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'images', + 'instance_settings' => array( + 'classes' => ' group-images field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_images|node|breve|cardsmall'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_images|node|materiau|bookmark'; + $field_group->group_name = 'group_images'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'bookmark'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'images', + 'weight' => '1', + 'children' => array( + 0 => 'field_materiau_image', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'images', + 'instance_settings' => array( + 'classes' => ' group-images field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_images|node|materiau|bookmark'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_images|node|materiau|cardbig'; + $field_group->group_name = 'group_images'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'cardbig'; + $field_group->parent_name = 'group_side1'; + $field_group->data = array( + 'label' => 'images', + 'weight' => '1', + 'children' => array( + 0 => 'field_materiau_image', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'images', + 'instance_settings' => array( + 'classes' => ' group-images field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_images|node|materiau|cardbig'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_images|node|materiau|cardfull'; + $field_group->group_name = 'group_images'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'cardfull'; + $field_group->parent_name = 'group_side_left'; + $field_group->data = array( + 'label' => 'images', + 'weight' => '1', + 'children' => array( + 0 => 'field_materiau_image', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'images', + 'instance_settings' => array( + 'classes' => ' group-images field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_images|node|materiau|cardfull'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_images|node|materiau|cardmedium'; + $field_group->group_name = 'group_images'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'cardmedium'; + $field_group->parent_name = 'group_side1'; + $field_group->data = array( + 'label' => 'images', + 'weight' => '17', + 'children' => array( + 0 => 'field_materiau_image', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'images', + 'instance_settings' => array( + 'classes' => ' group-images field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_images|node|materiau|cardmedium'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_images|node|materiau|cardsmall'; + $field_group->group_name = 'group_images'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'cardsmall'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'images', + 'weight' => '1', + 'children' => array( + 0 => 'field_materiau_image', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'images', + 'instance_settings' => array( + 'classes' => ' group-images field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_images|node|materiau|cardsmall'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_media|node|materiau|form'; + $field_group->group_name = 'group_media'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'form'; + $field_group->parent_name = 'group_htabs'; + $field_group->data = array( + 'label' => 'Médias', + 'weight' => '13', + 'children' => array( + 0 => 'field_materiau_image', + 1 => 'field_video_filter', + ), + 'format_type' => 'fieldset', + 'format_settings' => array( + 'formatter' => 'collapsible', + 'instance_settings' => array( + 'description' => '', + 'classes' => ' group-media field-group-fieldset', + 'required_fields' => 1, + ), + ), + ); + $export['group_media|node|materiau|form'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_referencement|node|breve|form'; + $field_group->group_name = 'group_referencement'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'form'; + $field_group->parent_name = 'group_htabs'; + $field_group->data = array( + 'label' => 'Référencement', + 'weight' => '10', + 'children' => array( + 0 => 'field_onthologie', + 1 => 'field_tags_libres', + ), + 'format_type' => 'htab', + 'format_settings' => array( + 'formatter' => 'closed', + 'instance_settings' => array( + 'description' => '', + 'classes' => ' group-referencement field-group-htab', + 'required_fields' => 1, + ), + ), + ); + $export['group_referencement|node|breve|form'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_referencement|node|materiau|form'; + $field_group->group_name = 'group_referencement'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'form'; + $field_group->parent_name = 'group_htabs'; + $field_group->data = array( + 'label' => 'Référencement', + 'weight' => '12', + 'children' => array( + 0 => 'field_tags_libres', + 1 => 'field_onthologie', + ), + 'format_type' => 'htab', + 'format_settings' => array( + 'label' => 'Référencement', + 'instance_settings' => array( + 'required_fields' => 0, + 'classes' => ' group-referencement field-group-htab', + 'description' => '', + ), + 'formatter' => 'open', + ), + ); + $export['group_referencement|node|materiau|form'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_side1|node|breve|cardbig'; + $field_group->group_name = 'group_side1'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'cardbig'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'side 1', + 'weight' => '0', + 'children' => array( + 0 => 'group_header', + 1 => 'group_images', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'side 1', + 'instance_settings' => array( + 'classes' => ' group-side1 field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_side1|node|breve|cardbig'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_side1|node|breve|cardmedium'; + $field_group->group_name = 'group_side1'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'cardmedium'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'side 1', + 'weight' => '1', + 'children' => array( + 0 => 'group_images', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'side 1', + 'instance_settings' => array( + 'classes' => 'side group-side1 field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_side1|node|breve|cardmedium'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_side1|node|materiau|cardbig'; + $field_group->group_name = 'group_side1'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'cardbig'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'side 1', + 'weight' => '0', + 'children' => array( + 0 => 'group_header', + 1 => 'group_images', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'side 1', + 'instance_settings' => array( + 'classes' => ' group-side1 field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_side1|node|materiau|cardbig'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_side1|node|materiau|cardmedium'; + $field_group->group_name = 'group_side1'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'cardmedium'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'side 1', + 'weight' => '1', + 'children' => array( + 0 => 'group_images', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'side 1', + 'instance_settings' => array( + 'classes' => 'side group-side1 field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_side1|node|materiau|cardmedium'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_side2|node|breve|cardbig'; + $field_group->group_name = 'group_side2'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'cardbig'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'side 2', + 'weight' => '1', + 'children' => array( + 0 => 'body', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'side 2', + 'instance_settings' => array( + 'classes' => 'side group-side2 field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_side2|node|breve|cardbig'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_side2|node|breve|cardmedium'; + $field_group->group_name = 'group_side2'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'cardmedium'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'side 2', + 'weight' => '2', + 'children' => array( + 0 => 'body', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'side 2', + 'instance_settings' => array( + 'classes' => 'side group-side2 field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_side2|node|breve|cardmedium'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_side2|node|materiau|cardbig'; + $field_group->group_name = 'group_side2'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'cardbig'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'side 2', + 'weight' => '1', + 'children' => array( + 0 => 'field_description', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'side 2', + 'instance_settings' => array( + 'classes' => 'side group-side2 field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_side2|node|materiau|cardbig'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_side2|node|materiau|cardmedium'; + $field_group->group_name = 'group_side2'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'cardmedium'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'side 2', + 'weight' => '2', + 'children' => array( + 0 => 'field_description', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'side 2', + 'instance_settings' => array( + 'classes' => 'side group-side2 field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_side2|node|materiau|cardmedium'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_side3|node|breve|cardbig'; + $field_group->group_name = 'group_side3'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'cardbig'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'side 3', + 'weight' => '2', + 'children' => array( + 0 => 'field_video_filter', + ), + 'format_type' => 'hidden', + 'format_settings' => array( + 'label' => 'side 3', + 'instance_settings' => array( + 'classes' => 'side group-side3 field-group-hidden', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_side3|node|breve|cardbig'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_side3|node|breve|cardmedium'; + $field_group->group_name = 'group_side3'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'cardmedium'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'side 3', + 'weight' => '3', + 'children' => array( + 0 => 'field_video_filter', + ), + 'format_type' => 'hidden', + 'format_settings' => array( + 'label' => 'side 3', + 'instance_settings' => array( + 'classes' => 'side group-side3 field-group-hidden', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_side3|node|breve|cardmedium'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_side3|node|materiau|cardbig'; + $field_group->group_name = 'group_side3'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'cardbig'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'side 3', + 'weight' => '2', + 'children' => array( + 0 => 'field_video_filter', + ), + 'format_type' => 'hidden', + 'format_settings' => array( + 'label' => 'side 3', + 'instance_settings' => array( + 'classes' => 'side group-side3 field-group-hidden', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_side3|node|materiau|cardbig'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_side3|node|materiau|cardmedium'; + $field_group->group_name = 'group_side3'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'cardmedium'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'side 3', + 'weight' => '3', + 'children' => array( + 0 => 'field_video_filter', + ), + 'format_type' => 'hidden', + 'format_settings' => array( + 'label' => 'side 3', + 'instance_settings' => array( + 'classes' => 'side group-side3 field-group-hidden', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_side3|node|materiau|cardmedium'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_side4|node|breve|cardbig'; + $field_group->group_name = 'group_side4'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'cardbig'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'side 4', + 'weight' => '3', + 'children' => array( + 0 => 'field_source', + 1 => 'field_materiau_ref', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'side 4', + 'instance_settings' => array( + 'classes' => 'side group-side4 field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_side4|node|breve|cardbig'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_side4|node|breve|cardmedium'; + $field_group->group_name = 'group_side4'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'cardmedium'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'side 4', + 'weight' => '4', + 'children' => array( + 0 => 'field_source', + 1 => 'field_materiau_ref', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'side 4', + 'instance_settings' => array( + 'classes' => 'side group-side4 field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_side4|node|breve|cardmedium'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_side_4|node|materiau|cardmedium'; + $field_group->group_name = 'group_side_4'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'cardmedium'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'side 4', + 'weight' => '4', + 'children' => array( + 0 => 'field_company_fab', + 1 => 'field_company_distrib', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'side 4', + 'instance_settings' => array( + 'classes' => 'side group-side-4 field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_side_4|node|materiau|cardmedium'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_side_5|node|materiau|cardbig'; + $field_group->group_name = 'group_side_5'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'cardbig'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'side 5', + 'weight' => '4', + 'children' => array( + 0 => 'field_attachments', + 1 => 'field_materiau_ref', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'side 5', + 'instance_settings' => array( + 'classes' => 'side group-side-5 field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_side_5|node|materiau|cardbig'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_side_5|node|materiau|cardmedium'; + $field_group->group_name = 'group_side_5'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'cardmedium'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'side 5', + 'weight' => '5', + 'children' => array( + 0 => 'field_attachments', + 1 => 'field_materiau_ref', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'side 5', + 'instance_settings' => array( + 'classes' => 'side group-side-5 field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_side_5|node|materiau|cardmedium'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_side_left|node|breve|cardfull'; + $field_group->group_name = 'group_side_left'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'cardfull'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'side left', + 'weight' => '0', + 'children' => array( + 0 => 'group_images', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'side left', + 'instance_settings' => array( + 'classes' => 'side group-side-left field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_side_left|node|breve|cardfull'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_side_left|node|materiau|cardfull'; + $field_group->group_name = 'group_side_left'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'cardfull'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'Side left', + 'weight' => '0', + 'children' => array( + 0 => 'group_images', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'Side left', + 'instance_settings' => array( + 'classes' => 'side group-side-left field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_side_left|node|materiau|cardfull'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_side_right|node|breve|cardfull'; + $field_group->group_name = 'group_side_right'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'cardfull'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'side right', + 'weight' => '1', + 'children' => array( + 0 => 'body', + 1 => 'field_source', + 2 => 'field_materiau_ref', + 3 => 'group_header', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'side right', + 'instance_settings' => array( + 'classes' => 'side group-side-right field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_side_right|node|breve|cardfull'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_side_right|node|materiau|cardfull'; + $field_group->group_name = 'group_side_right'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'materiau'; + $field_group->mode = 'cardfull'; + $field_group->parent_name = ''; + $field_group->data = array( + 'label' => 'side right', + 'weight' => '2', + 'children' => array( + 0 => 'field_attachments', + 1 => 'field_description', + 2 => 'field_company_fab', + 3 => 'field_company_distrib', + 4 => 'field_materiau_ref', + 5 => 'group_header', + ), + 'format_type' => 'div', + 'format_settings' => array( + 'label' => 'side right', + 'instance_settings' => array( + 'classes' => 'side group-side-right field-group-div', + 'description' => '', + 'show_label' => '0', + 'label_element' => 'h3', + 'effect' => 'none', + 'speed' => 'fast', + ), + 'formatter' => 'open', + ), + ); + $export['group_side_right|node|materiau|cardfull'] = $field_group; + + $field_group = new stdClass(); + $field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */ + $field_group->api_version = 1; + $field_group->identifier = 'group_upload|node|breve|form'; + $field_group->group_name = 'group_upload'; + $field_group->entity_type = 'node'; + $field_group->bundle = 'breve'; + $field_group->mode = 'form'; + $field_group->parent_name = 'group_htabs'; + $field_group->data = array( + 'label' => 'Médias', + 'weight' => '9', + 'children' => array( + 0 => 'field_visuel', + 1 => 'field_video_filter', + ), + 'format_type' => 'htab', + 'format_settings' => array( + 'label' => 'Médias', + 'instance_settings' => array( + 'required_fields' => 1, + 'classes' => ' group-upload field-group-htab', + 'description' => '', + ), + 'formatter' => 'closed', + ), + ); + $export['group_upload|node|breve|form'] = $field_group; + + return $export; +} diff --git a/sites/all/modules/features/materio_content_types/materio_content_types.info b/sites/all/modules/features/materio_content_types/materio_content_types.info new file mode 100644 index 00000000..f79a28ce --- /dev/null +++ b/sites/all/modules/features/materio_content_types/materio_content_types.info @@ -0,0 +1,314 @@ +name = Materio Content types +core = 7.x +package = Materio +dependencies[] = addressfield +dependencies[] = autocomplete_deluxe +dependencies[] = cck_phone +dependencies[] = cer +dependencies[] = computed_field +dependencies[] = ctools +dependencies[] = email +dependencies[] = entityreference +dependencies[] = features +dependencies[] = field_extrawidgets +dependencies[] = field_group +dependencies[] = field_permissions +dependencies[] = file +dependencies[] = i18n_taxonomy +dependencies[] = image +dependencies[] = link +dependencies[] = list +dependencies[] = materio_page_title +dependencies[] = materio_subscriptions +dependencies[] = materio_user_profiles +dependencies[] = node +dependencies[] = options +dependencies[] = strongarm +dependencies[] = taxonomy +dependencies[] = term_reference_tree +dependencies[] = text +dependencies[] = title +dependencies[] = tode +dependencies[] = video_filter_field +dependencies[] = views +features[ctools][] = cer:default_cer_presets:1 +features[ctools][] = field_group:field_group:1 +features[ctools][] = strongarm:strongarm:1 +features[ctools][] = views:views_default:3.0 +features[features_api][] = api:2 +features[field_base][] = field_attachments +features[field_base][] = field_authored_on +features[field_base][] = field_breve_ref +features[field_base][] = field_company_distrib +features[field_base][] = field_company_fab +features[field_base][] = field_department +features[field_base][] = field_description +features[field_base][] = field_famille +features[field_base][] = field_identifiant +features[field_base][] = field_infos_from_company +features[field_base][] = field_localisation +features[field_base][] = field_materiau_image +features[field_base][] = field_materiau_ref +features[field_base][] = field_nature_titre +features[field_base][] = field_note +features[field_base][] = field_onthologie +features[field_base][] = field_public_address +features[field_base][] = field_public_email +features[field_base][] = field_public_phone +features[field_base][] = field_reference_materio +features[field_base][] = field_source +features[field_base][] = field_tags_libres +features[field_base][] = field_tode_company +features[field_base][] = field_used_on_advanced_search +features[field_base][] = field_video_filter +features[field_base][] = field_visuel +features[field_base][] = field_website +features[field_base][] = field_workflow_state +features[field_base][] = name_field +features[field_base][] = title_field +features[field_group][] = group_4|node|materiau|cardbig +features[field_group][] = group_base|node|breve|form +features[field_group][] = group_base|node|materiau|form +features[field_group][] = group_contact_ope|node|materiau|form +features[field_group][] = group_fichiers|node|materiau|form +features[field_group][] = group_header|node|breve|bookmark +features[field_group][] = group_header|node|breve|cardbig +features[field_group][] = group_header|node|breve|cardfull +features[field_group][] = group_header|node|breve|cardmedium +features[field_group][] = group_header|node|breve|cardsmall +features[field_group][] = group_header|node|materiau|bookmark +features[field_group][] = group_header|node|materiau|cardbig +features[field_group][] = group_header|node|materiau|cardfull +features[field_group][] = group_header|node|materiau|cardmedium +features[field_group][] = group_header|node|materiau|cardsmall +features[field_group][] = group_htabs|node|breve|form +features[field_group][] = group_htabs|node|materiau|form +features[field_group][] = group_images|node|breve|bookmark +features[field_group][] = group_images|node|breve|cardbig +features[field_group][] = group_images|node|breve|cardfull +features[field_group][] = group_images|node|breve|cardmedium +features[field_group][] = group_images|node|breve|cardsmall +features[field_group][] = group_images|node|materiau|bookmark +features[field_group][] = group_images|node|materiau|cardbig +features[field_group][] = group_images|node|materiau|cardfull +features[field_group][] = group_images|node|materiau|cardmedium +features[field_group][] = group_images|node|materiau|cardsmall +features[field_group][] = group_media|node|materiau|form +features[field_group][] = group_referencement|node|breve|form +features[field_group][] = group_referencement|node|materiau|form +features[field_group][] = group_side1|node|breve|cardbig +features[field_group][] = group_side1|node|breve|cardmedium +features[field_group][] = group_side1|node|materiau|cardbig +features[field_group][] = group_side1|node|materiau|cardmedium +features[field_group][] = group_side2|node|breve|cardbig +features[field_group][] = group_side2|node|breve|cardmedium +features[field_group][] = group_side2|node|materiau|cardbig +features[field_group][] = group_side2|node|materiau|cardmedium +features[field_group][] = group_side3|node|breve|cardbig +features[field_group][] = group_side3|node|breve|cardmedium +features[field_group][] = group_side3|node|materiau|cardbig +features[field_group][] = group_side3|node|materiau|cardmedium +features[field_group][] = group_side4|node|breve|cardbig +features[field_group][] = group_side4|node|breve|cardmedium +features[field_group][] = group_side_4|node|materiau|cardmedium +features[field_group][] = group_side_5|node|materiau|cardbig +features[field_group][] = group_side_5|node|materiau|cardmedium +features[field_group][] = group_side_left|node|breve|cardfull +features[field_group][] = group_side_left|node|materiau|cardfull +features[field_group][] = group_side_right|node|breve|cardfull +features[field_group][] = group_side_right|node|materiau|cardfull +features[field_group][] = group_upload|node|breve|form +features[field_instance][] = node-breve-body +features[field_instance][] = node-breve-field_authored_on +features[field_instance][] = node-breve-field_materiau_ref +features[field_instance][] = node-breve-field_memo +features[field_instance][] = node-breve-field_onthologie +features[field_instance][] = node-breve-field_source +features[field_instance][] = node-breve-field_tags_libres +features[field_instance][] = node-breve-field_video_filter +features[field_instance][] = node-breve-field_visuel +features[field_instance][] = node-breve-field_workflow_state +features[field_instance][] = node-breve-title_field +features[field_instance][] = node-company-body +features[field_instance][] = node-company-field_attachments +features[field_instance][] = node-company-field_department +features[field_instance][] = node-company-field_infos_from_company +features[field_instance][] = node-company-field_memo +features[field_instance][] = node-company-field_note +features[field_instance][] = node-company-field_public_address +features[field_instance][] = node-company-field_public_email +features[field_instance][] = node-company-field_public_phone +features[field_instance][] = node-company-field_tode_company +features[field_instance][] = node-company-field_website +features[field_instance][] = node-materiau-field_attachments +features[field_instance][] = node-materiau-field_breve_ref +features[field_instance][] = node-materiau-field_company_distrib +features[field_instance][] = node-materiau-field_company_fab +features[field_instance][] = node-materiau-field_description +features[field_instance][] = node-materiau-field_famille +features[field_instance][] = node-materiau-field_identifiant +features[field_instance][] = node-materiau-field_localisation +features[field_instance][] = node-materiau-field_materiau_image +features[field_instance][] = node-materiau-field_materiau_ref +features[field_instance][] = node-materiau-field_memo +features[field_instance][] = node-materiau-field_nature_titre +features[field_instance][] = node-materiau-field_onthologie +features[field_instance][] = node-materiau-field_reference_materio +features[field_instance][] = node-materiau-field_tags_libres +features[field_instance][] = node-materiau-field_video_filter +features[field_instance][] = node-materiau-field_workflow_state +features[field_instance][] = node-materiau-title_field +features[field_instance][] = node-page-body +features[field_instance][] = node-page-title_field +features[field_instance][] = node-webform-body +features[field_instance][] = node-webform-title_field +features[field_instance][] = taxonomy_term-company-synonyms_synonym +features[field_instance][] = taxonomy_term-onthologie-field_used_on_advanced_search +features[field_instance][] = taxonomy_term-onthologie-name_field +features[field_instance][] = taxonomy_term-onthologie-synonyms_synonym +features[field_instance][] = taxonomy_term-tag_libres-name_field +features[field_instance][] = taxonomy_term-tag_libres-synonyms_synonym +features[image][] = card-big +features[image][] = card-full +features[image][] = card-medium +features[image][] = card-small +features[node][] = breve +features[node][] = company +features[node][] = materiau +features[node][] = page +features[node][] = webform +features[taxonomy][] = company +features[taxonomy][] = onthologie +features[taxonomy][] = tag_libres +features[user_permission][] = access private fields +features[user_permission][] = administer field permissions +features[user_permission][] = create field_attachments +features[user_permission][] = create field_company +features[user_permission][] = create field_company_distrib +features[user_permission][] = create field_company_fab +features[user_permission][] = create field_description +features[user_permission][] = create field_displayed_in_home +features[user_permission][] = create field_famille +features[user_permission][] = create field_identifiant +features[user_permission][] = create field_infos_from_company +features[user_permission][] = create field_localisation +features[user_permission][] = create field_memo +features[user_permission][] = create field_note +features[user_permission][] = create field_reference_materio +features[user_permission][] = create field_tode_company +features[user_permission][] = create field_weight +features[user_permission][] = create field_workflow_state +features[user_permission][] = edit field_attachments +features[user_permission][] = edit field_company +features[user_permission][] = edit field_company_distrib +features[user_permission][] = edit field_company_fab +features[user_permission][] = edit field_description +features[user_permission][] = edit field_displayed_in_home +features[user_permission][] = edit field_famille +features[user_permission][] = edit field_identifiant +features[user_permission][] = edit field_infos_from_company +features[user_permission][] = edit field_localisation +features[user_permission][] = edit field_memo +features[user_permission][] = edit field_note +features[user_permission][] = edit field_reference_materio +features[user_permission][] = edit field_tode_company +features[user_permission][] = edit field_weight +features[user_permission][] = edit field_workflow_state +features[user_permission][] = edit own field_attachments +features[user_permission][] = edit own field_company +features[user_permission][] = edit own field_company_distrib +features[user_permission][] = edit own field_company_fab +features[user_permission][] = edit own field_description +features[user_permission][] = edit own field_displayed_in_home +features[user_permission][] = edit own field_famille +features[user_permission][] = edit own field_identifiant +features[user_permission][] = edit own field_infos_from_company +features[user_permission][] = edit own field_localisation +features[user_permission][] = edit own field_memo +features[user_permission][] = edit own field_note +features[user_permission][] = edit own field_reference_materio +features[user_permission][] = edit own field_tode_company +features[user_permission][] = edit own field_weight +features[user_permission][] = edit own field_workflow_state +features[user_permission][] = show breve title +features[user_permission][] = show company title +features[user_permission][] = show materiau title +features[user_permission][] = show page title +features[user_permission][] = show webform title +features[user_permission][] = view field_attachments +features[user_permission][] = view field_company +features[user_permission][] = view field_company_distrib +features[user_permission][] = view field_company_fab +features[user_permission][] = view field_description +features[user_permission][] = view field_displayed_in_home +features[user_permission][] = view field_famille +features[user_permission][] = view field_identifiant +features[user_permission][] = view field_infos_from_company +features[user_permission][] = view field_localisation +features[user_permission][] = view field_memo +features[user_permission][] = view field_note +features[user_permission][] = view field_reference_materio +features[user_permission][] = view field_tode_company +features[user_permission][] = view field_weight +features[user_permission][] = view field_workflow_state +features[user_permission][] = view own field_attachments +features[user_permission][] = view own field_company +features[user_permission][] = view own field_company_distrib +features[user_permission][] = view own field_company_fab +features[user_permission][] = view own field_description +features[user_permission][] = view own field_displayed_in_home +features[user_permission][] = view own field_famille +features[user_permission][] = view own field_identifiant +features[user_permission][] = view own field_infos_from_company +features[user_permission][] = view own field_localisation +features[user_permission][] = view own field_memo +features[user_permission][] = view own field_note +features[user_permission][] = view own field_reference_materio +features[user_permission][] = view own field_tode_company +features[user_permission][] = view own field_weight +features[user_permission][] = view own field_workflow_state +features[variable][] = field_bundle_settings_node__breve +features[variable][] = field_bundle_settings_node__company +features[variable][] = field_bundle_settings_node__materiau +features[variable][] = i18n_node_extended_breve +features[variable][] = i18n_node_extended_company +features[variable][] = i18n_node_extended_materiau +features[variable][] = i18n_node_extended_page +features[variable][] = i18n_node_extended_webform +features[variable][] = i18n_node_options_breve +features[variable][] = i18n_node_options_company +features[variable][] = i18n_node_options_materiau +features[variable][] = i18n_node_options_page +features[variable][] = i18n_node_options_webform +features[variable][] = language_content_type_breve +features[variable][] = language_content_type_company +features[variable][] = language_content_type_materiau +features[variable][] = language_content_type_page +features[variable][] = language_content_type_webform +features[variable][] = menu_options_breve +features[variable][] = menu_options_company +features[variable][] = menu_options_materiau +features[variable][] = menu_options_page +features[variable][] = menu_options_webform +features[variable][] = menu_parent_breve +features[variable][] = menu_parent_company +features[variable][] = menu_parent_materiau +features[variable][] = menu_parent_page +features[variable][] = menu_parent_webform +features[variable][] = node_options_breve +features[variable][] = node_options_company +features[variable][] = node_options_materiau +features[variable][] = node_options_page +features[variable][] = node_options_webform +features[variable][] = node_preview_breve +features[variable][] = node_preview_company +features[variable][] = node_preview_materiau +features[variable][] = node_preview_page +features[variable][] = node_preview_webform +features[variable][] = node_submitted_breve +features[variable][] = node_submitted_company +features[variable][] = node_submitted_materiau +features[variable][] = node_submitted_page +features[variable][] = node_submitted_webform +features[views_view][] = entity_reference_materiaux_breves +project path = sites/all/modules/features diff --git a/sites/all/modules/features/materio_content_types/materio_content_types.module b/sites/all/modules/features/materio_content_types/materio_content_types.module new file mode 100644 index 00000000..d60afe60 --- /dev/null +++ b/sites/all/modules/features/materio_content_types/materio_content_types.module @@ -0,0 +1,7 @@ +disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'field_bundle_settings_node__breve'; + $strongarm->value = array( + 'view_modes' => array( + 'teaser' => array( + 'custom_settings' => TRUE, + ), + 'full' => array( + 'custom_settings' => FALSE, + ), + 'rss' => array( + 'custom_settings' => FALSE, + ), + 'token' => array( + 'custom_settings' => FALSE, + ), + 'cardsmall' => array( + 'custom_settings' => TRUE, + ), + 'cardmedium' => array( + 'custom_settings' => TRUE, + ), + 'cardbig' => array( + 'custom_settings' => TRUE, + ), + ), + 'extra_fields' => array( + 'form' => array( + 'title' => array( + 'weight' => '9', + ), + 'path' => array( + 'weight' => '5', + ), + 'workflow' => array( + 'weight' => '3', + ), + 'language' => array( + 'weight' => '2', + ), + ), + 'display' => array( + 'language' => array( + 'default' => array( + 'weight' => '6', + 'visible' => FALSE, + ), + 'cardmedium' => array( + 'weight' => '4', + 'visible' => FALSE, + ), + 'cardsmall' => array( + 'weight' => '0', + 'visible' => FALSE, + ), + 'cardbig' => array( + 'weight' => '0', + 'visible' => FALSE, + ), + 'cardfull' => array( + 'weight' => '0', + 'visible' => FALSE, + ), + ), + ), + ), + ); + $export['field_bundle_settings_node__breve'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'field_bundle_settings_node__company'; + $strongarm->value = array( + 'view_modes' => array( + 'teaser' => array( + 'custom_settings' => TRUE, + ), + 'full' => array( + 'custom_settings' => FALSE, + ), + 'rss' => array( + 'custom_settings' => FALSE, + ), + 'search_index' => array( + 'custom_settings' => FALSE, + ), + 'search_result' => array( + 'custom_settings' => FALSE, + ), + 'token' => array( + 'custom_settings' => FALSE, + ), + ), + 'extra_fields' => array( + 'form' => array( + 'language' => array( + 'weight' => '11', + ), + 'title' => array( + 'weight' => '0', + ), + 'path' => array( + 'weight' => '14', + ), + 'workflow' => array( + 'weight' => '12', + ), + ), + 'display' => array( + 'language' => array( + 'default' => array( + 'weight' => '0', + 'visible' => TRUE, + ), + 'cardmedium' => array( + 'weight' => '0', + 'visible' => FALSE, + ), + 'cardbig' => array( + 'weight' => '0', + 'visible' => FALSE, + ), + ), + ), + ), + ); + $export['field_bundle_settings_node__company'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'field_bundle_settings_node__materiau'; + $strongarm->value = array( + 'view_modes' => array( + 'teaser' => array( + 'custom_settings' => TRUE, + ), + 'full' => array( + 'custom_settings' => FALSE, + ), + 'rss' => array( + 'custom_settings' => FALSE, + ), + 'token' => array( + 'custom_settings' => FALSE, + ), + 'search_index' => array( + 'custom_settings' => FALSE, + ), + 'search_result' => array( + 'custom_settings' => FALSE, + ), + 'bookmark' => array( + 'custom_settings' => TRUE, + ), + 'cardsmall' => array( + 'custom_settings' => TRUE, + ), + 'cardmedium' => array( + 'custom_settings' => TRUE, + ), + 'cardbig' => array( + 'custom_settings' => TRUE, + ), + 'cardfull' => array( + 'custom_settings' => TRUE, + ), + 'print' => array( + 'custom_settings' => TRUE, + ), + 'diff_standard' => array( + 'custom_settings' => FALSE, + ), + 'email_plain' => array( + 'custom_settings' => FALSE, + ), + 'email_html' => array( + 'custom_settings' => FALSE, + ), + 'email_textalt' => array( + 'custom_settings' => FALSE, + ), + ), + 'extra_fields' => array( + 'form' => array( + 'language' => array( + 'weight' => '6', + ), + 'title' => array( + 'weight' => '0', + ), + 'path' => array( + 'weight' => '8', + ), + 'workflow' => array( + 'weight' => '5', + ), + 'metatags' => array( + 'weight' => '40', + ), + 'redirect' => array( + 'weight' => '30', + ), + ), + 'display' => array( + 'language' => array( + 'default' => array( + 'weight' => '10', + 'visible' => FALSE, + ), + 'cardmedium' => array( + 'weight' => '8', + 'visible' => FALSE, + ), + 'cardsmall' => array( + 'weight' => '8', + 'visible' => FALSE, + ), + 'cardfull' => array( + 'weight' => '11', + 'visible' => FALSE, + ), + 'cardbig' => array( + 'weight' => '15', + 'visible' => FALSE, + ), + 'bookmark' => array( + 'weight' => '0', + 'visible' => FALSE, + ), + ), + 'workflow_current_state' => array( + 'cardmedium' => array( + 'weight' => '-99', + 'visible' => TRUE, + ), + 'cardbig' => array( + 'weight' => '-99', + 'visible' => TRUE, + ), + 'cardfull' => array( + 'weight' => '-99', + 'visible' => TRUE, + ), + 'default' => array( + 'weight' => '-99', + 'visible' => FALSE, + ), + 'teaser' => array( + 'weight' => '-99', + 'visible' => FALSE, + ), + ), + 'workflow' => array( + 'cardmedium' => array( + 'weight' => '99', + 'visible' => TRUE, + ), + 'cardbig' => array( + 'weight' => '99', + 'visible' => FALSE, + ), + 'cardfull' => array( + 'weight' => '99', + 'visible' => FALSE, + ), + 'default' => array( + 'weight' => '99', + 'visible' => FALSE, + ), + 'teaser' => array( + 'weight' => '99', + 'visible' => FALSE, + ), + ), + ), + ), + ); + $export['field_bundle_settings_node__materiau'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'i18n_node_extended_breve'; + $strongarm->value = '1'; + $export['i18n_node_extended_breve'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'i18n_node_extended_company'; + $strongarm->value = '1'; + $export['i18n_node_extended_company'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'i18n_node_extended_materiau'; + $strongarm->value = '1'; + $export['i18n_node_extended_materiau'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'i18n_node_extended_page'; + $strongarm->value = 1; + $export['i18n_node_extended_page'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'i18n_node_extended_webform'; + $strongarm->value = '1'; + $export['i18n_node_extended_webform'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'i18n_node_options_breve'; + $strongarm->value = array(); + $export['i18n_node_options_breve'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'i18n_node_options_company'; + $strongarm->value = array(); + $export['i18n_node_options_company'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'i18n_node_options_materiau'; + $strongarm->value = array(); + $export['i18n_node_options_materiau'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'i18n_node_options_page'; + $strongarm->value = array(); + $export['i18n_node_options_page'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'i18n_node_options_webform'; + $strongarm->value = array(); + $export['i18n_node_options_webform'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'language_content_type_breve'; + $strongarm->value = '4'; + $export['language_content_type_breve'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'language_content_type_company'; + $strongarm->value = '4'; + $export['language_content_type_company'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'language_content_type_materiau'; + $strongarm->value = '4'; + $export['language_content_type_materiau'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'language_content_type_page'; + $strongarm->value = '4'; + $export['language_content_type_page'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'language_content_type_webform'; + $strongarm->value = '4'; + $export['language_content_type_webform'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'menu_options_breve'; + $strongarm->value = array(); + $export['menu_options_breve'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'menu_options_company'; + $strongarm->value = array(); + $export['menu_options_company'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'menu_options_materiau'; + $strongarm->value = array(); + $export['menu_options_materiau'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'menu_options_page'; + $strongarm->value = array(); + $export['menu_options_page'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'menu_options_webform'; + $strongarm->value = array(); + $export['menu_options_webform'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'menu_parent_breve'; + $strongarm->value = 'main-menu:0'; + $export['menu_parent_breve'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'menu_parent_company'; + $strongarm->value = 'main-menu:0'; + $export['menu_parent_company'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'menu_parent_materiau'; + $strongarm->value = 'main-menu:0'; + $export['menu_parent_materiau'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'menu_parent_page'; + $strongarm->value = 'main-menu:0'; + $export['menu_parent_page'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'menu_parent_webform'; + $strongarm->value = 'main-menu:0'; + $export['menu_parent_webform'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'node_options_breve'; + $strongarm->value = array( + 0 => 'status', + ); + $export['node_options_breve'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'node_options_company'; + $strongarm->value = array( + 0 => 'status', + ); + $export['node_options_company'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'node_options_materiau'; + $strongarm->value = array( + 0 => 'status', + ); + $export['node_options_materiau'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'node_options_page'; + $strongarm->value = array( + 0 => 'status', + ); + $export['node_options_page'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'node_options_webform'; + $strongarm->value = array( + 0 => 'status', + ); + $export['node_options_webform'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'node_preview_breve'; + $strongarm->value = '0'; + $export['node_preview_breve'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'node_preview_company'; + $strongarm->value = '0'; + $export['node_preview_company'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'node_preview_materiau'; + $strongarm->value = '0'; + $export['node_preview_materiau'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'node_preview_page'; + $strongarm->value = '0'; + $export['node_preview_page'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'node_preview_webform'; + $strongarm->value = '0'; + $export['node_preview_webform'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'node_submitted_breve'; + $strongarm->value = 0; + $export['node_submitted_breve'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'node_submitted_company'; + $strongarm->value = 0; + $export['node_submitted_company'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'node_submitted_materiau'; + $strongarm->value = 0; + $export['node_submitted_materiau'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'node_submitted_page'; + $strongarm->value = 0; + $export['node_submitted_page'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'node_submitted_webform'; + $strongarm->value = 0; + $export['node_submitted_webform'] = $strongarm; + + return $export; +} diff --git a/sites/all/modules/features/materio_content_types/materio_content_types.views_default.inc b/sites/all/modules/features/materio_content_types/materio_content_types.views_default.inc new file mode 100644 index 00000000..c8dc66db --- /dev/null +++ b/sites/all/modules/features/materio_content_types/materio_content_types.views_default.inc @@ -0,0 +1,137 @@ +name = 'entity_reference_materiaux_breves'; + $view->description = ''; + $view->tag = 'default'; + $view->base_table = 'node'; + $view->human_name = 'entity reference matériaux brèves'; + $view->core = 7; + $view->api_version = '3.0'; + $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ + + /* Display: Master */ + $handler = $view->new_display('default', 'Master', 'default'); + $handler->display->display_options['use_more_always'] = FALSE; + $handler->display->display_options['use_more_text'] = 'plus'; + $handler->display->display_options['access']['type'] = 'role'; + $handler->display->display_options['access']['role'] = array( + 3 => '3', + 4 => '4', + ); + $handler->display->display_options['cache']['type'] = 'none'; + $handler->display->display_options['query']['type'] = 'views_query'; + $handler->display->display_options['exposed_form']['type'] = 'basic'; + $handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer'; + $handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Réinitialiser'; + $handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par'; + $handler->display->display_options['pager']['type'] = 'full'; + $handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page'; + $handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -'; + $handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage'; + $handler->display->display_options['pager']['options']['tags']['first'] = '« premier'; + $handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent'; + $handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›'; + $handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »'; + $handler->display->display_options['style_plugin'] = 'default'; + $handler->display->display_options['row_plugin'] = 'fields'; + $handler->display->display_options['row_options']['inline'] = array( + 'field_reference_materio' => 'field_reference_materio', + 'title' => 'title', + ); + $handler->display->display_options['row_options']['hide_empty'] = TRUE; + /* Champ: Contenu : Référence Materio */ + $handler->display->display_options['fields']['field_reference_materio']['id'] = 'field_reference_materio'; + $handler->display->display_options['fields']['field_reference_materio']['table'] = 'field_data_field_reference_materio'; + $handler->display->display_options['fields']['field_reference_materio']['field'] = 'field_reference_materio'; + $handler->display->display_options['fields']['field_reference_materio']['label'] = ''; + $handler->display->display_options['fields']['field_reference_materio']['alter']['text'] = '[field_reference_materio] '; + $handler->display->display_options['fields']['field_reference_materio']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['field_reference_materio']['hide_empty'] = TRUE; + /* Champ: Contenu : Titre */ + $handler->display->display_options['fields']['title']['id'] = 'title'; + $handler->display->display_options['fields']['title']['table'] = 'node'; + $handler->display->display_options['fields']['title']['field'] = 'title'; + $handler->display->display_options['fields']['title']['label'] = ''; + $handler->display->display_options['fields']['title']['alter']['text'] = '[field_reference_materio][title]'; + $handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE; + $handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE; + $handler->display->display_options['fields']['title']['element_label_colon'] = FALSE; + $handler->display->display_options['fields']['title']['link_to_node'] = FALSE; + /* Critère de tri: Contenu : Date de publication */ + $handler->display->display_options['sorts']['created']['id'] = 'created'; + $handler->display->display_options['sorts']['created']['table'] = 'node'; + $handler->display->display_options['sorts']['created']['field'] = 'created'; + $handler->display->display_options['sorts']['created']['order'] = 'DESC'; + /* Critère de filtrage: Contenu : Publié */ + $handler->display->display_options['filters']['status']['id'] = 'status'; + $handler->display->display_options['filters']['status']['table'] = 'node'; + $handler->display->display_options['filters']['status']['field'] = 'status'; + $handler->display->display_options['filters']['status']['value'] = 1; + $handler->display->display_options['filters']['status']['group'] = 1; + $handler->display->display_options['filters']['status']['expose']['operator'] = FALSE; + /* Critère de filtrage: Contenu : Type */ + $handler->display->display_options['filters']['type']['id'] = 'type'; + $handler->display->display_options['filters']['type']['table'] = 'node'; + $handler->display->display_options['filters']['type']['field'] = 'type'; + $handler->display->display_options['filters']['type']['value'] = array( + 'breve' => 'breve', + 'materiau' => 'materiau', + ); + + /* Display: Entity Reference */ + $handler = $view->new_display('entityreference', 'Entity Reference', 'entityreference_1'); + $handler->display->display_options['defaults']['title'] = FALSE; + $handler->display->display_options['defaults']['hide_admin_links'] = FALSE; + $handler->display->display_options['pager']['type'] = 'some'; + $handler->display->display_options['pager']['options']['items_per_page'] = '15'; + $handler->display->display_options['pager']['options']['offset'] = '0'; + $handler->display->display_options['defaults']['style_plugin'] = FALSE; + $handler->display->display_options['style_plugin'] = 'entityreference_style'; + $handler->display->display_options['style_options']['search_fields'] = array( + 'field_reference_materio' => 'field_reference_materio', + 'title' => 'title', + ); + $handler->display->display_options['defaults']['style_options'] = FALSE; + $handler->display->display_options['defaults']['row_plugin'] = FALSE; + $handler->display->display_options['row_plugin'] = 'entityreference_fields'; + $handler->display->display_options['row_options']['inline'] = array( + 'field_reference_materio' => 'field_reference_materio', + 'title' => 'title', + ); + $handler->display->display_options['row_options']['separator'] = ''; + $handler->display->display_options['row_options']['hide_empty'] = TRUE; + $handler->display->display_options['defaults']['row_options'] = FALSE; + $translatables['entity_reference_materiaux_breves'] = array( + t('Master'), + t('plus'), + t('Appliquer'), + t('Réinitialiser'), + t('Trier par'), + t('Asc'), + t('Desc'), + t('Éléments par page'), + t('- Tout -'), + t('Décalage'), + t('« premier'), + t('‹ précédent'), + t('suivant ›'), + t('dernier »'), + t('[field_reference_materio] '), + t('[field_reference_materio][title]'), + t('Entity Reference'), + ); + $export['entity_reference_materiaux_breves'] = $view; + + return $export; +} diff --git a/sites/all/modules/features/materio_feedback/materio_feedback.features.user_permission.inc b/sites/all/modules/features/materio_feedback/materio_feedback.features.user_permission.inc new file mode 100644 index 00000000..888b748b --- /dev/null +++ b/sites/all/modules/features/materio_feedback/materio_feedback.features.user_permission.inc @@ -0,0 +1,46 @@ + 'access feedback form', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'Utilisateur' => 'Utilisateur', + 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester', + ), + 'module' => 'feedback', + ); + + // Exported permission: 'administer feedback'. + $permissions['administer feedback'] = array( + 'name' => 'administer feedback', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'feedback', + ); + + // Exported permission: 'view feedback messages'. + $permissions['view feedback messages'] = array( + 'name' => 'view feedback messages', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'feedback', + ); + + return $permissions; +} diff --git a/sites/all/modules/features/materio_feedback/materio_feedback.info b/sites/all/modules/features/materio_feedback/materio_feedback.info new file mode 100644 index 00000000..44375c90 --- /dev/null +++ b/sites/all/modules/features/materio_feedback/materio_feedback.info @@ -0,0 +1,11 @@ +name = materio feedback +core = 7.x +package = Materio +dependencies[] = browscap +dependencies[] = features +dependencies[] = feedback +features[features_api][] = api:2 +features[user_permission][] = access feedback form +features[user_permission][] = administer feedback +features[user_permission][] = view feedback messages +project path = sites/all/modules/features diff --git a/sites/all/modules/features/materio_feedback/materio_feedback.module b/sites/all/modules/features/materio_feedback/materio_feedback.module new file mode 100644 index 00000000..8b958b03 --- /dev/null +++ b/sites/all/modules/features/materio_feedback/materio_feedback.module @@ -0,0 +1,6 @@ + 'create flag lists', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Premium' => 'Premium', + 'root' => 'root', + ), + 'module' => 'flag_lists', + ); + + // Exported permission: 'delete own flag lists'. + $permissions['delete own flag lists'] = array( + 'name' => 'delete own flag lists', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Premium' => 'Premium', + 'root' => 'root', + ), + 'module' => 'flag_lists', + ); + + // Exported permission: 'edit own flag lists'. + $permissions['edit own flag lists'] = array( + 'name' => 'edit own flag lists', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Premium' => 'Premium', + 'root' => 'root', + ), + 'module' => 'flag_lists', + ); + + // Exported permission: 'flag fl_template'. + $permissions['flag fl_template'] = array( + 'name' => 'flag fl_template', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Premium' => 'Premium', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'flag', + ); + + // Exported permission: 'unflag fl_template'. + $permissions['unflag fl_template'] = array( + 'name' => 'unflag fl_template', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Premium' => 'Premium', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'flag', + ); + + // Exported permission: 'view flag lists'. + $permissions['view flag lists'] = array( + 'name' => 'view flag lists', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Premium' => 'Premium', + 'root' => 'root', + ), + 'module' => 'flag_lists', + ); + + return $permissions; +} diff --git a/sites/all/modules/features/materio_folders/materio_folders.info b/sites/all/modules/features/materio_folders/materio_folders.info new file mode 100644 index 00000000..1651aa81 --- /dev/null +++ b/sites/all/modules/features/materio_folders/materio_folders.info @@ -0,0 +1,15 @@ +name = Materio Folders +description = flag lists +core = 7.x +package = Materio +dependencies[] = features +dependencies[] = flag +dependencies[] = flag_lists +features[features_api][] = api:2 +features[user_permission][] = create flag lists +features[user_permission][] = delete own flag lists +features[user_permission][] = edit own flag lists +features[user_permission][] = flag fl_template +features[user_permission][] = unflag fl_template +features[user_permission][] = view flag lists +project path = sites/all/modules/features diff --git a/sites/all/modules/features/materio_folders/materio_folders.module b/sites/all/modules/features/materio_folders/materio_folders.module new file mode 100644 index 00000000..8b958b03 --- /dev/null +++ b/sites/all/modules/features/materio_folders/materio_folders.module @@ -0,0 +1,6 @@ + "1"); + } +} + +/** + * Implements hook_default_search_api_index(). + */ +function materio_search_default_search_api_index() { + $items = array(); + $items['breves_en'] = entity_import('search_api_index', '{ + "name" : "Breves EN", + "machine_name" : "breves_en", + "description" : null, + "server" : "materio_solr3_en", + "item_type" : "node", + "options" : { + "index_directly" : 0, + "cron_limit" : "50", + "entity_translation_language" : "en", + "fields" : { + "type" : { "type" : "string" }, + "title" : { "type" : "text" }, + "status" : { "type" : "boolean" }, + "author" : { "type" : "integer", "entity_type" : "user" }, + "title_field" : { "type" : "text" }, + "search_api_language" : { "type" : "string" }, + "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" }, + "body:value" : { "type" : "text" }, + "field_tags_libres:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "5000" }, + "field_tags_libres:name_field" : { "type" : "list\\u003Ctext\\u003E", "boost" : "5000" }, + "field_onthologie:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "10000" }, + "field_onthologie:name_field" : { "type" : "list\\u003Ctext\\u003E", "boost" : "10000" } + }, + "data_alter_callbacks" : { + "search_api_alter_bundle_filter" : { + "status" : 1, + "weight" : "-10", + "settings" : { "default" : "0", "bundles" : { "breve" : "breve" } } + }, + "search_api_alter_node_access" : { "status" : 1, "weight" : "0", "settings" : [] }, + "search_api_alter_node_status" : { "status" : 1, "weight" : "0", "settings" : [] }, + "search_api_alter_language_control" : { + "status" : 1, + "weight" : "0", + "settings" : { "lang_field" : "", "languages" : { "und" : "und", "en" : "en" } } + }, + "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } }, + "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] }, + "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] }, + "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } } + }, + "processors" : { + "search_api_case_ignore" : { + "status" : 1, + "weight" : "0", + "settings" : { "fields" : { "title" : true, "title_field" : true } } + }, + "search_api_html_filter" : { + "status" : 0, + "weight" : "10", + "settings" : { + "fields" : { "title" : true, "title_field" : true }, + "title" : 0, + "alt" : 1, + "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5" + } + }, + "search_api_tokenizer" : { + "status" : 0, + "weight" : "20", + "settings" : { + "fields" : { "title" : true, "title_field" : true }, + "spaces" : "[^[:alnum:]]", + "ignorable" : "[\\u0027]" + } + }, + "search_api_stopwords" : { + "status" : 0, + "weight" : "30", + "settings" : { + "fields" : { "title" : true, "title_field" : true }, + "file" : "", + "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc" + } + } + } + }, + "enabled" : "1", + "read_only" : "0" + }'); + $items['breves_fr'] = entity_import('search_api_index', '{ + "name" : "Breves FR", + "machine_name" : "breves_fr", + "description" : null, + "server" : "materio_solr3_fr", + "item_type" : "node", + "options" : { + "index_directly" : 0, + "cron_limit" : "50", + "entity_translation_language" : "fr", + "fields" : { + "type" : { "type" : "string" }, + "title" : { "type" : "text" }, + "status" : { "type" : "boolean" }, + "author" : { "type" : "integer", "entity_type" : "user" }, + "title_field" : { "type" : "text" }, + "search_api_language" : { "type" : "string" }, + "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" }, + "body:value" : { "type" : "text" }, + "field_tags_libres:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "5000" }, + "field_tags_libres:name_field" : { "type" : "list\\u003Ctext\\u003E", "boost" : "5000" }, + "field_onthologie:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "10000" }, + "field_onthologie:name_field" : { "type" : "list\\u003Ctext\\u003E", "boost" : "10000" } + }, + "data_alter_callbacks" : { + "search_api_alter_bundle_filter" : { + "status" : 1, + "weight" : "-10", + "settings" : { "default" : "0", "bundles" : { "breve" : "breve" } } + }, + "search_api_alter_node_access" : { "status" : 1, "weight" : "0", "settings" : [] }, + "search_api_alter_node_status" : { "status" : 1, "weight" : "0", "settings" : [] }, + "search_api_alter_language_control" : { + "status" : 1, + "weight" : "0", + "settings" : { "lang_field" : "", "languages" : { "und" : "und", "fr" : "fr" } } + }, + "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } }, + "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] }, + "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] }, + "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } } + }, + "processors" : { + "search_api_case_ignore" : { + "status" : 1, + "weight" : "0", + "settings" : { "fields" : { "title" : true, "title_field" : true } } + }, + "search_api_html_filter" : { + "status" : 0, + "weight" : "10", + "settings" : { + "fields" : { "title" : true, "title_field" : true }, + "title" : 0, + "alt" : 1, + "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5" + } + }, + "search_api_tokenizer" : { + "status" : 0, + "weight" : "20", + "settings" : { + "fields" : { "title" : true, "title_field" : true }, + "spaces" : "[^[:alnum:]]", + "ignorable" : "[\\u0027]" + } + }, + "search_api_stopwords" : { + "status" : 0, + "weight" : "30", + "settings" : { + "fields" : { "title" : true, "title_field" : true }, + "file" : "", + "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc" + } + } + } + }, + "enabled" : "1", + "read_only" : "0" + }'); + $items['materiaux_breves'] = entity_import('search_api_index', '{ + "name" : "Materiaux Breves", + "machine_name" : "materiaux_breves", + "description" : null, + "server" : null, + "item_type" : "node", + "options" : { + "index_directly" : 0, + "cron_limit" : "25", + "fields" : { + "type" : { "type" : "text", "boost" : "0.3" }, + "title" : { "type" : "text" }, + "status" : { "type" : "boolean" }, + "author" : { "type" : "integer", "entity_type" : "user" }, + "field_nature_titre" : { "type" : "text" }, + "title_field" : { "type" : "text" }, + "field_reference_materio" : { "type" : "text" }, + "search_api_language" : { "type" : "string" }, + "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" }, + "field_description:value" : { "type" : "text", "boost" : "0.3" }, + "field_tags_libres:name" : { "type" : "list\\u003Ctext\\u003E", "boost" : "2.0" }, + "field_tags_libres:description" : { "type" : "list\\u003Ctext\\u003E", "boost" : "2.0" }, + "field_tags_libres:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "2.0" }, + "field_onthologie:name" : { "type" : "list\\u003Ctext\\u003E", "boost" : "2.0" }, + "field_onthologie:description" : { "type" : "list\\u003Ctext\\u003E", "boost" : "2.0" }, + "field_onthologie:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "2.0" }, + "field_company_fab:name" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.3" }, + "field_company_fab:description" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.3" }, + "field_company_fab:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "3.0" }, + "field_company_distrib:name" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.3" }, + "field_company_distrib:description" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.3" }, + "field_company_distrib:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "0.3" }, + "field_materiau_ref:title" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.3" }, + "field_materiau_ref:status" : { "type" : "list\\u003Cinteger\\u003E" }, + "field_materiau_ref:field_tags_libres" : { + "type" : "list\\u003Clist\\u003Cinteger\\u003E\\u003E", + "entity_type" : "taxonomy_term" + }, + "field_materiau_ref:field_onthologie" : { + "type" : "list\\u003Clist\\u003Cinteger\\u003E\\u003E", + "entity_type" : "taxonomy_term" + }, + "field_infos_from_company:value" : { "type" : "text", "boost" : "0.3" } + }, + "data_alter_callbacks" : { + "search_api_alter_bundle_filter" : { + "status" : 1, + "weight" : "-50", + "settings" : { + "default" : "0", + "bundles" : { "breve" : "breve", "materiau" : "materiau" } + } + }, + "search_api_alter_node_access" : { "status" : 1, "weight" : "-49", "settings" : [] }, + "search_api_alter_language_control" : { + "status" : 0, + "weight" : "-48", + "settings" : { "lang_field" : "", "languages" : [] } + }, + "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "-47", "settings" : { "fields" : [] } }, + "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "-46", "settings" : { "mode" : "full" } }, + "search_api_alter_add_url" : { "status" : 0, "weight" : "-45", "settings" : [] }, + "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "-44", "settings" : [] }, + "search_api_alter_node_status" : { "status" : 0, "weight" : "-43", "settings" : [] } + }, + "processors" : { + "search_api_case_ignore" : { + "status" : 1, + "weight" : "0", + "settings" : { "fields" : { + "title" : true, + "title_field" : true, + "field_reference_materio" : true, + "field_tags_libres:name" : true + } + } + }, + "search_api_html_filter" : { + "status" : 1, + "weight" : "10", + "settings" : { + "fields" : { "title" : true, "title_field" : true, "field_reference_materio" : true }, + "title" : 0, + "alt" : 1, + "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5" + } + }, + "search_api_tokenizer" : { + "status" : 0, + "weight" : "20", + "settings" : { + "fields" : { + "title" : true, + "title_field" : true, + "field_reference_materio" : true, + "field_tags_libres:name" : true + }, + "spaces" : "[^[:alnum:]]", + "ignorable" : "[\\u0027]" + } + }, + "search_api_stopwords" : { + "status" : 0, + "weight" : "30", + "settings" : { + "fields" : { + "title" : true, + "title_field" : true, + "field_reference_materio" : true, + "field_tags_libres:name" : true + }, + "file" : "", + "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc" + } + } + } + }, + "enabled" : "0", + "read_only" : "0" + }'); + $items['materiaux_breves_en'] = entity_import('search_api_index', '{ + "name" : "Materiaux Breves EN", + "machine_name" : "materiaux_breves_en", + "description" : null, + "server" : "materio_solr3_en", + "item_type" : "node", + "options" : { + "index_directly" : 0, + "cron_limit" : "50", + "entity_translation_language" : "en", + "fields" : { + "nid" : { "type" : "integer" }, + "type" : { "type" : "string" }, + "status" : { "type" : "boolean" }, + "author" : { "type" : "integer", "entity_type" : "user" }, + "materio_search_api_onthologie_term_1_text" : { "type" : "text", "boost" : "13.0" }, + "materio_search_api_onthologie_term_2_text" : { "type" : "text", "boost" : "8.0" }, + "materio_search_api_onthologie_term_3_text" : { "type" : "text", "boost" : "5.0" }, + "materio_search_api_onthologie_term_4_text" : { "type" : "text", "boost" : "3.0" }, + "materio_search_api_onthologie_term_5_text" : { "type" : "text", "boost" : "2.0" }, + "materio_search_api_onthologie_term_others_text" : { "type" : "list\\u003Ctext\\u003E" }, + "materio_search_api_taglibres_text" : { "type" : "list\\u003Ctext\\u003E", "boost" : "100" }, + "title_field" : { "type" : "text", "boost" : "3.0" }, + "field_nature_titre" : { "type" : "text", "boost" : "0.3" }, + "field_reference_materio" : { "type" : "text", "boost" : "0.3" }, + "materio_search_api_node_propertie_companie" : { "type" : "list\\u003Ctext\\u003E" }, + "search_api_language" : { "type" : "string" }, + "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" }, + "body:value" : { "type" : "text" }, + "field_description:value" : { "type" : "text" } + }, + "data_alter_callbacks" : { + "search_api_alter_bundle_filter" : { + "status" : 1, + "weight" : "-10", + "settings" : { + "default" : "0", + "bundles" : { "materiau" : "materiau", "breve" : "breve" } + } + }, + "search_api_alter_node_access" : { "status" : 1, "weight" : "0", "settings" : [] }, + "search_api_alter_node_status" : { "status" : 1, "weight" : "0", "settings" : [] }, + "search_api_alter_language_control" : { + "status" : 1, + "weight" : "0", + "settings" : { "lang_field" : "", "languages" : { "und" : "und", "en" : "en" } } + }, + "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } }, + "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] }, + "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] }, + "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } } + }, + "processors" : { + "search_api_case_ignore" : { "status" : 1, "weight" : "0", "settings" : { "fields" : [] } }, + "search_api_html_filter" : { + "status" : 0, + "weight" : "10", + "settings" : { + "fields" : [], + "title" : 0, + "alt" : 1, + "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5" + } + }, + "search_api_tokenizer" : { + "status" : 0, + "weight" : "20", + "settings" : { "fields" : [], "spaces" : "[^[:alnum:]]", "ignorable" : "[\\u0027]" } + }, + "search_api_stopwords" : { + "status" : 0, + "weight" : "30", + "settings" : { + "fields" : [], + "file" : "", + "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc" + } + } + } + }, + "enabled" : "1", + "read_only" : "0" + }'); + $items['materiaux_breves_fr'] = entity_import('search_api_index', '{ + "name" : "Materiaux Breves FR", + "machine_name" : "materiaux_breves_fr", + "description" : null, + "server" : "materio_solr3_fr", + "item_type" : "node", + "options" : { + "index_directly" : 0, + "cron_limit" : "50", + "entity_translation_language" : "fr", + "fields" : { + "nid" : { "type" : "integer" }, + "type" : { "type" : "string" }, + "status" : { "type" : "boolean" }, + "author" : { "type" : "integer", "entity_type" : "user" }, + "materio_search_api_onthologie_term_1_text" : { "type" : "text", "boost" : "13.0" }, + "materio_search_api_onthologie_term_2_text" : { "type" : "text", "boost" : "8.0" }, + "materio_search_api_onthologie_term_3_text" : { "type" : "text", "boost" : "5.0" }, + "materio_search_api_onthologie_term_4_text" : { "type" : "text", "boost" : "3.0" }, + "materio_search_api_onthologie_term_5_text" : { "type" : "text", "boost" : "2.0" }, + "materio_search_api_onthologie_term_others_text" : { "type" : "list\\u003Ctext\\u003E" }, + "materio_search_api_taglibres_text" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.1" }, + "title_field" : { "type" : "text", "boost" : "3.0" }, + "field_nature_titre" : { "type" : "text", "boost" : "3.0" }, + "field_reference_materio" : { "type" : "text", "boost" : "0.3" }, + "materio_search_api_node_propertie_companie" : { "type" : "list\\u003Ctext\\u003E" }, + "search_api_language" : { "type" : "string" }, + "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" }, + "body:value" : { "type" : "text" }, + "field_description:value" : { "type" : "text" } + }, + "data_alter_callbacks" : { + "search_api_alter_bundle_filter" : { + "status" : 1, + "weight" : "-10", + "settings" : { + "default" : "0", + "bundles" : { "breve" : "breve", "materiau" : "materiau" } + } + }, + "search_api_alter_node_access" : { "status" : 1, "weight" : "0", "settings" : [] }, + "search_api_alter_node_status" : { "status" : 1, "weight" : "0", "settings" : [] }, + "search_api_alter_language_control" : { + "status" : 1, + "weight" : "0", + "settings" : { "lang_field" : "", "languages" : { "und" : "und", "fr" : "fr" } } + }, + "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } }, + "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] }, + "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] }, + "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } } + }, + "processors" : { + "search_api_case_ignore" : { + "status" : 1, + "weight" : "0", + "settings" : { "fields" : { "title_field" : true, "field_reference_materio" : true } } + }, + "search_api_html_filter" : { + "status" : 0, + "weight" : "10", + "settings" : { + "fields" : { "title_field" : true, "field_reference_materio" : true }, + "title" : 0, + "alt" : 1, + "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5" + } + }, + "search_api_tokenizer" : { + "status" : 0, + "weight" : "20", + "settings" : { + "fields" : { "title_field" : true, "field_reference_materio" : true }, + "spaces" : "[^[:alnum:]]", + "ignorable" : "[\\u0027]" + } + }, + "search_api_stopwords" : { + "status" : 0, + "weight" : "30", + "settings" : { + "fields" : { "title_field" : true, "field_reference_materio" : true }, + "file" : "", + "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc" + } + } + } + }, + "enabled" : "1", + "read_only" : "0" + }'); + $items['referencement'] = entity_import('search_api_index', '{ + "name" : "R\\u00e9f\\u00e9rencement", + "machine_name" : "referencement", + "description" : null, + "server" : null, + "item_type" : "taxonomy_term", + "options" : { + "index_directly" : 0, + "cron_limit" : "1000", + "fields" : { + "description" : { "type" : "text" }, + "synonyms_synonym" : { "type" : "list\\u003Ctext\\u003E" }, + "name_field" : { "type" : "text" }, + "search_api_language" : { "type" : "string" } + }, + "data_alter_callbacks" : { + "search_api_alter_bundle_filter" : { + "status" : 1, + "weight" : "-10", + "settings" : { + "default" : "0", + "bundles" : { "onthologie" : "onthologie", "tag_libres" : "tag_libres" } + } + }, + "search_api_alter_language_control" : { + "status" : 0, + "weight" : "0", + "settings" : { "lang_field" : "", "languages" : [] } + }, + "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } }, + "search_api_alter_add_aggregation" : { "status" : 1, "weight" : "0", "settings" : [] }, + "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] }, + "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } } + }, + "processors" : { + "search_api_case_ignore" : { + "status" : 1, + "weight" : "0", + "settings" : { "fields" : { "name" : true, "parent" : true, "synonyms_synonym" : true } } + }, + "search_api_html_filter" : { + "status" : 0, + "weight" : "10", + "settings" : { + "fields" : { "name" : true, "synonyms_synonym" : true, "vocabulary:name" : true }, + "title" : 0, + "alt" : 1, + "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5" + } + }, + "search_api_tokenizer" : { + "status" : 0, + "weight" : "20", + "settings" : { + "fields" : { "name" : true, "synonyms_synonym" : true, "vocabulary:name" : true }, + "spaces" : "[^[:alnum:]]", + "ignorable" : "[\\u0027]" + } + }, + "search_api_stopwords" : { + "status" : 0, + "weight" : "30", + "settings" : { + "fields" : { "name" : true, "synonyms_synonym" : true, "vocabulary:name" : true }, + "file" : "", + "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc" + } + } + } + }, + "enabled" : "0", + "read_only" : "0" + }'); + $items['referencement_en'] = entity_import('search_api_index', '{ + "name" : "r\\u00e9f\\u00e9rencement en", + "machine_name" : "referencement_en", + "description" : null, + "server" : "materio_solr3_en", + "item_type" : "taxonomy_term", + "options" : { + "index_directly" : 0, + "cron_limit" : "50", + "entity_translation_language" : "en", + "fields" : { + "description" : { "type" : "text", "boost" : "0.3" }, + "synonyms_synonym" : { + "type" : "list\\u003Ctext\\u003E", + "real_type" : "list\\u003Cedge_n2_kw_text\\u003E" + }, + "name_field" : { "type" : "text", "real_type" : "edge_n2_kw_text" }, + "search_api_language" : { "type" : "string" } + }, + "data_alter_callbacks" : { + "search_api_alter_bundle_filter" : { + "status" : 1, + "weight" : "-10", + "settings" : { + "default" : "0", + "bundles" : { "onthologie" : "onthologie", "tag_libres" : "tag_libres" } + } + }, + "search_api_alter_language_control" : { + "status" : 1, + "weight" : "0", + "settings" : { "lang_field" : "", "languages" : { "und" : "und", "en" : "en" } } + }, + "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } }, + "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] }, + "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] }, + "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } } + }, + "processors" : { + "search_api_case_ignore" : { + "status" : 1, + "weight" : "0", + "settings" : { "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true } } + }, + "search_api_html_filter" : { + "status" : 0, + "weight" : "10", + "settings" : { + "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true }, + "title" : 0, + "alt" : 1, + "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5" + } + }, + "search_api_tokenizer" : { + "status" : 0, + "weight" : "20", + "settings" : { + "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true }, + "spaces" : "[^[:alnum:]]", + "ignorable" : "[\\u0027]" + } + }, + "search_api_stopwords" : { + "status" : 0, + "weight" : "30", + "settings" : { + "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true }, + "file" : "", + "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc" + } + } + } + }, + "enabled" : "1", + "read_only" : "0" + }'); + $items['referencement_fr'] = entity_import('search_api_index', '{ + "name" : "r\\u00e9f\\u00e9rencement fr", + "machine_name" : "referencement_fr", + "description" : null, + "server" : "materio_solr3_fr", + "item_type" : "taxonomy_term", + "options" : { + "index_directly" : 0, + "cron_limit" : "50", + "entity_translation_language" : "fr", + "fields" : { + "description" : { "type" : "text", "boost" : "0.3" }, + "materio_search_api_term_property_dup_name" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" }, + "synonyms_synonym" : { + "type" : "list\\u003Ctext\\u003E", + "real_type" : "list\\u003Cedge_n2_kw_text\\u003E" + }, + "name_field" : { "type" : "text", "real_type" : "edge_n2_kw_text" }, + "search_api_language" : { "type" : "string" } + }, + "data_alter_callbacks" : { + "search_api_alter_bundle_filter" : { + "status" : 1, + "weight" : "-10", + "settings" : { + "default" : "0", + "bundles" : { "onthologie" : "onthologie", "tag_libres" : "tag_libres" } + } + }, + "search_api_alter_language_control" : { + "status" : 1, + "weight" : "0", + "settings" : { "lang_field" : "", "languages" : { "und" : "und", "fr" : "fr" } } + }, + "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } }, + "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] }, + "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] }, + "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } } + }, + "processors" : { + "search_api_case_ignore" : { + "status" : 1, + "weight" : "0", + "settings" : { "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true } } + }, + "search_api_html_filter" : { + "status" : 0, + "weight" : "10", + "settings" : { + "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true }, + "title" : 0, + "alt" : 1, + "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5" + } + }, + "search_api_tokenizer" : { + "status" : 0, + "weight" : "20", + "settings" : { + "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true }, + "spaces" : "[^[:alnum:]]", + "ignorable" : "[\\u0027]" + } + }, + "search_api_stopwords" : { + "status" : 0, + "weight" : "30", + "settings" : { + "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true }, + "file" : "", + "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc" + } + } + } + }, + "enabled" : "1", + "read_only" : "0" + }'); + return $items; +} diff --git a/sites/all/modules/features/materio_search/materio_search.features.user_permission.inc b/sites/all/modules/features/materio_search/materio_search.features.user_permission.inc new file mode 100644 index 00000000..b704d339 --- /dev/null +++ b/sites/all/modules/features/materio_search/materio_search.features.user_permission.inc @@ -0,0 +1,164 @@ + 'administer materio_search_api', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'materio_search_api', + ); + + // Exported permission: 'administer search_api'. + $permissions['administer search_api'] = array( + 'name' => 'administer search_api', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'search_api', + ); + + // Exported permission: 'administer search_api_saved_searches'. + $permissions['administer search_api_saved_searches'] = array( + 'name' => 'administer search_api_saved_searches', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'search_api_saved_searches', + ); + + // Exported permission: 'create field_used_on_advanced_search'. + $permissions['create field_used_on_advanced_search'] = array( + 'name' => 'create field_used_on_advanced_search', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_used_on_advanced_search'. + $permissions['edit field_used_on_advanced_search'] = array( + 'name' => 'edit field_used_on_advanced_search', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_used_on_advanced_search'. + $permissions['edit own field_used_on_advanced_search'] = array( + 'name' => 'edit own field_used_on_advanced_search', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'use materio search api'. + $permissions['use materio search api'] = array( + 'name' => 'use materio search api', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'materio_search_api', + ); + + // Exported permission: 'use materio search api autocomplete'. + $permissions['use materio search api autocomplete'] = array( + 'name' => 'use materio search api autocomplete', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'materio_search_api', + ); + + // Exported permission: 'use materio search api filters'. + $permissions['use materio search api filters'] = array( + 'name' => 'use materio search api filters', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'materio_search_api', + ); + + // Exported permission: 'use materio search api for breves'. + $permissions['use materio search api for breves'] = array( + 'name' => 'use materio search api for breves', + 'roles' => array( + 'Unverified' => 'Unverified', + 'Utilisateur' => 'Utilisateur', + ), + 'module' => 'materio_search_api', + ); + + // Exported permission: 'use materio search api viewmode selection'. + $permissions['use materio search api viewmode selection'] = array( + 'name' => 'use materio search api viewmode selection', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'Unverified' => 'Unverified', + 'Utilisateur' => 'Utilisateur', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'materio_search_api', + ); + + // Exported permission: 'use search_api_saved_searches'. + $permissions['use search_api_saved_searches'] = array( + 'name' => 'use search_api_saved_searches', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'search_api_saved_searches', + ); + + // Exported permission: 'view field_used_on_advanced_search'. + $permissions['view field_used_on_advanced_search'] = array( + 'name' => 'view field_used_on_advanced_search', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_used_on_advanced_search'. + $permissions['view own field_used_on_advanced_search'] = array( + 'name' => 'view own field_used_on_advanced_search', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + return $permissions; +} diff --git a/sites/all/modules/features/materio_search/materio_search.info b/sites/all/modules/features/materio_search/materio_search.info new file mode 100644 index 00000000..54a9214b --- /dev/null +++ b/sites/all/modules/features/materio_search/materio_search.info @@ -0,0 +1,53 @@ +name = Materio Search +core = 7.x +package = Materio +dependencies[] = ctools +dependencies[] = entity +dependencies[] = entity_translation_search_api +dependencies[] = features +dependencies[] = field_permissions +dependencies[] = materio_search_api +dependencies[] = materio_search_api_ajax +dependencies[] = rules +dependencies[] = search_api +dependencies[] = search_api_saved_searches +dependencies[] = search_api_solr +dependencies[] = strongarm +dependencies[] = taxonomy +features[ctools][] = strongarm:strongarm:1 +features[features_api][] = api:2 +features[rules_config][] = rules_update_node_on_term_save +features[search_api_index][] = breves_en +features[search_api_index][] = breves_fr +features[search_api_index][] = materiaux_breves +features[search_api_index][] = materiaux_breves_en +features[search_api_index][] = materiaux_breves_fr +features[search_api_index][] = referencement +features[search_api_index][] = referencement_en +features[search_api_index][] = referencement_fr +features[user_permission][] = administer materio_search_api +features[user_permission][] = administer search_api +features[user_permission][] = administer search_api_saved_searches +features[user_permission][] = create field_used_on_advanced_search +features[user_permission][] = edit field_used_on_advanced_search +features[user_permission][] = edit own field_used_on_advanced_search +features[user_permission][] = use materio search api +features[user_permission][] = use materio search api autocomplete +features[user_permission][] = use materio search api filters +features[user_permission][] = use materio search api for breves +features[user_permission][] = use materio search api viewmode selection +features[user_permission][] = use search_api_saved_searches +features[user_permission][] = view field_used_on_advanced_search +features[user_permission][] = view own field_used_on_advanced_search +features[variable][] = advancedsearchindex_en +features[variable][] = advancedsearchindex_fr +features[variable][] = advancedsearchvocs +features[variable][] = autocompletesearchindex +features[variable][] = autocompletesearchindex_en +features[variable][] = autocompletesearchindex_fr +features[variable][] = brevessearchindex_en +features[variable][] = brevessearchindex_fr +features[variable][] = googleanalytics_site_search +features[variable][] = mainsearchindex +features[variable][] = mainsearchindex_en +project path = sites/all/modules/features diff --git a/sites/all/modules/features/materio_search/materio_search.module b/sites/all/modules/features/materio_search/materio_search.module new file mode 100644 index 00000000..ad792108 --- /dev/null +++ b/sites/all/modules/features/materio_search/materio_search.module @@ -0,0 +1,7 @@ +disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'advancedsearchindex_en'; + $strongarm->value = 'ontologie_en'; + $export['advancedsearchindex_en'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'advancedsearchindex_fr'; + $strongarm->value = 'onthologie_fr'; + $export['advancedsearchindex_fr'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'advancedsearchvocs'; + $strongarm->value = array( + 15 => '15', + ); + $export['advancedsearchvocs'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'autocompletesearchindex'; + $strongarm->value = 'referencement'; + $export['autocompletesearchindex'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'autocompletesearchindex_en'; + $strongarm->value = 'referencement_en'; + $export['autocompletesearchindex_en'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'autocompletesearchindex_fr'; + $strongarm->value = 'referencement_fr'; + $export['autocompletesearchindex_fr'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'brevessearchindex_en'; + $strongarm->value = 'breves_en'; + $export['brevessearchindex_en'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'brevessearchindex_fr'; + $strongarm->value = 'breves_fr'; + $export['brevessearchindex_fr'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'googleanalytics_site_search'; + $strongarm->value = FALSE; + $export['googleanalytics_site_search'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'mainsearchindex'; + $strongarm->value = 'materiaux_breves'; + $export['mainsearchindex'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'mainsearchindex_en'; + $strongarm->value = 'materiaux_breves_en'; + $export['mainsearchindex_en'] = $strongarm; + + return $export; +} diff --git a/sites/all/modules/features/materio_subscriptions/materio_subscriptions.features.field_base.inc b/sites/all/modules/features/materio_subscriptions/materio_subscriptions.features.field_base.inc new file mode 100644 index 00000000..4c12c65f --- /dev/null +++ b/sites/all/modules/features/materio_subscriptions/materio_subscriptions.features.field_base.inc @@ -0,0 +1,185 @@ + 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array( + 0 => 'node', + ), + 'field_name' => 'body', + 'field_permissions' => array( + 'type' => 0, + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => 0, + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + ), + 'translatable' => 1, + 'type' => 'text_with_summary', + ); + + // Exported field_base: 'synonyms_synonym' + $field_bases['synonyms_synonym'] = array( + 'active' => 1, + 'cardinality' => -1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'synonyms_synonym', + 'field_permissions' => array( + 'type' => 0, + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => 0, + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + 'profile2_private' => FALSE, + ), + 'translatable' => 1, + 'type' => 'text', + ); + + // Exported field_base: 'taxonomy_catalog' + $field_bases['taxonomy_catalog'] = array( + 'active' => 1, + 'cardinality' => -1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'taxonomy_catalog', + 'foreign keys' => array( + 'tid' => array( + 'columns' => array( + 'tid' => 'tid', + ), + 'table' => 'taxonomy_term_data', + ), + ), + 'indexes' => array( + 'tid' => array( + 0 => 'tid', + ), + ), + 'locked' => 0, + 'module' => 'taxonomy', + 'settings' => array( + 'allowed_values' => array( + 0 => array( + 'vocabulary' => 'catalog', + 'parent' => 0, + ), + ), + 'entity_translation_sync' => FALSE, + 'options_list_callback' => 'i18n_taxonomy_allowed_values', + ), + 'translatable' => 0, + 'type' => 'taxonomy_term_reference', + ); + + // Exported field_base: 'uc_catalog_image' + $field_bases['uc_catalog_image'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'uc_catalog_image', + 'foreign keys' => array( + 'fid' => array( + 'columns' => array( + 'fid' => 'fid', + ), + 'table' => 'file_managed', + ), + ), + 'indexes' => array( + 'fid' => array( + 0 => 'fid', + ), + ), + 'locked' => 0, + 'module' => 'image', + 'settings' => array( + 'default_image' => 0, + 'entity_translation_sync' => array( + 0 => 'fid', + ), + 'uri_scheme' => 'public', + ), + 'translatable' => 0, + 'type' => 'image', + ); + + // Exported field_base: 'uc_product_image' + $field_bases['uc_product_image'] = array( + 'active' => 1, + 'cardinality' => -1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'uc_product_image', + 'foreign keys' => array( + 'fid' => array( + 'columns' => array( + 'fid' => 'fid', + ), + 'table' => 'file_managed', + ), + ), + 'indexes' => array( + 'fid' => array( + 0 => 'fid', + ), + ), + 'locked' => 0, + 'module' => 'image', + 'settings' => array( + 'default_image' => 0, + 'entity_translation_sync' => array( + 0 => 'fid', + ), + 'uri_scheme' => 'public', + ), + 'translatable' => 0, + 'type' => 'image', + ); + + return $field_bases; +} diff --git a/sites/all/modules/features/materio_subscriptions/materio_subscriptions.features.field_instance.inc b/sites/all/modules/features/materio_subscriptions/materio_subscriptions.features.field_instance.inc new file mode 100644 index 00000000..1fdacd06 --- /dev/null +++ b/sites/all/modules/features/materio_subscriptions/materio_subscriptions.features.field_instance.inc @@ -0,0 +1,360 @@ + 'product', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'text', + 'settings' => array( + 'trim_length' => 600, + ), + 'type' => 'text_summary_or_trimmed', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'body', + 'label' => 'Description', + 'required' => FALSE, + 'settings' => array( + 'display_summary' => TRUE, + 'entity_translation_sync' => FALSE, + 'text_processing' => 1, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'rows' => 20, + 'summary_rows' => 5, + ), + 'type' => 'text_textarea_with_summary', + 'weight' => 31, + ), + ); + + // Exported field_instance: 'node-product-taxonomy_catalog' + $field_instances['node-product-taxonomy_catalog'] = array( + 'bundle' => 'product', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'i18n_taxonomy', + 'settings' => array(), + 'type' => 'i18n_taxonomy_term_reference_link', + 'weight' => 2, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'taxonomy_catalog', + 'label' => 'Catalog', + 'required' => FALSE, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'options', + 'settings' => array( + 'content_taxonomy_opt_groups' => FALSE, + ), + 'type' => 'options_select', + 'weight' => 33, + ), + ); + + // Exported field_instance: 'node-product-uc_product_image' + $field_instances['node-product-uc_product_image'] = array( + 'bundle' => 'product', + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'bookmark' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardbig' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardfull' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardmedium' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'cardsmall' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'default' => array( + 'label' => 'above', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => '', + ), + 'type' => 'image', + 'weight' => 1, + ), + 'full' => array( + 'label' => 'hidden', + 'module' => 'uc_product', + 'settings' => array(), + 'type' => 'uc_product_image', + 'weight' => 0, + ), + 'print' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'hidden', + 'module' => 'uc_product', + 'settings' => array(), + 'type' => 'uc_product_image', + 'weight' => 1, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'uc_product_image', + 'label' => 'Image', + 'required' => FALSE, + 'settings' => array( + 'alt_field' => 0, + 'default_image' => 0, + 'entity_translation_sync' => FALSE, + 'file_directory' => '', + 'file_extensions' => 'png gif jpg jpeg', + 'max_filesize' => '', + 'max_resolution' => '', + 'min_resolution' => '', + 'title_field' => 0, + 'user_register_form' => FALSE, + ), + 'weight' => -2, + 'widget' => array( + 'module' => 'image', + 'settings' => array( + 'preview_image_style' => 'thumbnail', + 'progress_indicator' => 'throbber', + ), + 'type' => 'image_image', + 'weight' => 32, + ), + ); + + // Exported field_instance: 'taxonomy_term-catalog-synonyms_synonym' + $field_instances['taxonomy_term-catalog-synonyms_synonym'] = array( + 'bundle' => 'catalog', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + ), + 'entity_type' => 'taxonomy_term', + 'field_name' => 'synonyms_synonym', + 'label' => 'Synonyms for this term', + 'required' => FALSE, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => 31, + ), + ); + + // Exported field_instance: 'taxonomy_term-catalog-uc_catalog_image' + $field_instances['taxonomy_term-catalog-uc_catalog_image'] = array( + 'bundle' => 'catalog', + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'image', + 'settings' => array( + 'image_link' => '', + 'image_style' => '', + ), + 'type' => 'image', + 'weight' => 1, + ), + 'full' => array( + 'label' => 'hidden', + 'module' => 'image', + 'settings' => array( + 'image_link' => 'content', + 'image_style' => 'uc_category', + ), + 'type' => 'image', + 'weight' => 0, + ), + ), + 'entity_type' => 'taxonomy_term', + 'field_name' => 'uc_catalog_image', + 'label' => 'Image', + 'required' => FALSE, + 'settings' => array( + 'alt_field' => 0, + 'default_image' => 0, + 'entity_translation_sync' => FALSE, + 'file_directory' => '', + 'file_extensions' => 'png gif jpg jpeg', + 'max_filesize' => '', + 'max_resolution' => '', + 'min_resolution' => '', + 'title_field' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'module' => 'image', + 'settings' => array( + 'preview_image_style' => 'thumbnail', + 'progress_indicator' => 'throbber', + ), + 'type' => 'image_image', + 'weight' => 32, + ), + ); + + // Translatables + // Included for use with string extractors like potx. + t('Catalog'); + t('Description'); + t('Image'); + t('Synonyms for this term'); + + return $field_instances; +} diff --git a/sites/all/modules/features/materio_subscriptions/materio_subscriptions.features.inc b/sites/all/modules/features/materio_subscriptions/materio_subscriptions.features.inc new file mode 100644 index 00000000..06a8a72c --- /dev/null +++ b/sites/all/modules/features/materio_subscriptions/materio_subscriptions.features.inc @@ -0,0 +1,38 @@ + "1"); + } +} + +/** + * Implements hook_views_api(). + */ +function materio_subscriptions_views_api($module = NULL, $api = NULL) { + return array("api" => "3.0"); +} + +/** + * Implements hook_uc_product_default_classes(). + */ +function materio_subscriptions_uc_product_default_classes() { + $items = array( + 'product' => array( + 'name' => t('Produit'), + 'base' => 'uc_product', + 'description' => t('Utiliser les produits pour représenter les articles en vente sur le site web, incluant toute l\'information unique qui peut être attribuée à un numéro de modèle spécifique.'), + 'has_title' => '1', + 'title_label' => t('Nom'), + 'help' => '', + ), + ); + return $items; +} diff --git a/sites/all/modules/features/materio_subscriptions/materio_subscriptions.features.taxonomy.inc b/sites/all/modules/features/materio_subscriptions/materio_subscriptions.features.taxonomy.inc new file mode 100644 index 00000000..79c6f792 --- /dev/null +++ b/sites/all/modules/features/materio_subscriptions/materio_subscriptions.features.taxonomy.inc @@ -0,0 +1,23 @@ + array( + 'name' => 'Catalog', + 'machine_name' => 'catalog', + 'description' => '', + 'hierarchy' => 1, + 'module' => 'uc_catalog', + 'weight' => 0, + 'language' => 'und', + 'i18n_mode' => 0, + ), + ); +} diff --git a/sites/all/modules/features/materio_subscriptions/materio_subscriptions.features.user_permission.inc b/sites/all/modules/features/materio_subscriptions/materio_subscriptions.features.user_permission.inc new file mode 100644 index 00000000..eacb2170 --- /dev/null +++ b/sites/all/modules/features/materio_subscriptions/materio_subscriptions.features.user_permission.inc @@ -0,0 +1,325 @@ + 'access default UC roles expiration list', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'materio_admin', + ); + + // Exported permission: 'access to online payment'. + $permissions['access to online payment'] = array( + 'name' => 'access to online payment', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'Unverified' => 'Unverified', + 'Utilisateur' => 'Utilisateur', + 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester', + 'administrator' => 'administrator', + 'anonymous user' => 'anonymous user', + 'authenticated user' => 'authenticated user', + 'root' => 'root', + ), + 'module' => 'materio_user', + ); + + // Exported permission: 'administer attributes'. + $permissions['administer attributes'] = array( + 'name' => 'administer attributes', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'uc_attribute', + ); + + // Exported permission: 'administer cart links'. + $permissions['administer cart links'] = array( + 'name' => 'administer cart links', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'uc_cart_links', + ); + + // Exported permission: 'administer credit cards'. + $permissions['administer credit cards'] = array( + 'name' => 'administer credit cards', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'uc_credit', + ); + + // Exported permission: 'administer order workflow'. + $permissions['administer order workflow'] = array( + 'name' => 'administer order workflow', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'uc_order', + ); + + // Exported permission: 'administer own product features'. + $permissions['administer own product features'] = array( + 'name' => 'administer own product features', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'uc_product', + ); + + // Exported permission: 'administer product attributes'. + $permissions['administer product attributes'] = array( + 'name' => 'administer product attributes', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'uc_attribute', + ); + + // Exported permission: 'administer product classes'. + $permissions['administer product classes'] = array( + 'name' => 'administer product classes', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'uc_product', + ); + + // Exported permission: 'administer product features'. + $permissions['administer product features'] = array( + 'name' => 'administer product features', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'uc_product', + ); + + // Exported permission: 'administer product options'. + $permissions['administer product options'] = array( + 'name' => 'administer product options', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'uc_attribute', + ); + + // Exported permission: 'administer products'. + $permissions['administer products'] = array( + 'name' => 'administer products', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'uc_product', + ); + + // Exported permission: 'administer store'. + $permissions['administer store'] = array( + 'name' => 'administer store', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'uc_store', + ); + + // Exported permission: 'configure taxes'. + $permissions['configure taxes'] = array( + 'name' => 'configure taxes', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'uc_taxes', + ); + + // Exported permission: 'create orders'. + $permissions['create orders'] = array( + 'name' => 'create orders', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'uc_order', + ); + + // Exported permission: 'create product content'. + $permissions['create product content'] = array( + 'name' => 'create product content', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'node', + ); + + // Exported permission: 'delete any product content'. + $permissions['delete any product content'] = array( + 'name' => 'delete any product content', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'node', + ); + + // Exported permission: 'delete orders'. + $permissions['delete orders'] = array( + 'name' => 'delete orders', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'uc_order', + ); + + // Exported permission: 'delete own product content'. + $permissions['delete own product content'] = array( + 'name' => 'delete own product content', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'node', + ); + + // Exported permission: 'delete payments'. + $permissions['delete payments'] = array( + 'name' => 'delete payments', + 'roles' => array(), + 'module' => 'uc_payment', + ); + + // Exported permission: 'edit any product content'. + $permissions['edit any product content'] = array( + 'name' => 'edit any product content', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'node', + ); + + // Exported permission: 'edit orders'. + $permissions['edit orders'] = array( + 'name' => 'edit orders', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'uc_order', + ); + + // Exported permission: 'edit own product content'. + $permissions['edit own product content'] = array( + 'name' => 'edit own product content', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'node', + ); + + // Exported permission: 'manual payments'. + $permissions['manual payments'] = array( + 'name' => 'manual payments', + 'roles' => array(), + 'module' => 'uc_payment', + ); + + // Exported permission: 'process credit cards'. + $permissions['process credit cards'] = array( + 'name' => 'process credit cards', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'uc_credit', + ); + + // Exported permission: 'unconditionally delete orders'. + $permissions['unconditionally delete orders'] = array( + 'name' => 'unconditionally delete orders', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'uc_order', + ); + + // Exported permission: 'view all orders'. + $permissions['view all orders'] = array( + 'name' => 'view all orders', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'uc_order', + ); + + // Exported permission: 'view cart links report'. + $permissions['view cart links report'] = array( + 'name' => 'view cart links report', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'uc_cart_links', + ); + + // Exported permission: 'view cc details'. + $permissions['view cc details'] = array( + 'name' => 'view cc details', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'uc_credit', + ); + + // Exported permission: 'view customers'. + $permissions['view customers'] = array( + 'name' => 'view customers', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'uc_order', + ); + + // Exported permission: 'view own invoices'. + $permissions['view own invoices'] = array( + 'name' => 'view own invoices', + 'roles' => array(), + 'module' => 'uc_order', + ); + + // Exported permission: 'view own orders'. + $permissions['view own orders'] = array( + 'name' => 'view own orders', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'uc_order', + ); + + // Exported permission: 'view payments'. + $permissions['view payments'] = array( + 'name' => 'view payments', + 'roles' => array(), + 'module' => 'uc_payment', + ); + + // Exported permission: 'view reports'. + $permissions['view reports'] = array( + 'name' => 'view reports', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'uc_store', + ); + + return $permissions; +} diff --git a/sites/all/modules/features/materio_subscriptions/materio_subscriptions.features.user_role.inc b/sites/all/modules/features/materio_subscriptions/materio_subscriptions.features.user_role.inc new file mode 100644 index 00000000..e990df90 --- /dev/null +++ b/sites/all/modules/features/materio_subscriptions/materio_subscriptions.features.user_role.inc @@ -0,0 +1,32 @@ + 'Adhérent', + 'weight' => 6, + ); + + // Exported role: Premium. + $roles['Premium'] = array( + 'name' => 'Premium', + 'weight' => 7, + ); + + // Exported role: Utilisateur. + $roles['Utilisateur'] = array( + 'name' => 'Utilisateur', + 'weight' => 3, + ); + + return $roles; +} diff --git a/sites/all/modules/features/materio_subscriptions/materio_subscriptions.info b/sites/all/modules/features/materio_subscriptions/materio_subscriptions.info new file mode 100644 index 00000000..04ed312d --- /dev/null +++ b/sites/all/modules/features/materio_subscriptions/materio_subscriptions.info @@ -0,0 +1,269 @@ +name = Materio Subscriptions +description = susbcritpion ubercart system +core = 7.x +package = Materio +dependencies[] = ctools +dependencies[] = features +dependencies[] = i18n_taxonomy +dependencies[] = image +dependencies[] = materio_admin +dependencies[] = materio_user +dependencies[] = node +dependencies[] = options +dependencies[] = strongarm +dependencies[] = taxonomy +dependencies[] = text +dependencies[] = uc_attribute +dependencies[] = uc_cart_links +dependencies[] = uc_cmcic +dependencies[] = uc_credit +dependencies[] = uc_order +dependencies[] = uc_payment +dependencies[] = uc_payment_pack +dependencies[] = uc_product +dependencies[] = uc_store +dependencies[] = uc_taxes +dependencies[] = views +features[ctools][] = strongarm:strongarm:1 +features[ctools][] = views:views_default:3.0 +features[features_api][] = api:2 +features[field_base][] = body +features[field_base][] = synonyms_synonym +features[field_base][] = taxonomy_catalog +features[field_base][] = uc_catalog_image +features[field_base][] = uc_product_image +features[field_instance][] = node-product-body +features[field_instance][] = node-product-taxonomy_catalog +features[field_instance][] = node-product-uc_product_image +features[field_instance][] = taxonomy_term-catalog-synonyms_synonym +features[field_instance][] = taxonomy_term-catalog-uc_catalog_image +features[taxonomy][] = catalog +features[uc_product_classes][] = product +features[user_permission][] = access default UC roles expiration list +features[user_permission][] = access to online payment +features[user_permission][] = administer attributes +features[user_permission][] = administer cart links +features[user_permission][] = administer credit cards +features[user_permission][] = administer order workflow +features[user_permission][] = administer own product features +features[user_permission][] = administer product attributes +features[user_permission][] = administer product classes +features[user_permission][] = administer product features +features[user_permission][] = administer product options +features[user_permission][] = administer products +features[user_permission][] = administer store +features[user_permission][] = configure taxes +features[user_permission][] = create orders +features[user_permission][] = create product content +features[user_permission][] = delete any product content +features[user_permission][] = delete orders +features[user_permission][] = delete own product content +features[user_permission][] = delete payments +features[user_permission][] = edit any product content +features[user_permission][] = edit orders +features[user_permission][] = edit own product content +features[user_permission][] = manual payments +features[user_permission][] = process credit cards +features[user_permission][] = unconditionally delete orders +features[user_permission][] = view all orders +features[user_permission][] = view cart links report +features[user_permission][] = view cc details +features[user_permission][] = view customers +features[user_permission][] = view own invoices +features[user_permission][] = view own orders +features[user_permission][] = view payments +features[user_permission][] = view reports +features[user_role][] = Adhérent +features[user_role][] = Premium +features[user_role][] = Utilisateur +features[variable][] = date_format_uc_store +features[variable][] = uc_add_item_redirect +features[variable][] = uc_address_fields +features[variable][] = uc_address_fields_required +features[variable][] = uc_address_fields_weight +features[variable][] = uc_address_format_12 +features[variable][] = uc_address_format_124 +features[variable][] = uc_address_format_16 +features[variable][] = uc_address_format_20 +features[variable][] = uc_address_format_24 +features[variable][] = uc_address_format_250 +features[variable][] = uc_address_format_4 +features[variable][] = uc_address_format_784 +features[variable][] = uc_address_format_795 +features[variable][] = uc_address_format_796 +features[variable][] = uc_address_format_798 +features[variable][] = uc_address_format_8 +features[variable][] = uc_address_format_800 +features[variable][] = uc_address_format_804 +features[variable][] = uc_address_format_826 +features[variable][] = uc_address_format_840 +features[variable][] = uc_address_format_894 +features[variable][] = uc_attribute_option_price_format +features[variable][] = uc_cap_cart_form_enabled +features[variable][] = uc_cap_cart_form_weight +features[variable][] = uc_cap_coupon_auto_enabled +features[variable][] = uc_cap_coupon_auto_weight +features[variable][] = uc_cap_coupon_enabled +features[variable][] = uc_cap_coupon_weight +features[variable][] = uc_cap_uc_termsofservice_agreement_cart_enabled +features[variable][] = uc_cap_uc_termsofservice_agreement_cart_weight +features[variable][] = uc_cart_add_item_msg +features[variable][] = uc_cart_anon_duration +features[variable][] = uc_cart_anon_unit +features[variable][] = uc_cart_auth_duration +features[variable][] = uc_cart_auth_unit +features[variable][] = uc_cart_breadcrumb_text +features[variable][] = uc_cart_breadcrumb_url +features[variable][] = uc_cart_checkout_complete_page +features[variable][] = uc_cart_delivery_not_shippable +features[variable][] = uc_cart_email_validation +features[variable][] = uc_cart_mail_existing +features[variable][] = uc_cart_new_account_details +features[variable][] = uc_cart_new_account_name +features[variable][] = uc_cart_new_account_password +features[variable][] = uc_check_address +features[variable][] = uc_check_mailing_city +features[variable][] = uc_check_mailing_company +features[variable][] = uc_check_mailing_country +features[variable][] = uc_check_mailing_name +features[variable][] = uc_check_mailing_postal_code +features[variable][] = uc_check_mailing_street1 +features[variable][] = uc_check_mailing_street2 +features[variable][] = uc_check_mailing_zone +features[variable][] = uc_check_policy +features[variable][] = uc_checkout_anonymous +features[variable][] = uc_checkout_enabled +features[variable][] = uc_checkout_instructions +features[variable][] = uc_checkout_review_instructions +features[variable][] = uc_collapse_current_pane +features[variable][] = uc_continue_shopping_type +features[variable][] = uc_continue_shopping_url +features[variable][] = uc_continue_shopping_use_last_url +features[variable][] = uc_coupon_collapse_pane +features[variable][] = uc_coupon_pane_description +features[variable][] = uc_credit__active_tab +features[variable][] = uc_credit_accepted_types +features[variable][] = uc_credit_amex +features[variable][] = uc_credit_bank_enabled +features[variable][] = uc_credit_cvv_enabled +features[variable][] = uc_credit_discover +features[variable][] = uc_credit_encryption_path +features[variable][] = uc_credit_fail_message +features[variable][] = uc_credit_issue_enabled +features[variable][] = uc_credit_mastercard +features[variable][] = uc_credit_owner_enabled +features[variable][] = uc_credit_policy +features[variable][] = uc_credit_start_enabled +features[variable][] = uc_credit_type_enabled +features[variable][] = uc_credit_validate_numbers +features[variable][] = uc_credit_visa +features[variable][] = uc_currency_code +features[variable][] = uc_currency_dec +features[variable][] = uc_currency_prec +features[variable][] = uc_currency_sign +features[variable][] = uc_currency_thou +features[variable][] = uc_customer_list_address +features[variable][] = uc_field_city +features[variable][] = uc_field_company +features[variable][] = uc_field_country +features[variable][] = uc_field_first_name +features[variable][] = uc_field_last_name +features[variable][] = uc_field_phone +features[variable][] = uc_field_postal_code +features[variable][] = uc_field_street1 +features[variable][] = uc_field_street2 +features[variable][] = uc_field_zone +features[variable][] = uc_footer_message +features[variable][] = uc_image_product +features[variable][] = uc_length_format_cm +features[variable][] = uc_length_format_ft +features[variable][] = uc_length_format_in +features[variable][] = uc_length_format_mm +features[variable][] = uc_length_unit +features[variable][] = uc_minimum_subtotal +features[variable][] = uc_msg_continue_shopping +features[variable][] = uc_msg_order_existing_user +features[variable][] = uc_msg_order_logged_in +features[variable][] = uc_msg_order_new_user +features[variable][] = uc_msg_order_new_user_logged_in +features[variable][] = uc_msg_order_submit +features[variable][] = uc_new_customer_email +features[variable][] = uc_new_customer_login +features[variable][] = uc_new_customer_status_active +features[variable][] = uc_order_capitalize_addresses +features[variable][] = uc_pane_billing_enabled +features[variable][] = uc_pane_billing_weight +features[variable][] = uc_pane_cart_enabled +features[variable][] = uc_pane_cart_weight +features[variable][] = uc_pane_comments_enabled +features[variable][] = uc_pane_comments_weight +features[variable][] = uc_pane_coupon_automatic_enabled +features[variable][] = uc_pane_coupon_automatic_weight +features[variable][] = uc_pane_coupon_enabled +features[variable][] = uc_pane_coupon_weight +features[variable][] = uc_pane_customer_enabled +features[variable][] = uc_pane_customer_weight +features[variable][] = uc_pane_delivery_enabled +features[variable][] = uc_pane_delivery_weight +features[variable][] = uc_pane_payment_enabled +features[variable][] = uc_pane_payment_weight +features[variable][] = uc_pane_uc_termsofservice_agreement_checkout_enabled +features[variable][] = uc_pane_uc_termsofservice_agreement_checkout_weight +features[variable][] = uc_payment_credit_gateway +features[variable][] = uc_payment_method_check_checkout +features[variable][] = uc_payment_method_check_weight +features[variable][] = uc_payment_method_cmcic_checkout +features[variable][] = uc_payment_method_cmcic_weight +features[variable][] = uc_payment_method_cod_checkout +features[variable][] = uc_payment_method_cod_weight +features[variable][] = uc_payment_method_credit_checkout +features[variable][] = uc_payment_method_credit_weight +features[variable][] = uc_payment_method_free_order_checkout +features[variable][] = uc_payment_method_free_order_weight +features[variable][] = uc_payment_method_other_checkout +features[variable][] = uc_payment_method_other_weight +features[variable][] = uc_payment_show_order_total_preview +features[variable][] = uc_pg_test_gateway_cc_txn_type +features[variable][] = uc_pg_test_gateway_enabled +features[variable][] = uc_product_add_to_cart_qty +features[variable][] = uc_product_image_widget +features[variable][] = uc_product_update_node_view +features[variable][] = uc_reports_reported_statuses +features[variable][] = uc_reports_table_size +features[variable][] = uc_roles_default_by_quantity +features[variable][] = uc_roles_default_end_expiration +features[variable][] = uc_roles_default_end_time +features[variable][] = uc_roles_default_granularity +features[variable][] = uc_roles_default_length +features[variable][] = uc_roles_default_role +features[variable][] = uc_roles_default_role_choices +features[variable][] = uc_roles_default_show_expiration +features[variable][] = uc_roles_reminder_granularity +features[variable][] = uc_roles_reminder_length +features[variable][] = uc_sign_after_amount +features[variable][] = uc_store_city +features[variable][] = uc_store_country +features[variable][] = uc_store_email +features[variable][] = uc_store_email_include_name +features[variable][] = uc_store_fax +features[variable][] = uc_store_help_page +features[variable][] = uc_store_name +features[variable][] = uc_store_owner +features[variable][] = uc_store_phone +features[variable][] = uc_store_postal_code +features[variable][] = uc_store_street1 +features[variable][] = uc_store_street2 +features[variable][] = uc_store_zone +features[variable][] = uc_termsofservice_checkout_display +features[variable][] = uc_termsofservice_checkout_node +features[variable][] = uc_termsofservice_checkout_required +features[variable][] = uc_termsofservice_checkout_rules +features[variable][] = uc_termsofservice_checkout_title +features[variable][] = uc_use_next_buttons +features[variable][] = uc_weight_format_g +features[variable][] = uc_weight_format_kg +features[variable][] = uc_weight_format_lb +features[variable][] = uc_weight_format_oz +features[variable][] = uc_weight_unit +features_exclude[dependencies][uc_coupon] = uc_coupon +project path = sites/all/modules/features diff --git a/sites/all/modules/features/materio_subscriptions/materio_subscriptions.module b/sites/all/modules/features/materio_subscriptions/materio_subscriptions.module new file mode 100644 index 00000000..8b54cabd --- /dev/null +++ b/sites/all/modules/features/materio_subscriptions/materio_subscriptions.module @@ -0,0 +1,7 @@ +disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'date_format_uc_store'; + $strongarm->value = 'm/d/Y'; + $export['date_format_uc_store'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_address_fields'; + $strongarm->value = array( + 'first_name' => 1, + 'last_name' => 1, + 'company' => 1, + 'street1' => 1, + 'street2' => 1, + 'city' => 1, + 'zone' => 1, + 'country' => 1, + 'postal_code' => 1, + 'phone' => 1, + ); + $export['uc_address_fields'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_address_fields_required'; + $strongarm->value = array( + 'first_name' => 1, + 'last_name' => 1, + 'street1' => 1, + 'city' => 1, + 'country' => 1, + 'postal_code' => 1, + 'phone' => 1, + ); + $export['uc_address_fields_required'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_address_fields_weight'; + $strongarm->value = array( + 'first_name' => '-10', + 'last_name' => '-9', + 'company' => '-8', + 'street1' => '-7', + 'street2' => '-6', + 'city' => '-4', + 'zone' => '-3', + 'country' => '-2', + 'postal_code' => '-5', + 'phone' => '-1', + ); + $export['uc_address_fields_weight'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_address_format_12'; + $strongarm->value = '!company +!first_name !last_name +!street1 +!street2 +!city +!postal_code !zone_code +!country_name_if'; + $export['uc_address_format_12'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_address_format_124'; + $strongarm->value = '!company +!first_name !last_name +!street1 +!street2 +!city, !postal_code +!zone_name, !country_name'; + $export['uc_address_format_124'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_address_format_16'; + $strongarm->value = '!company +!first_name !last_name +!street1 +!street2 +!city, !postal_code +!country_name_if'; + $export['uc_address_format_16'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_address_format_20'; + $strongarm->value = '!company +!first_name !last_name +!street1 +!street2 +!city, !postal_code +!country_name_if'; + $export['uc_address_format_20'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_address_format_24'; + $strongarm->value = '!company +!first_name !last_name +!street1 +!street2 +!city, !zone_name !postal_code +!country_name_if'; + $export['uc_address_format_24'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_address_format_250'; + $strongarm->value = '!company +!first_name !last_name +!street1 +!street2 +!postal_code !city +!country_name_if'; + $export['uc_address_format_250'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_address_format_4'; + $strongarm->value = '!company +!first_name !last_name +!street1 +!street2 +!city, !zone_code !postal_code +!country_name_if'; + $export['uc_address_format_4'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_address_format_784'; + $strongarm->value = '!company +!first_name !last_name +!street1 +!street2 +!city, !zone_code +!country_name_if'; + $export['uc_address_format_784'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_address_format_795'; + $strongarm->value = '!company +!first_name !last_name +!street1 +!street2 +!city, !zone_name !postal_code +!country_name_if'; + $export['uc_address_format_795'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_address_format_796'; + $strongarm->value = '!company +!first_name !last_name +!street1 +!street2 +!city !postal_code +!country_name_if'; + $export['uc_address_format_796'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_address_format_798'; + $strongarm->value = '!company +!first_name !last_name +!street1 +!street2 +!city, !zone_name !postal_code +!country_name_if'; + $export['uc_address_format_798'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_address_format_8'; + $strongarm->value = '!company +!first_name !last_name +!street1 +!street2 +!city, !zone_name !postal_code +!country_name_if'; + $export['uc_address_format_8'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_address_format_800'; + $strongarm->value = '!company +!first_name !last_name +!street1 +!street2 +!city, !zone_name !postal_code +!country_name_if'; + $export['uc_address_format_800'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_address_format_804'; + $strongarm->value = '!country_name +!zone_name +!city +!postal_code +!street1 +!street2 +!company +!first_name !last_name'; + $export['uc_address_format_804'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_address_format_826'; + $strongarm->value = '!first_name !last_name +!company +!street1 +!street2 +!city +!postal_code +!country_name_if'; + $export['uc_address_format_826'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_address_format_840'; + $strongarm->value = '!company +!first_name !last_name +!street1 +!street2 +!city, !zone_code !postal_code +!country_name_if'; + $export['uc_address_format_840'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_address_format_894'; + $strongarm->value = '!company +!first_name !last_name +!street1 +!street2 +!city, !zone_name !postal_code +!country_name_if'; + $export['uc_address_format_894'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_add_item_redirect'; + $strongarm->value = 'cart/checkout'; + $export['uc_add_item_redirect'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_attribute_option_price_format'; + $strongarm->value = 'total'; + $export['uc_attribute_option_price_format'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cap_cart_form_enabled'; + $strongarm->value = 1; + $export['uc_cap_cart_form_enabled'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cap_cart_form_weight'; + $strongarm->value = '0'; + $export['uc_cap_cart_form_weight'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cap_coupon_auto_enabled'; + $strongarm->value = 1; + $export['uc_cap_coupon_auto_enabled'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cap_coupon_auto_weight'; + $strongarm->value = '1'; + $export['uc_cap_coupon_auto_weight'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cap_coupon_enabled'; + $strongarm->value = 1; + $export['uc_cap_coupon_enabled'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cap_coupon_weight'; + $strongarm->value = '1'; + $export['uc_cap_coupon_weight'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cap_uc_termsofservice_agreement_cart_enabled'; + $strongarm->value = 1; + $export['uc_cap_uc_termsofservice_agreement_cart_enabled'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cap_uc_termsofservice_agreement_cart_weight'; + $strongarm->value = '6'; + $export['uc_cap_uc_termsofservice_agreement_cart_weight'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cart_add_item_msg'; + $strongarm->value = 1; + $export['uc_cart_add_item_msg'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cart_anon_duration'; + $strongarm->value = '4'; + $export['uc_cart_anon_duration'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cart_anon_unit'; + $strongarm->value = 'hours'; + $export['uc_cart_anon_unit'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cart_auth_duration'; + $strongarm->value = '2'; + $export['uc_cart_auth_duration'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cart_auth_unit'; + $strongarm->value = 'weeks'; + $export['uc_cart_auth_unit'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cart_breadcrumb_text'; + $strongarm->value = ''; + $export['uc_cart_breadcrumb_text'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cart_breadcrumb_url'; + $strongarm->value = ''; + $export['uc_cart_breadcrumb_url'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cart_checkout_complete_page'; + $strongarm->value = ''; + $export['uc_cart_checkout_complete_page'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cart_delivery_not_shippable'; + $strongarm->value = 1; + $export['uc_cart_delivery_not_shippable'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cart_email_validation'; + $strongarm->value = 1; + $export['uc_cart_email_validation'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cart_mail_existing'; + $strongarm->value = 1; + $export['uc_cart_mail_existing'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cart_new_account_details'; + $strongarm->value = 'Optional. New customers may supply custom account details.
We will create these for you if no values are entered.'; + $export['uc_cart_new_account_details'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cart_new_account_name'; + $strongarm->value = 0; + $export['uc_cart_new_account_name'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_cart_new_account_password'; + $strongarm->value = 0; + $export['uc_cart_new_account_password'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_checkout_anonymous'; + $strongarm->value = 1; + $export['uc_checkout_anonymous'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_checkout_enabled'; + $strongarm->value = 1; + $export['uc_checkout_enabled'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_checkout_instructions'; + $strongarm->value = ''; + $export['uc_checkout_instructions'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_checkout_review_instructions'; + $strongarm->value = 'Your order is almost complete. Please review the details below and click \'Submit order\' if all the information is correct. You may use the \'Back\' button to make changes to your order if necessary.'; + $export['uc_checkout_review_instructions'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_check_address'; + $strongarm->value = array( + 'uc_check_mailing_company' => 'materiO\'', + 'uc_check_mailing_street1' => '74 rue du Faubourg Saint-Anthoine', + 'uc_check_mailing_street2' => '', + 'uc_check_mailing_city' => 'Paris', + 'uc_check_mailing_zone' => 0, + 'uc_check_mailing_country' => '250', + 'uc_check_mailing_postal_code' => '75012', + ); + $export['uc_check_address'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_check_mailing_city'; + $strongarm->value = 'Paris'; + $export['uc_check_mailing_city'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_check_mailing_company'; + $strongarm->value = 'materiO\''; + $export['uc_check_mailing_company'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_check_mailing_country'; + $strongarm->value = '250'; + $export['uc_check_mailing_country'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_check_mailing_name'; + $strongarm->value = ''; + $export['uc_check_mailing_name'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_check_mailing_postal_code'; + $strongarm->value = '75009'; + $export['uc_check_mailing_postal_code'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_check_mailing_street1'; + $strongarm->value = '8 rue chaptal'; + $export['uc_check_mailing_street1'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_check_mailing_street2'; + $strongarm->value = ''; + $export['uc_check_mailing_street2'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_check_mailing_zone'; + $strongarm->value = 0; + $export['uc_check_mailing_zone'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_check_policy'; + $strongarm->value = 'Your account will be activated when we recieve your payment.'; + $export['uc_check_policy'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_collapse_current_pane'; + $strongarm->value = 0; + $export['uc_collapse_current_pane'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_continue_shopping_type'; + $strongarm->value = 'none'; + $export['uc_continue_shopping_type'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_continue_shopping_url'; + $strongarm->value = ''; + $export['uc_continue_shopping_url'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_continue_shopping_use_last_url'; + $strongarm->value = 1; + $export['uc_continue_shopping_use_last_url'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_coupon_collapse_pane'; + $strongarm->value = 0; + $export['uc_coupon_collapse_pane'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_coupon_pane_description'; + $strongarm->value = 'Enter a coupon code for this order.'; + $export['uc_coupon_pane_description'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_credit_accepted_types'; + $strongarm->value = 'Visa +Mastercard +Discover +American Express'; + $export['uc_credit_accepted_types'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_credit_amex'; + $strongarm->value = 1; + $export['uc_credit_amex'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_credit_bank_enabled'; + $strongarm->value = 0; + $export['uc_credit_bank_enabled'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_credit_cvv_enabled'; + $strongarm->value = 1; + $export['uc_credit_cvv_enabled'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_credit_discover'; + $strongarm->value = 1; + $export['uc_credit_discover'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_credit_encryption_path'; + $strongarm->value = '/Users/bachir/Sites/materio/encrypt'; + $export['uc_credit_encryption_path'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_credit_fail_message'; + $strongarm->value = 'We were unable to process your credit card payment. Please verify your details and try again. If the problem persists, contact us to complete your order.'; + $export['uc_credit_fail_message'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_credit_issue_enabled'; + $strongarm->value = 1; + $export['uc_credit_issue_enabled'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_credit_mastercard'; + $strongarm->value = 1; + $export['uc_credit_mastercard'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_credit_owner_enabled'; + $strongarm->value = 1; + $export['uc_credit_owner_enabled'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_credit_policy'; + $strongarm->value = 'Your billing information must match the billing address for the credit card entered below or we will be unable to process your payment.'; + $export['uc_credit_policy'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_credit_start_enabled'; + $strongarm->value = 1; + $export['uc_credit_start_enabled'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_credit_type_enabled'; + $strongarm->value = 1; + $export['uc_credit_type_enabled'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_credit_validate_numbers'; + $strongarm->value = 1; + $export['uc_credit_validate_numbers'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_credit_visa'; + $strongarm->value = 1; + $export['uc_credit_visa'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_credit__active_tab'; + $strongarm->value = 'edit-test-gateway'; + $export['uc_credit__active_tab'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_currency_code'; + $strongarm->value = 'EUR'; + $export['uc_currency_code'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_currency_dec'; + $strongarm->value = '.'; + $export['uc_currency_dec'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_currency_prec'; + $strongarm->value = '2'; + $export['uc_currency_prec'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_currency_sign'; + $strongarm->value = '€'; + $export['uc_currency_sign'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_currency_thou'; + $strongarm->value = ','; + $export['uc_currency_thou'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_customer_list_address'; + $strongarm->value = 'billing'; + $export['uc_customer_list_address'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_field_city'; + $strongarm->value = 'City'; + $export['uc_field_city'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_field_company'; + $strongarm->value = 'Company'; + $export['uc_field_company'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_field_country'; + $strongarm->value = 'Pays'; + $export['uc_field_country'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_field_first_name'; + $strongarm->value = 'First name'; + $export['uc_field_first_name'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_field_last_name'; + $strongarm->value = 'Last name'; + $export['uc_field_last_name'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_field_phone'; + $strongarm->value = 'Phone number'; + $export['uc_field_phone'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_field_postal_code'; + $strongarm->value = 'Postal code'; + $export['uc_field_postal_code'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_field_street1'; + $strongarm->value = 'Street address'; + $export['uc_field_street1'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_field_street2'; + $strongarm->value = ''; + $export['uc_field_street2'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_field_zone'; + $strongarm->value = 'State/Province'; + $export['uc_field_zone'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_footer_message'; + $strongarm->value = 'none'; + $export['uc_footer_message'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_image_product'; + $strongarm->value = 'uc_product_image'; + $export['uc_image_product'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_length_format_cm'; + $strongarm->value = '!value cm'; + $export['uc_length_format_cm'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_length_format_ft'; + $strongarm->value = '!value ft'; + $export['uc_length_format_ft'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_length_format_in'; + $strongarm->value = '!value in'; + $export['uc_length_format_in'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_length_format_mm'; + $strongarm->value = '!value mm'; + $export['uc_length_format_mm'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_length_unit'; + $strongarm->value = 'cm'; + $export['uc_length_unit'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_minimum_subtotal'; + $strongarm->value = '1.00'; + $export['uc_minimum_subtotal'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_msg_continue_shopping'; + $strongarm->value = 'Return to the front page.'; + $export['uc_msg_continue_shopping'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_msg_order_existing_user'; + $strongarm->value = 'Thank you for subscribing to [store:name].'; + $export['uc_msg_order_existing_user'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_msg_order_logged_in'; + $strongarm->value = 'Thank you for subscribing to [store:name].'; + $export['uc_msg_order_logged_in'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_msg_order_new_user'; + $strongarm->value = 'Thank you for subscribing to [store:name]. A new account has been created for you here. + +Login to your new account using the following information: + +Username: !new_username +Password: !new_password'; + $export['uc_msg_order_new_user'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_msg_order_new_user_logged_in'; + $strongarm->value = 'Thank you for subscribing to [store:name]. A new account has been created for you here. + +Your password and further instructions have been sent to your e-mail address. + +For your convenience, you are already logged in with your newly created account. + +Return to the front page.'; + $export['uc_msg_order_new_user_logged_in'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_msg_order_submit'; + $strongarm->value = 'Your order is complete!'; + $export['uc_msg_order_submit'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_new_customer_email'; + $strongarm->value = 1; + $export['uc_new_customer_email'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_new_customer_login'; + $strongarm->value = 1; + $export['uc_new_customer_login'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_new_customer_status_active'; + $strongarm->value = 1; + $export['uc_new_customer_status_active'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_order_capitalize_addresses'; + $strongarm->value = 1; + $export['uc_order_capitalize_addresses'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_pane_billing_enabled'; + $strongarm->value = 1; + $export['uc_pane_billing_enabled'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_pane_billing_weight'; + $strongarm->value = '4'; + $export['uc_pane_billing_weight'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_pane_cart_enabled'; + $strongarm->value = 1; + $export['uc_pane_cart_enabled'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_pane_cart_weight'; + $strongarm->value = '1'; + $export['uc_pane_cart_weight'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_pane_comments_enabled'; + $strongarm->value = 0; + $export['uc_pane_comments_enabled'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_pane_comments_weight'; + $strongarm->value = '7'; + $export['uc_pane_comments_weight'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_pane_coupon_automatic_enabled'; + $strongarm->value = 1; + $export['uc_pane_coupon_automatic_enabled'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_pane_coupon_automatic_weight'; + $strongarm->value = '5'; + $export['uc_pane_coupon_automatic_weight'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_pane_coupon_enabled'; + $strongarm->value = 1; + $export['uc_pane_coupon_enabled'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_pane_coupon_weight'; + $strongarm->value = '5'; + $export['uc_pane_coupon_weight'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_pane_customer_enabled'; + $strongarm->value = 1; + $export['uc_pane_customer_enabled'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_pane_customer_weight'; + $strongarm->value = '2'; + $export['uc_pane_customer_weight'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_pane_delivery_enabled'; + $strongarm->value = 0; + $export['uc_pane_delivery_enabled'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_pane_delivery_weight'; + $strongarm->value = '3'; + $export['uc_pane_delivery_weight'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_pane_payment_enabled'; + $strongarm->value = 1; + $export['uc_pane_payment_enabled'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_pane_payment_weight'; + $strongarm->value = '6'; + $export['uc_pane_payment_weight'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_pane_uc_termsofservice_agreement_checkout_enabled'; + $strongarm->value = 1; + $export['uc_pane_uc_termsofservice_agreement_checkout_enabled'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_pane_uc_termsofservice_agreement_checkout_weight'; + $strongarm->value = '6'; + $export['uc_pane_uc_termsofservice_agreement_checkout_weight'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_payment_credit_gateway'; + $strongarm->value = 'test_gateway'; + $export['uc_payment_credit_gateway'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_payment_method_check_checkout'; + $strongarm->value = 1; + $export['uc_payment_method_check_checkout'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_payment_method_check_weight'; + $strongarm->value = '-9'; + $export['uc_payment_method_check_weight'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_payment_method_cmcic_checkout'; + $strongarm->value = 1; + $export['uc_payment_method_cmcic_checkout'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_payment_method_cmcic_weight'; + $strongarm->value = '-10'; + $export['uc_payment_method_cmcic_weight'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_payment_method_cod_checkout'; + $strongarm->value = 0; + $export['uc_payment_method_cod_checkout'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_payment_method_cod_weight'; + $strongarm->value = '-7'; + $export['uc_payment_method_cod_weight'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_payment_method_credit_checkout'; + $strongarm->value = 0; + $export['uc_payment_method_credit_checkout'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_payment_method_credit_weight'; + $strongarm->value = '-6'; + $export['uc_payment_method_credit_weight'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_payment_method_free_order_checkout'; + $strongarm->value = 0; + $export['uc_payment_method_free_order_checkout'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_payment_method_free_order_weight'; + $strongarm->value = '-8'; + $export['uc_payment_method_free_order_weight'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_payment_method_other_checkout'; + $strongarm->value = 0; + $export['uc_payment_method_other_checkout'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_payment_method_other_weight'; + $strongarm->value = '-5'; + $export['uc_payment_method_other_weight'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_payment_show_order_total_preview'; + $strongarm->value = 1; + $export['uc_payment_show_order_total_preview'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_pg_test_gateway_cc_txn_type'; + $strongarm->value = 'auth_capture'; + $export['uc_pg_test_gateway_cc_txn_type'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_pg_test_gateway_enabled'; + $strongarm->value = 1; + $export['uc_pg_test_gateway_enabled'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_product_add_to_cart_qty'; + $strongarm->value = 0; + $export['uc_product_add_to_cart_qty'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_product_image_widget'; + $strongarm->value = ''; + $export['uc_product_image_widget'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_product_update_node_view'; + $strongarm->value = 0; + $export['uc_product_update_node_view'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_reports_reported_statuses'; + $strongarm->value = array( + 'abandoned' => 'abandoned', + 'canceled' => 'canceled', + 'in_checkout' => 'in_checkout', + 'pending' => 'pending', + 'processing' => 'processing', + 'payment_received' => 'payment_received', + 'completed' => 'completed', + ); + $export['uc_reports_reported_statuses'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_reports_table_size'; + $strongarm->value = '30'; + $export['uc_reports_table_size'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_roles_default_by_quantity'; + $strongarm->value = 0; + $export['uc_roles_default_by_quantity'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_roles_default_end_expiration'; + $strongarm->value = 'rel'; + $export['uc_roles_default_end_expiration'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_roles_default_end_time'; + $strongarm->value = array( + 'month' => '12', + 'day' => '5', + 'year' => '2012', + ); + $export['uc_roles_default_end_time'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_roles_default_granularity'; + $strongarm->value = 'year'; + $export['uc_roles_default_granularity'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_roles_default_length'; + $strongarm->value = '1'; + $export['uc_roles_default_length'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_roles_default_role'; + $strongarm->value = '6'; + $export['uc_roles_default_role'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_roles_default_role_choices'; + $strongarm->value = array( + 10 => '10', + 6 => '6', + 8 => '8', + 9 => 0, + 7 => 0, + 11 => 0, + 5 => 0, + 3 => 0, + 4 => 0, + ); + $export['uc_roles_default_role_choices'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_roles_default_show_expiration'; + $strongarm->value = 1; + $export['uc_roles_default_show_expiration'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_roles_reminder_granularity'; + $strongarm->value = 'month'; + $export['uc_roles_reminder_granularity'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_roles_reminder_length'; + $strongarm->value = '1'; + $export['uc_roles_reminder_length'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_sign_after_amount'; + $strongarm->value = 1; + $export['uc_sign_after_amount'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_store_city'; + $strongarm->value = 'Paris'; + $export['uc_store_city'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_store_country'; + $strongarm->value = '250'; + $export['uc_store_country'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_store_email'; + $strongarm->value = 'info@materio.com'; + $export['uc_store_email'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_store_email_include_name'; + $strongarm->value = 1; + $export['uc_store_email_include_name'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_store_fax'; + $strongarm->value = ''; + $export['uc_store_fax'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_store_help_page'; + $strongarm->value = ''; + $export['uc_store_help_page'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_store_name'; + $strongarm->value = 'materiO’'; + $export['uc_store_name'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_store_owner'; + $strongarm->value = ''; + $export['uc_store_owner'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_store_phone'; + $strongarm->value = ''; + $export['uc_store_phone'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_store_postal_code'; + $strongarm->value = '75012'; + $export['uc_store_postal_code'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_store_street1'; + $strongarm->value = '74 rue du faubourg saint antoine'; + $export['uc_store_street1'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_store_street2'; + $strongarm->value = ''; + $export['uc_store_street2'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_store_zone'; + $strongarm->value = 0; + $export['uc_store_zone'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_termsofservice_checkout_display'; + $strongarm->value = 'teaser'; + $export['uc_termsofservice_checkout_display'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_termsofservice_checkout_node'; + $strongarm->value = ''; + $export['uc_termsofservice_checkout_node'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_termsofservice_checkout_required'; + $strongarm->value = 0; + $export['uc_termsofservice_checkout_required'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_termsofservice_checkout_rules'; + $strongarm->value = 0; + $export['uc_termsofservice_checkout_rules'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_termsofservice_checkout_title'; + $strongarm->value = '1'; + $export['uc_termsofservice_checkout_title'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_use_next_buttons'; + $strongarm->value = 0; + $export['uc_use_next_buttons'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_weight_format_g'; + $strongarm->value = '!value g'; + $export['uc_weight_format_g'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_weight_format_kg'; + $strongarm->value = '!value kg'; + $export['uc_weight_format_kg'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_weight_format_lb'; + $strongarm->value = '!value lb'; + $export['uc_weight_format_lb'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_weight_format_oz'; + $strongarm->value = '!value oz'; + $export['uc_weight_format_oz'] = $strongarm; + + $strongarm = new stdClass(); + $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */ + $strongarm->api_version = 1; + $strongarm->name = 'uc_weight_unit'; + $strongarm->value = 'kg'; + $export['uc_weight_unit'] = $strongarm; + + return $export; +} diff --git a/sites/all/modules/features/materio_user_import/materio_user_import.features.user_permission.inc b/sites/all/modules/features/materio_user_import/materio_user_import.features.user_permission.inc new file mode 100644 index 00000000..3aef3061 --- /dev/null +++ b/sites/all/modules/features/materio_user_import/materio_user_import.features.user_permission.inc @@ -0,0 +1,21 @@ + 'import users', + 'roles' => array(), + 'module' => 'user_import', + ); + + return $permissions; +} diff --git a/sites/all/modules/features/materio_user_import/materio_user_import.info b/sites/all/modules/features/materio_user_import/materio_user_import.info new file mode 100644 index 00000000..0de270b2 --- /dev/null +++ b/sites/all/modules/features/materio_user_import/materio_user_import.info @@ -0,0 +1,9 @@ +name = Materio User Import +core = 7.x +package = Materio +dependencies[] = features +dependencies[] = user_import +dependencies[] = user_import_delete +features[features_api][] = api:2 +features[user_permission][] = import users +project path = sites/all/modules/features diff --git a/sites/all/modules/features/materio_user_import/materio_user_import.module b/sites/all/modules/features/materio_user_import/materio_user_import.module new file mode 100644 index 00000000..44788b07 --- /dev/null +++ b/sites/all/modules/features/materio_user_import/materio_user_import.module @@ -0,0 +1,5 @@ + array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_adresse', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => '0', + 'module' => 'addressfield', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => 1, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => '0', + 'type' => 'addressfield', + ), + 'field_instance' => array( + 'bundle' => 'adherent', + 'default_value' => array( + 0 => array( + 'element_key' => 'profile2|adherent|field_adresse|und|0', + 'thoroughfare' => '', + 'premise' => '', + 'postal_code' => '', + 'locality' => '', + 'country' => 'FR', + ), + ), + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'addressfield', + 'settings' => array( + 'format_handlers' => array( + 0 => 'address', + ), + 'use_widget_handlers' => 1, + ), + 'type' => 'addressfield_default', + 'weight' => 5, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_adresse', + 'label' => 'Adresse', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'addressfield', + 'settings' => array( + 'available_countries' => array(), + 'format_handlers' => array( + 'address' => 'address', + 'address-hide-country' => 0, + 'organisation' => 0, + 'name-full' => 0, + 'name-oneline' => 0, + ), + ), + 'type' => 'addressfield_standard', + 'weight' => '11', + ), + ), + ); + + // Exported field: 'profile2-adherent-field_employee'. + $fields['profile2-adherent-field_employee'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_employee', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => '0', + 'module' => 'number', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => 1, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => '0', + 'type' => 'number_integer', + ), + 'field_instance' => array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'number', + 'settings' => array( + 'decimal_separator' => '.', + 'prefix_suffix' => TRUE, + 'scale' => 0, + 'thousand_separator' => ' ', + ), + 'type' => 'number_integer', + 'weight' => 10, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_employee', + 'label' => 'Employee', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max' => '', + 'min' => '1', + 'prefix' => '', + 'suffix' => '', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'number', + 'settings' => array(), + 'type' => 'number', + 'weight' => '7', + ), + ), + ); + + // Exported field: 'profile2-adherent-field_first_name'. + $fields['profile2-adherent-field_first_name'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_first_name', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => '255', + 'profile2_private' => 0, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => '0', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 1, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_first_name', + 'label' => 'First name', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => '0', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => '60', + ), + 'type' => 'text_textfield', + 'weight' => '1', + ), + ), + ); + + // Exported field: 'profile2-adherent-field_naf'. + $fields['profile2-adherent-field_naf'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_naf', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => '255', + 'profile2_private' => 1, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => '0', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 11, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_naf', + 'label' => 'NAF', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => '0', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => '60', + ), + 'type' => 'text_textfield', + 'weight' => '8', + ), + ), + ); + + // Exported field: 'profile2-adherent-field_name'. + $fields['profile2-adherent-field_name'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_name', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => '255', + 'profile2_private' => 0, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => '0', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 2, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_name', + 'label' => 'Name', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => '0', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => '60', + ), + 'type' => 'text_textfield', + 'weight' => '2', + ), + ), + ); + + // Exported field: 'profile2-adherent-field_organization'. + $fields['profile2-adherent-field_organization'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_organization', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => '255', + 'profile2_private' => 1, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => '0', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 6, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_organization', + 'label' => 'Organization', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => '0', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => '60', + ), + 'type' => 'text_textfield', + 'weight' => '3', + ), + ), + ); + + // Exported field: 'profile2-adherent-field_private_name_title'. + $fields['profile2-adherent-field_private_name_title'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_private_name_title', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array(), + 'indexes' => array( + 'value' => array( + 0 => 'value', + ), + ), + 'locked' => '0', + 'module' => 'list', + 'settings' => array( + 'allowed_values' => array( + 'MR' => 'Mister', + 'MS' => 'Misses', + 'MI' => 'Miss', + 'DO' => 'Doctor', + 'PR' => 'Professor', + ), + 'allowed_values_function' => '', + 'entity_translation_sync' => FALSE, + 'profile2_private' => 1, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => '0', + 'type' => 'list_text', + ), + 'field_instance' => array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'list', + 'settings' => array(), + 'type' => 'list_default', + 'weight' => 4, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_private_name_title', + 'label' => 'Titre', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'options', + 'settings' => array(), + 'type' => 'options_select', + 'weight' => 0, + ), + ), + ); + + // Exported field: 'profile2-adherent-field_private_phone'. + $fields['profile2-adherent-field_private_phone'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_private_phone', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => '0', + 'module' => 'cck_phone', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => 1, + 'size' => '30', + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => '0', + 'type' => 'phone_number', + ), + 'field_instance' => array( + 'bundle' => 'adherent', + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'cck_phone', + 'settings' => array(), + 'type' => 'global_phone_number', + 'weight' => 3, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_private_phone', + 'label' => 'Phone', + 'required' => 0, + 'settings' => array( + 'all_country_codes' => 1, + 'country_code_position' => 'after', + 'country_codes' => array( + 'country_selection' => array( + 'ad' => 0, + 'ae' => 0, + 'af' => 0, + 'ag' => 0, + 'ai' => 0, + 'al' => 0, + 'am' => 0, + 'an' => 0, + 'ao' => 0, + 'ar' => 0, + 'as' => 0, + 'at' => 0, + 'au' => 0, + 'aw' => 0, + 'az' => 0, + 'ba' => 0, + 'bb' => 0, + 'bd' => 0, + 'be' => 0, + 'bf' => 0, + 'bg' => 0, + 'bh' => 0, + 'bi' => 0, + 'bj' => 0, + 'bm' => 0, + 'bn' => 0, + 'bo' => 0, + 'br' => 0, + 'bs' => 0, + 'bt' => 0, + 'bw' => 0, + 'by' => 0, + 'bz' => 0, + 'ca' => 0, + 'cc' => 0, + 'cd' => 0, + 'cf' => 0, + 'cg' => 0, + 'ch' => 0, + 'ci' => 0, + 'ck' => 0, + 'cl' => 0, + 'cm' => 0, + 'cn' => 0, + 'co' => 0, + 'cr' => 0, + 'cu' => 0, + 'cv' => 0, + 'cx' => 0, + 'cy' => 0, + 'cz' => 0, + 'de' => 0, + 'dj' => 0, + 'dk' => 0, + 'dm' => 0, + 'do' => 0, + 'dz' => 0, + 'ec' => 0, + 'ee' => 0, + 'eg' => 0, + 'er' => 0, + 'es' => 0, + 'et' => 0, + 'fi' => 0, + 'fj' => 0, + 'fk' => 0, + 'fm' => 0, + 'fo' => 0, + 'fr' => 0, + 'ga' => 0, + 'gb' => 0, + 'gd' => 0, + 'ge' => 0, + 'gf' => 0, + 'gh' => 0, + 'gi' => 0, + 'gl' => 0, + 'gm' => 0, + 'gn' => 0, + 'gp' => 0, + 'gq' => 0, + 'gr' => 0, + 'gt' => 0, + 'gu' => 0, + 'gw' => 0, + 'gy' => 0, + 'hk' => 0, + 'hn' => 0, + 'hr' => 0, + 'ht' => 0, + 'hu' => 0, + 'id' => 0, + 'ie' => 0, + 'il' => 0, + 'in' => 0, + 'io' => 0, + 'iq' => 0, + 'ir' => 0, + 'is' => 0, + 'it' => 0, + 'jm' => 0, + 'jo' => 0, + 'jp' => 0, + 'ke' => 0, + 'kg' => 0, + 'kh' => 0, + 'ki' => 0, + 'km' => 0, + 'kn' => 0, + 'kp' => 0, + 'kr' => 0, + 'kw' => 0, + 'ky' => 0, + 'kz' => 0, + 'la' => 0, + 'lb' => 0, + 'lc' => 0, + 'li' => 0, + 'lk' => 0, + 'lr' => 0, + 'ls' => 0, + 'lt' => 0, + 'lu' => 0, + 'lv' => 0, + 'ly' => 0, + 'ma' => 0, + 'mc' => 0, + 'md' => 0, + 'me' => 0, + 'mg' => 0, + 'mh' => 0, + 'mk' => 0, + 'ml' => 0, + 'mm' => 0, + 'mn' => 0, + 'mo' => 0, + 'mp' => 0, + 'mq' => 0, + 'mr' => 0, + 'ms' => 0, + 'mt' => 0, + 'mu' => 0, + 'mv' => 0, + 'mw' => 0, + 'mx' => 0, + 'my' => 0, + 'mz' => 0, + 'na' => 0, + 'nc' => 0, + 'ne' => 0, + 'nf' => 0, + 'ng' => 0, + 'ni' => 0, + 'nl' => 0, + 'no' => 0, + 'np' => 0, + 'nr' => 0, + 'nu' => 0, + 'nz' => 0, + 'om' => 0, + 'pa' => 0, + 'pe' => 0, + 'pf' => 0, + 'pg' => 0, + 'ph' => 0, + 'pk' => 0, + 'pl' => 0, + 'pm' => 0, + 'pr' => 0, + 'ps' => 0, + 'pt' => 0, + 'pw' => 0, + 'py' => 0, + 'qa' => 0, + 'ro' => 0, + 'rs' => 0, + 'ru' => 0, + 'rw' => 0, + 'sa' => 0, + 'sb' => 0, + 'sc' => 0, + 'sd' => 0, + 'se' => 0, + 'sg' => 0, + 'sh' => 0, + 'si' => 0, + 'sk' => 0, + 'sl' => 0, + 'sm' => 0, + 'sn' => 0, + 'so' => 0, + 'sr' => 0, + 'ss' => 0, + 'st' => 0, + 'sv' => 0, + 'sy' => 0, + 'sz' => 0, + 'tc' => 0, + 'td' => 0, + 'tg' => 0, + 'th' => 0, + 'tj' => 0, + 'tk' => 0, + 'tm' => 0, + 'tn' => 0, + 'to' => 0, + 'tp' => 0, + 'tr' => 0, + 'tt' => 0, + 'tv' => 0, + 'tw' => 0, + 'tz' => 0, + 'ua' => 0, + 'ug' => 0, + 'us' => 0, + 'uy' => 0, + 'uz' => 0, + 'va' => 0, + 'vc' => 0, + 've' => 0, + 'vg' => 0, + 'vi' => 0, + 'vn' => 0, + 'vu' => 0, + 'wf' => 0, + 'ws' => 0, + 'ye' => 0, + 'yt' => 0, + 'za' => 0, + 'zm' => 0, + 'zw' => 0, + ), + 'hide_single_cc' => 0, + ), + 'default_country' => 'fr', + 'enable_country_level_validation' => 1, + 'enable_default_country' => 1, + 'enable_extension' => 0, + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'cck_phone', + 'settings' => array( + 'size' => 15, + ), + 'type' => 'phone_number', + 'weight' => '10', + ), + ), + ); + + // Exported field: 'profile2-adherent-field_private_quality'. + $fields['profile2-adherent-field_private_quality'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_private_quality', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => '255', + 'profile2_private' => 0, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => '1', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_private_quality', + 'label' => 'Qualité', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => '0', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => '60', + ), + 'type' => 'text_textfield', + 'weight' => '4', + ), + ), + ); + + // Exported field: 'profile2-adherent-field_service'. + $fields['profile2-adherent-field_service'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_service', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => '255', + 'profile2_private' => 1, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => '0', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 8, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_service', + 'label' => 'service', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => '0', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => '60', + ), + 'type' => 'text_textfield', + 'weight' => '5', + ), + ), + ); + + // Exported field: 'profile2-adherent-field_siret'. + $fields['profile2-adherent-field_siret'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_siret', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => '255', + 'profile2_private' => 0, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => '0', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 12, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_siret', + 'label' => 'SIRET', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => '0', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => '60', + ), + 'type' => 'text_textfield', + 'weight' => '9', + ), + ), + ); + + // Exported field: 'profile2-adherent-field_user_website'. + $fields['profile2-adherent-field_user_website'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_user_website', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => '0', + 'module' => 'link', + 'settings' => array( + 'attributes' => array( + 'class' => '', + 'rel' => '', + 'target' => 'default', + ), + 'display' => array( + 'url_cutoff' => 80, + ), + 'enable_tokens' => 1, + 'entity_translation_sync' => FALSE, + 'profile2_private' => 1, + 'title' => 'optional', + 'title_maxlength' => 128, + 'title_value' => '', + 'url' => 0, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => '0', + 'type' => 'link_field', + ), + 'field_instance' => array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_default', + 'weight' => 7, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_user_website', + 'label' => 'Website', + 'required' => 0, + 'settings' => array( + 'attributes' => array( + 'class' => '', + 'configurable_title' => 0, + 'rel' => '', + 'target' => '_blank', + 'title' => '', + ), + 'display' => array( + 'url_cutoff' => '80', + ), + 'enable_tokens' => 1, + 'entity_translation_sync' => FALSE, + 'rel_remove' => 'default', + 'title' => 'none', + 'title_maxlength' => '128', + 'title_value' => 'website', + 'url' => 0, + 'user_register_form' => FALSE, + 'validate_url' => 1, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_field', + 'weight' => '12', + ), + ), + ); + + // Exported field: 'profile2-contact_operationnel-field_memo'. + $fields['profile2-contact_operationnel-field_memo'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_memo', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => TRUE, + ), + 'translatable' => '0', + 'type' => 'text_long', + ), + 'field_instance' => array( + 'bundle' => 'contact_operationnel', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 21, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_memo', + 'label' => 'Mémo', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => '0', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'rows' => '10', + ), + 'type' => 'text_textarea', + 'weight' => '6', + ), + ), + ); + + // Exported field: 'profile2-contact_operationnel-field_private_email'. + $fields['profile2-contact_operationnel-field_private_email'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_private_email', + 'field_permissions' => array( + 'type' => '0', + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => '0', + 'module' => 'email', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => 1, + ), + 'translatable' => '0', + 'type' => 'email', + ), + 'field_instance' => array( + 'bundle' => 'contact_operationnel', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'email', + 'settings' => array(), + 'type' => 'email_default', + 'weight' => 24, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_private_email', + 'label' => 'Email', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'email', + 'settings' => array( + 'size' => '30', + ), + 'type' => 'email_textfield', + 'weight' => '3', + ), + ), + ); + + // Exported field: 'profile2-contact_operationnel-field_private_name'. + $fields['profile2-contact_operationnel-field_private_name'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_private_name', + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => '255', + 'profile2_private' => 1, + ), + 'translatable' => '0', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'contact_operationnel', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 16, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_private_name', + 'label' => 'Name', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => '0', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => '60', + ), + 'type' => 'text_textfield', + 'weight' => '1', + ), + ), + ); + + // Exported field: 'profile2-contact_operationnel-field_private_name_title'. + $fields['profile2-contact_operationnel-field_private_name_title'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_private_name_title', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array(), + 'indexes' => array( + 'value' => array( + 0 => 'value', + ), + ), + 'locked' => '0', + 'module' => 'list', + 'settings' => array( + 'allowed_values' => array( + 'MR' => 'Mister', + 'MS' => 'Misses', + 'MI' => 'Miss', + 'DO' => 'Doctor', + 'PR' => 'Professor', + ), + 'allowed_values_function' => '', + 'entity_translation_sync' => FALSE, + 'profile2_private' => 1, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => '0', + 'type' => 'list_text', + ), + 'field_instance' => array( + 'bundle' => 'contact_operationnel', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'list', + 'settings' => array(), + 'type' => 'list_default', + 'weight' => 15, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_private_name_title', + 'label' => 'Title', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'options', + 'settings' => array(), + 'type' => 'options_select', + 'weight' => '0', + ), + ), + ); + + // Exported field: 'profile2-contact_operationnel-field_private_phone'. + $fields['profile2-contact_operationnel-field_private_phone'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_private_phone', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => '0', + 'module' => 'cck_phone', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => 1, + 'size' => '30', + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => '0', + 'type' => 'phone_number', + ), + 'field_instance' => array( + 'bundle' => 'contact_operationnel', + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'cck_phone', + 'settings' => array(), + 'type' => 'global_phone_number', + 'weight' => 20, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_private_phone', + 'label' => 'Phone', + 'required' => 0, + 'settings' => array( + 'all_country_codes' => 1, + 'country_code_position' => 'after', + 'country_codes' => array( + 'country_selection' => array( + 'ad' => 0, + 'ae' => 0, + 'af' => 0, + 'ag' => 0, + 'ai' => 0, + 'al' => 0, + 'am' => 0, + 'an' => 0, + 'ao' => 0, + 'ar' => 0, + 'as' => 0, + 'at' => 0, + 'au' => 0, + 'aw' => 0, + 'az' => 0, + 'ba' => 0, + 'bb' => 0, + 'bd' => 0, + 'be' => 0, + 'bf' => 0, + 'bg' => 0, + 'bh' => 0, + 'bi' => 0, + 'bj' => 0, + 'bm' => 0, + 'bn' => 0, + 'bo' => 0, + 'br' => 0, + 'bs' => 0, + 'bt' => 0, + 'bw' => 0, + 'by' => 0, + 'bz' => 0, + 'ca' => 0, + 'cc' => 0, + 'cd' => 0, + 'cf' => 0, + 'cg' => 0, + 'ch' => 0, + 'ci' => 0, + 'ck' => 0, + 'cl' => 0, + 'cm' => 0, + 'cn' => 0, + 'co' => 0, + 'cr' => 0, + 'cu' => 0, + 'cv' => 0, + 'cx' => 0, + 'cy' => 0, + 'cz' => 0, + 'de' => 0, + 'dj' => 0, + 'dk' => 0, + 'dm' => 0, + 'do' => 0, + 'dz' => 0, + 'ec' => 0, + 'ee' => 0, + 'eg' => 0, + 'er' => 0, + 'es' => 0, + 'et' => 0, + 'fi' => 0, + 'fj' => 0, + 'fk' => 0, + 'fm' => 0, + 'fo' => 0, + 'fr' => 0, + 'ga' => 0, + 'gb' => 0, + 'gd' => 0, + 'ge' => 0, + 'gf' => 0, + 'gh' => 0, + 'gi' => 0, + 'gl' => 0, + 'gm' => 0, + 'gn' => 0, + 'gp' => 0, + 'gq' => 0, + 'gr' => 0, + 'gt' => 0, + 'gu' => 0, + 'gw' => 0, + 'gy' => 0, + 'hk' => 0, + 'hn' => 0, + 'hr' => 0, + 'ht' => 0, + 'hu' => 0, + 'id' => 0, + 'ie' => 0, + 'il' => 0, + 'in' => 0, + 'io' => 0, + 'iq' => 0, + 'ir' => 0, + 'is' => 0, + 'it' => 0, + 'jm' => 0, + 'jo' => 0, + 'jp' => 0, + 'ke' => 0, + 'kg' => 0, + 'kh' => 0, + 'ki' => 0, + 'km' => 0, + 'kn' => 0, + 'kp' => 0, + 'kr' => 0, + 'kw' => 0, + 'ky' => 0, + 'kz' => 0, + 'la' => 0, + 'lb' => 0, + 'lc' => 0, + 'li' => 0, + 'lk' => 0, + 'lr' => 0, + 'ls' => 0, + 'lt' => 0, + 'lu' => 0, + 'lv' => 0, + 'ly' => 0, + 'ma' => 0, + 'mc' => 0, + 'md' => 0, + 'me' => 0, + 'mg' => 0, + 'mh' => 0, + 'mk' => 0, + 'ml' => 0, + 'mm' => 0, + 'mn' => 0, + 'mo' => 0, + 'mp' => 0, + 'mq' => 0, + 'mr' => 0, + 'ms' => 0, + 'mt' => 0, + 'mu' => 0, + 'mv' => 0, + 'mw' => 0, + 'mx' => 0, + 'my' => 0, + 'mz' => 0, + 'na' => 0, + 'nc' => 0, + 'ne' => 0, + 'nf' => 0, + 'ng' => 0, + 'ni' => 0, + 'nl' => 0, + 'no' => 0, + 'np' => 0, + 'nr' => 0, + 'nu' => 0, + 'nz' => 0, + 'om' => 0, + 'pa' => 0, + 'pe' => 0, + 'pf' => 0, + 'pg' => 0, + 'ph' => 0, + 'pk' => 0, + 'pl' => 0, + 'pm' => 0, + 'pr' => 0, + 'ps' => 0, + 'pt' => 0, + 'pw' => 0, + 'py' => 0, + 'qa' => 0, + 'ro' => 0, + 'rs' => 0, + 'ru' => 0, + 'rw' => 0, + 'sa' => 0, + 'sb' => 0, + 'sc' => 0, + 'sd' => 0, + 'se' => 0, + 'sg' => 0, + 'sh' => 0, + 'si' => 0, + 'sk' => 0, + 'sl' => 0, + 'sm' => 0, + 'sn' => 0, + 'so' => 0, + 'sr' => 0, + 'ss' => 0, + 'st' => 0, + 'sv' => 0, + 'sy' => 0, + 'sz' => 0, + 'tc' => 0, + 'td' => 0, + 'tg' => 0, + 'th' => 0, + 'tj' => 0, + 'tk' => 0, + 'tm' => 0, + 'tn' => 0, + 'to' => 0, + 'tp' => 0, + 'tr' => 0, + 'tt' => 0, + 'tv' => 0, + 'tw' => 0, + 'tz' => 0, + 'ua' => 0, + 'ug' => 0, + 'us' => 0, + 'uy' => 0, + 'uz' => 0, + 'va' => 0, + 'vc' => 0, + 've' => 0, + 'vg' => 0, + 'vi' => 0, + 'vn' => 0, + 'vu' => 0, + 'wf' => 0, + 'ws' => 0, + 'ye' => 0, + 'yt' => 0, + 'za' => 0, + 'zm' => 0, + 'zw' => 0, + ), + 'hide_single_cc' => 0, + ), + 'default_country' => 'fr', + 'enable_country_level_validation' => 1, + 'enable_default_country' => 1, + 'enable_extension' => 0, + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'cck_phone', + 'settings' => array( + 'size' => 15, + ), + 'type' => 'phone_number', + 'weight' => '4', + ), + ), + ); + + // Exported field: 'profile2-contact_operationnel-field_private_quality'. + $fields['profile2-contact_operationnel-field_private_quality'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_private_quality', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => '255', + 'profile2_private' => 0, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => '1', + 'type' => 'text', + ), + 'field_instance' => array( + 'bundle' => 'contact_operationnel', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 19, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_private_quality', + 'label' => 'Quality', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => '0', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => '30', + ), + 'type' => 'text_textfield', + 'weight' => '2', + ), + ), + ); + + // Exported field: 'user-user-field_company'. + $fields['user-user-field_company'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_company', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'tid' => array( + 'columns' => array( + 'tid' => 'tid', + ), + 'table' => 'taxonomy_term_data', + ), + ), + 'indexes' => array( + 'tid' => array( + 0 => 'tid', + ), + ), + 'locked' => '0', + 'module' => 'taxonomy', + 'settings' => array( + 'allowed_values' => array( + 0 => array( + 'vocabulary' => 'company', + 'parent' => '0', + ), + ), + 'entity_translation_sync' => FALSE, + 'options_list_callback' => 'i18n_taxonomy_allowed_values', + 'profile2_private' => FALSE, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => '5', + 6 => 0, + 7 => 0, + ), + ), + 'translatable' => '0', + 'type' => 'taxonomy_term_reference', + ), + 'field_instance' => array( + 'bundle' => 'user', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'i18n_taxonomy', + 'settings' => array(), + 'type' => 'i18n_taxonomy_term_reference_link', + 'weight' => 1, + ), + ), + 'entity_type' => 'user', + 'field_name' => 'field_company', + 'label' => 'Company', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => 1, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'autocomplete_deluxe', + 'settings' => array( + 'autocomplete_deluxe_path' => 'autocomplete_deluxe/taxonomy', + 'content_taxonomy_autocomplete_new_terms' => 'deny', + 'size' => '60', + ), + 'type' => 'autocomplete_deluxe_taxonomy', + 'weight' => '2', + ), + ), + ); + + // Exported field: 'user-user-field_memo'. + $fields['user-user-field_memo'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_memo', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => '0', + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => TRUE, + ), + 'translatable' => '0', + 'type' => 'text_long', + ), + 'field_instance' => array( + 'bundle' => 'user', + 'default_value' => NULL, + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + ), + 'entity_type' => 'user', + 'field_name' => 'field_memo', + 'label' => 'Mémo', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => '0', + 'user_register_form' => 0, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'rows' => '10', + ), + 'type' => 'text_textarea', + 'weight' => '7', + ), + ), + ); + + // Exported field: 'user-user-field_newsletter'. + $fields['user-user-field_newsletter'] = array( + 'field_config' => array( + 'active' => '1', + 'cardinality' => '1', + 'deleted' => '0', + 'entity_types' => array(), + 'field_name' => 'field_newsletter', + 'field_permissions' => array( + 'type' => '2', + ), + 'foreign keys' => array(), + 'indexes' => array( + 'value' => array( + 0 => 'value', + ), + ), + 'locked' => '0', + 'module' => 'list', + 'settings' => array( + 'allowed_values' => array( + 0 => '', + 1 => '', + ), + 'allowed_values_function' => '', + 'entity_translation_sync' => FALSE, + 'profile2_private' => FALSE, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => '6', + 7 => '7', + 8 => '8', + ), + ), + 'translatable' => '0', + 'type' => 'list_boolean', + ), + 'field_instance' => array( + 'bundle' => 'user', + 'default_value' => array( + 0 => array( + 'value' => 0, + ), + ), + 'deleted' => '0', + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'list', + 'settings' => array(), + 'type' => 'list_default', + 'weight' => 2, + ), + ), + 'entity_type' => 'user', + 'field_name' => 'field_newsletter', + 'label' => 'Please send me the newsletter.', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => 1, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'options', + 'settings' => array( + 'display_label' => 1, + ), + 'type' => 'options_onoff', + 'weight' => '3', + ), + ), + ); + + // Translatables + // Included for use with string extractors like potx. + t('Adresse'); + t('Company'); + t('Email'); + t('Employee'); + t('First name'); + t('Mémo'); + t('NAF'); + t('Name'); + t('Organization'); + t('Phone'); + t('Please send me the newsletter.'); + t('Quality'); + t('Qualité'); + t('SIRET'); + t('Title'); + t('Titre'); + t('Website'); + t('service'); + + return $fields; +} diff --git a/sites/all/modules/features/materio_user_profiles/materio_user_profiles.features.field_base.inc b/sites/all/modules/features/materio_user_profiles/materio_user_profiles.features.field_base.inc new file mode 100644 index 00000000..68a7e7ab --- /dev/null +++ b/sites/all/modules/features/materio_user_profiles/materio_user_profiles.features.field_base.inc @@ -0,0 +1,733 @@ + 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_activity_sector', + 'field_permissions' => array( + 'type' => 0, + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => 0, + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + 'profile2_private' => 0, + ), + 'translatable' => 0, + 'type' => 'text', + ); + + // Exported field_base: 'field_administrative_email' + $field_bases['field_administrative_email'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_administrative_email', + 'field_permissions' => array( + 'type' => 0, + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => 0, + 'module' => 'email', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => 0, + ), + 'translatable' => 0, + 'type' => 'email', + ); + + // Exported field_base: 'field_adresse' + $field_bases['field_adresse'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_adresse', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => 0, + 'module' => 'addressfield', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => 1, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => 0, + 'type' => 'addressfield', + ); + + // Exported field_base: 'field_company' + $field_bases['field_company'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_company', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array( + 'tid' => array( + 'columns' => array( + 'tid' => 'tid', + ), + 'table' => 'taxonomy_term_data', + ), + ), + 'indexes' => array( + 'tid' => array( + 0 => 'tid', + ), + ), + 'locked' => 0, + 'module' => 'taxonomy', + 'settings' => array( + 'allowed_values' => array( + 0 => array( + 'vocabulary' => 'company', + 'parent' => 0, + ), + ), + 'entity_translation_sync' => FALSE, + 'options_list_callback' => 'i18n_taxonomy_allowed_values', + 'profile2_private' => FALSE, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 5, + 6 => 0, + 7 => 0, + ), + ), + 'translatable' => 0, + 'type' => 'taxonomy_term_reference', + ); + + // Exported field_base: 'field_employee' + $field_bases['field_employee'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_employee', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => 0, + 'module' => 'number', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => 1, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => 0, + 'type' => 'number_integer', + ); + + // Exported field_base: 'field_first_name' + $field_bases['field_first_name'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_first_name', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => 0, + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + 'profile2_private' => 0, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => 0, + 'type' => 'text', + ); + + // Exported field_base: 'field_memo' + $field_bases['field_memo'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_memo', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => 0, + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => TRUE, + ), + 'translatable' => 0, + 'type' => 'text_long', + ); + + // Exported field_base: 'field_naf' + $field_bases['field_naf'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_naf', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => 0, + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + 'profile2_private' => 1, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => 0, + 'type' => 'text', + ); + + // Exported field_base: 'field_name' + $field_bases['field_name'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_name', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => 0, + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + 'profile2_private' => 0, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => 0, + 'type' => 'text', + ); + + // Exported field_base: 'field_organization' + $field_bases['field_organization'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_organization', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => 0, + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + 'profile2_private' => 1, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => 0, + 'type' => 'text', + ); + + // Exported field_base: 'field_private_email' + $field_bases['field_private_email'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_private_email', + 'field_permissions' => array( + 'type' => 0, + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => 0, + 'module' => 'email', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => 1, + ), + 'translatable' => 0, + 'type' => 'email', + ); + + // Exported field_base: 'field_private_name' + $field_bases['field_private_name'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_private_name', + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => 0, + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + 'profile2_private' => 1, + ), + 'translatable' => 0, + 'type' => 'text', + ); + + // Exported field_base: 'field_private_name_title' + $field_bases['field_private_name_title'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_private_name_title', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array(), + 'indexes' => array( + 'value' => array( + 0 => 'value', + ), + ), + 'locked' => 0, + 'module' => 'list', + 'settings' => array( + 'allowed_values' => array( + 'MR' => 'Mister', + 'MS' => 'Misses', + 'MI' => 'Miss', + 'DO' => 'Doctor', + 'PR' => 'Professor', + ), + 'allowed_values_function' => '', + 'entity_translation_sync' => FALSE, + 'profile2_private' => 1, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => 0, + 'type' => 'list_text', + ); + + // Exported field_base: 'field_private_phone' + $field_bases['field_private_phone'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_private_phone', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => 0, + 'module' => 'cck_phone', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'profile2_private' => 1, + 'size' => 30, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => 0, + 'type' => 'phone_number', + ); + + // Exported field_base: 'field_private_quality' + $field_bases['field_private_quality'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_private_quality', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => 0, + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + 'profile2_private' => 0, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => 1, + 'type' => 'text', + ); + + // Exported field_base: 'field_service' + $field_bases['field_service'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_service', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => 0, + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + 'profile2_private' => 1, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => 0, + 'type' => 'text', + ); + + // Exported field_base: 'field_siret' + $field_bases['field_siret'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_siret', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => 0, + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + 'profile2_private' => 0, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => 0, + 'type' => 'text', + ); + + // Exported field_base: 'field_user_website' + $field_bases['field_user_website'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_user_website', + 'field_permissions' => array( + 'type' => 2, + ), + 'foreign keys' => array(), + 'indexes' => array(), + 'locked' => 0, + 'module' => 'link', + 'settings' => array( + 'attributes' => array( + 'class' => '', + 'rel' => '', + 'target' => 'default', + ), + 'display' => array( + 'url_cutoff' => 80, + ), + 'enable_tokens' => 1, + 'entity_translation_sync' => FALSE, + 'profile2_private' => 1, + 'title' => 'optional', + 'title_maxlength' => 128, + 'title_value' => '', + 'url' => 0, + 'user_role_field' => array( + 1 => 0, + 2 => 0, + 3 => 0, + 4 => 0, + 5 => 0, + 6 => 0, + 7 => 0, + 8 => 0, + ), + ), + 'translatable' => 0, + 'type' => 'link_field', + ); + + // Exported field_base: 'field_vat_number_intra_ce' + $field_bases['field_vat_number_intra_ce'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_vat_number_intra_ce', + 'field_permissions' => array( + 'type' => 0, + ), + 'foreign keys' => array( + 'format' => array( + 'columns' => array( + 'format' => 'format', + ), + 'table' => 'filter_format', + ), + ), + 'indexes' => array( + 'format' => array( + 0 => 'format', + ), + ), + 'locked' => 0, + 'module' => 'text', + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max_length' => 255, + 'profile2_private' => 0, + ), + 'translatable' => 0, + 'type' => 'text', + ); + + return $field_bases; +} diff --git a/sites/all/modules/features/materio_user_profiles/materio_user_profiles.features.field_instance.inc b/sites/all/modules/features/materio_user_profiles/materio_user_profiles.features.field_instance.inc new file mode 100644 index 00000000..92b127fb --- /dev/null +++ b/sites/all/modules/features/materio_user_profiles/materio_user_profiles.features.field_instance.inc @@ -0,0 +1,1359 @@ + 'adherent', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 13, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_activity_sector', + 'label' => 'Activity sector', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => 4, + ), + ); + + // Exported field_instance: 'profile2-adherent-field_administrative_email' + $field_instances['profile2-adherent-field_administrative_email'] = array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'email', + 'settings' => array(), + 'type' => 'email_default', + 'weight' => 15, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_administrative_email', + 'label' => 'Administrative email', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'email', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'email_textfield', + 'weight' => 11, + ), + ); + + // Exported field_instance: 'profile2-adherent-field_adresse' + $field_instances['profile2-adherent-field_adresse'] = array( + 'bundle' => 'adherent', + 'default_value' => array( + 0 => array( + 'element_key' => 'profile2|adherent|field_adresse|und|0', + 'thoroughfare' => '', + 'premise' => '', + 'postal_code' => '', + 'locality' => '', + 'country' => 'FR', + ), + ), + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'addressfield', + 'settings' => array( + 'format_handlers' => array( + 0 => 'address', + ), + 'use_widget_handlers' => 1, + ), + 'type' => 'addressfield_default', + 'weight' => 5, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_adresse', + 'label' => 'Adresse', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'addressfield', + 'settings' => array( + 'available_countries' => array(), + 'format_handlers' => array( + 'address' => 'address', + 'address-hide-country' => 0, + 'organisation' => 0, + 'name-full' => 0, + 'name-oneline' => 0, + ), + ), + 'type' => 'addressfield_standard', + 'weight' => 14, + ), + ); + + // Exported field_instance: 'profile2-adherent-field_employee' + $field_instances['profile2-adherent-field_employee'] = array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'number', + 'settings' => array( + 'decimal_separator' => '.', + 'prefix_suffix' => TRUE, + 'scale' => 0, + 'thousand_separator' => ' ', + ), + 'type' => 'number_integer', + 'weight' => 10, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_employee', + 'label' => 'Employee', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'max' => '', + 'min' => 1, + 'prefix' => '', + 'suffix' => '', + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'number', + 'settings' => array(), + 'type' => 'number', + 'weight' => 7, + ), + ); + + // Exported field_instance: 'profile2-adherent-field_first_name' + $field_instances['profile2-adherent-field_first_name'] = array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 1, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_first_name', + 'label' => 'First name', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => 1, + ), + ); + + // Exported field_instance: 'profile2-adherent-field_naf' + $field_instances['profile2-adherent-field_naf'] = array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 11, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_naf', + 'label' => 'NAF', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => 8, + ), + ); + + // Exported field_instance: 'profile2-adherent-field_name' + $field_instances['profile2-adherent-field_name'] = array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 2, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_name', + 'label' => 'Name', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => 2, + ), + ); + + // Exported field_instance: 'profile2-adherent-field_organization' + $field_instances['profile2-adherent-field_organization'] = array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 6, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_organization', + 'label' => 'Organization', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => 3, + ), + ); + + // Exported field_instance: 'profile2-adherent-field_private_name_title' + $field_instances['profile2-adherent-field_private_name_title'] = array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'list', + 'settings' => array(), + 'type' => 'list_default', + 'weight' => 4, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_private_name_title', + 'label' => 'Titre', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'options', + 'settings' => array( + 'content_taxonomy_opt_groups' => FALSE, + ), + 'type' => 'options_select', + 'weight' => 0, + ), + ); + + // Exported field_instance: 'profile2-adherent-field_private_phone' + $field_instances['profile2-adherent-field_private_phone'] = array( + 'bundle' => 'adherent', + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'cck_phone', + 'settings' => array(), + 'type' => 'global_phone_number', + 'weight' => 3, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_private_phone', + 'label' => 'Phone', + 'required' => 0, + 'settings' => array( + 'all_country_codes' => 1, + 'country_code_position' => 'after', + 'country_codes' => array( + 'country_selection' => array( + 'ad' => 0, + 'ae' => 0, + 'af' => 0, + 'ag' => 0, + 'ai' => 0, + 'al' => 0, + 'am' => 0, + 'an' => 0, + 'ao' => 0, + 'ar' => 0, + 'as' => 0, + 'at' => 0, + 'au' => 0, + 'aw' => 0, + 'az' => 0, + 'ba' => 0, + 'bb' => 0, + 'bd' => 0, + 'be' => 0, + 'bf' => 0, + 'bg' => 0, + 'bh' => 0, + 'bi' => 0, + 'bj' => 0, + 'bm' => 0, + 'bn' => 0, + 'bo' => 0, + 'br' => 0, + 'bs' => 0, + 'bt' => 0, + 'bw' => 0, + 'by' => 0, + 'bz' => 0, + 'ca' => 0, + 'cc' => 0, + 'cd' => 0, + 'cf' => 0, + 'cg' => 0, + 'ch' => 0, + 'ci' => 0, + 'ck' => 0, + 'cl' => 0, + 'cm' => 0, + 'cn' => 0, + 'co' => 0, + 'cr' => 0, + 'cu' => 0, + 'cv' => 0, + 'cx' => 0, + 'cy' => 0, + 'cz' => 0, + 'de' => 0, + 'dj' => 0, + 'dk' => 0, + 'dm' => 0, + 'do' => 0, + 'dz' => 0, + 'ec' => 0, + 'ee' => 0, + 'eg' => 0, + 'er' => 0, + 'es' => 0, + 'et' => 0, + 'fi' => 0, + 'fj' => 0, + 'fk' => 0, + 'fm' => 0, + 'fo' => 0, + 'fr' => 0, + 'ga' => 0, + 'gb' => 0, + 'gd' => 0, + 'ge' => 0, + 'gf' => 0, + 'gh' => 0, + 'gi' => 0, + 'gl' => 0, + 'gm' => 0, + 'gn' => 0, + 'gp' => 0, + 'gq' => 0, + 'gr' => 0, + 'gt' => 0, + 'gu' => 0, + 'gw' => 0, + 'gy' => 0, + 'hk' => 0, + 'hn' => 0, + 'hr' => 0, + 'ht' => 0, + 'hu' => 0, + 'id' => 0, + 'ie' => 0, + 'il' => 0, + 'in' => 0, + 'io' => 0, + 'iq' => 0, + 'ir' => 0, + 'is' => 0, + 'it' => 0, + 'jm' => 0, + 'jo' => 0, + 'jp' => 0, + 'ke' => 0, + 'kg' => 0, + 'kh' => 0, + 'ki' => 0, + 'km' => 0, + 'kn' => 0, + 'kp' => 0, + 'kr' => 0, + 'kw' => 0, + 'ky' => 0, + 'kz' => 0, + 'la' => 0, + 'lb' => 0, + 'lc' => 0, + 'li' => 0, + 'lk' => 0, + 'lr' => 0, + 'ls' => 0, + 'lt' => 0, + 'lu' => 0, + 'lv' => 0, + 'ly' => 0, + 'ma' => 0, + 'mc' => 0, + 'md' => 0, + 'me' => 0, + 'mg' => 0, + 'mh' => 0, + 'mk' => 0, + 'ml' => 0, + 'mm' => 0, + 'mn' => 0, + 'mo' => 0, + 'mp' => 0, + 'mq' => 0, + 'mr' => 0, + 'ms' => 0, + 'mt' => 0, + 'mu' => 0, + 'mv' => 0, + 'mw' => 0, + 'mx' => 0, + 'my' => 0, + 'mz' => 0, + 'na' => 0, + 'nc' => 0, + 'ne' => 0, + 'nf' => 0, + 'ng' => 0, + 'ni' => 0, + 'nl' => 0, + 'no' => 0, + 'np' => 0, + 'nr' => 0, + 'nu' => 0, + 'nz' => 0, + 'om' => 0, + 'pa' => 0, + 'pe' => 0, + 'pf' => 0, + 'pg' => 0, + 'ph' => 0, + 'pk' => 0, + 'pl' => 0, + 'pm' => 0, + 'pr' => 0, + 'ps' => 0, + 'pt' => 0, + 'pw' => 0, + 'py' => 0, + 'qa' => 0, + 'ro' => 0, + 'rs' => 0, + 'ru' => 0, + 'rw' => 0, + 'sa' => 0, + 'sb' => 0, + 'sc' => 0, + 'sd' => 0, + 'se' => 0, + 'sg' => 0, + 'sh' => 0, + 'si' => 0, + 'sk' => 0, + 'sl' => 0, + 'sm' => 0, + 'sn' => 0, + 'so' => 0, + 'sr' => 0, + 'ss' => 0, + 'st' => 0, + 'sv' => 0, + 'sy' => 0, + 'sz' => 0, + 'tc' => 0, + 'td' => 0, + 'tg' => 0, + 'th' => 0, + 'tj' => 0, + 'tk' => 0, + 'tm' => 0, + 'tn' => 0, + 'to' => 0, + 'tp' => 0, + 'tr' => 0, + 'tt' => 0, + 'tv' => 0, + 'tw' => 0, + 'tz' => 0, + 'ua' => 0, + 'ug' => 0, + 'us' => 0, + 'uy' => 0, + 'uz' => 0, + 'va' => 0, + 'vc' => 0, + 've' => 0, + 'vg' => 0, + 'vi' => 0, + 'vn' => 0, + 'vu' => 0, + 'wf' => 0, + 'ws' => 0, + 'ye' => 0, + 'yt' => 0, + 'za' => 0, + 'zm' => 0, + 'zw' => 0, + ), + 'hide_single_cc' => 0, + ), + 'default_country' => 'fr', + 'enable_country_level_validation' => 1, + 'enable_default_country' => 1, + 'enable_extension' => 0, + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'cck_phone', + 'settings' => array( + 'size' => 15, + ), + 'type' => 'phone_number', + 'weight' => 13, + ), + ); + + // Exported field_instance: 'profile2-adherent-field_private_quality' + $field_instances['profile2-adherent-field_private_quality'] = array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_private_quality', + 'label' => 'Qualité', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => 5, + ), + ); + + // Exported field_instance: 'profile2-adherent-field_service' + $field_instances['profile2-adherent-field_service'] = array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 8, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_service', + 'label' => 'service', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => 6, + ), + ); + + // Exported field_instance: 'profile2-adherent-field_siret' + $field_instances['profile2-adherent-field_siret'] = array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 12, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_siret', + 'label' => 'SIRET', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => 9, + ), + ); + + // Exported field_instance: 'profile2-adherent-field_user_website' + $field_instances['profile2-adherent-field_user_website'] = array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_default', + 'weight' => 7, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_user_website', + 'label' => 'Website', + 'required' => 0, + 'settings' => array( + 'attributes' => array( + 'class' => '', + 'configurable_title' => 0, + 'rel' => '', + 'target' => '_blank', + 'title' => '', + ), + 'display' => array( + 'url_cutoff' => 80, + ), + 'enable_tokens' => 1, + 'entity_translation_sync' => FALSE, + 'rel_remove' => 'default', + 'title' => 'none', + 'title_maxlength' => 128, + 'title_value' => 'website', + 'url' => 0, + 'user_register_form' => FALSE, + 'validate_url' => 1, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'link', + 'settings' => array(), + 'type' => 'link_field', + 'weight' => 12, + ), + ); + + // Exported field_instance: 'profile2-adherent-field_vat_number_intra_ce' + $field_instances['profile2-adherent-field_vat_number_intra_ce'] = array( + 'bundle' => 'adherent', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 14, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_vat_number_intra_ce', + 'label' => 'VAT number intra CE', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => 10, + ), + ); + + // Exported field_instance: 'profile2-contact_operationnel-field_memo' + $field_instances['profile2-contact_operationnel-field_memo'] = array( + 'bundle' => 'contact_operationnel', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 21, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_memo', + 'label' => 'Mémo', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'rows' => 10, + ), + 'type' => 'text_textarea', + 'weight' => 6, + ), + ); + + // Exported field_instance: 'profile2-contact_operationnel-field_private_email' + $field_instances['profile2-contact_operationnel-field_private_email'] = array( + 'bundle' => 'contact_operationnel', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'email', + 'settings' => array(), + 'type' => 'email_default', + 'weight' => 24, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_private_email', + 'label' => 'Email', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'email', + 'settings' => array( + 'size' => 30, + ), + 'type' => 'email_textfield', + 'weight' => 3, + ), + ); + + // Exported field_instance: 'profile2-contact_operationnel-field_private_name' + $field_instances['profile2-contact_operationnel-field_private_name'] = array( + 'bundle' => 'contact_operationnel', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 16, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_private_name', + 'label' => 'Name', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => 60, + ), + 'type' => 'text_textfield', + 'weight' => 1, + ), + ); + + // Exported field_instance: 'profile2-contact_operationnel-field_private_name_title' + $field_instances['profile2-contact_operationnel-field_private_name_title'] = array( + 'bundle' => 'contact_operationnel', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'list', + 'settings' => array(), + 'type' => 'list_default', + 'weight' => 15, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_private_name_title', + 'label' => 'Title', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'options', + 'settings' => array( + 'content_taxonomy_opt_groups' => FALSE, + ), + 'type' => 'options_select', + 'weight' => 0, + ), + ); + + // Exported field_instance: 'profile2-contact_operationnel-field_private_phone' + $field_instances['profile2-contact_operationnel-field_private_phone'] = array( + 'bundle' => 'contact_operationnel', + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'cck_phone', + 'settings' => array(), + 'type' => 'global_phone_number', + 'weight' => 20, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_private_phone', + 'label' => 'Phone', + 'required' => 0, + 'settings' => array( + 'all_country_codes' => 1, + 'country_code_position' => 'after', + 'country_codes' => array( + 'country_selection' => array( + 'ad' => 0, + 'ae' => 0, + 'af' => 0, + 'ag' => 0, + 'ai' => 0, + 'al' => 0, + 'am' => 0, + 'an' => 0, + 'ao' => 0, + 'ar' => 0, + 'as' => 0, + 'at' => 0, + 'au' => 0, + 'aw' => 0, + 'az' => 0, + 'ba' => 0, + 'bb' => 0, + 'bd' => 0, + 'be' => 0, + 'bf' => 0, + 'bg' => 0, + 'bh' => 0, + 'bi' => 0, + 'bj' => 0, + 'bm' => 0, + 'bn' => 0, + 'bo' => 0, + 'br' => 0, + 'bs' => 0, + 'bt' => 0, + 'bw' => 0, + 'by' => 0, + 'bz' => 0, + 'ca' => 0, + 'cc' => 0, + 'cd' => 0, + 'cf' => 0, + 'cg' => 0, + 'ch' => 0, + 'ci' => 0, + 'ck' => 0, + 'cl' => 0, + 'cm' => 0, + 'cn' => 0, + 'co' => 0, + 'cr' => 0, + 'cu' => 0, + 'cv' => 0, + 'cx' => 0, + 'cy' => 0, + 'cz' => 0, + 'de' => 0, + 'dj' => 0, + 'dk' => 0, + 'dm' => 0, + 'do' => 0, + 'dz' => 0, + 'ec' => 0, + 'ee' => 0, + 'eg' => 0, + 'er' => 0, + 'es' => 0, + 'et' => 0, + 'fi' => 0, + 'fj' => 0, + 'fk' => 0, + 'fm' => 0, + 'fo' => 0, + 'fr' => 0, + 'ga' => 0, + 'gb' => 0, + 'gd' => 0, + 'ge' => 0, + 'gf' => 0, + 'gh' => 0, + 'gi' => 0, + 'gl' => 0, + 'gm' => 0, + 'gn' => 0, + 'gp' => 0, + 'gq' => 0, + 'gr' => 0, + 'gt' => 0, + 'gu' => 0, + 'gw' => 0, + 'gy' => 0, + 'hk' => 0, + 'hn' => 0, + 'hr' => 0, + 'ht' => 0, + 'hu' => 0, + 'id' => 0, + 'ie' => 0, + 'il' => 0, + 'in' => 0, + 'io' => 0, + 'iq' => 0, + 'ir' => 0, + 'is' => 0, + 'it' => 0, + 'jm' => 0, + 'jo' => 0, + 'jp' => 0, + 'ke' => 0, + 'kg' => 0, + 'kh' => 0, + 'ki' => 0, + 'km' => 0, + 'kn' => 0, + 'kp' => 0, + 'kr' => 0, + 'kw' => 0, + 'ky' => 0, + 'kz' => 0, + 'la' => 0, + 'lb' => 0, + 'lc' => 0, + 'li' => 0, + 'lk' => 0, + 'lr' => 0, + 'ls' => 0, + 'lt' => 0, + 'lu' => 0, + 'lv' => 0, + 'ly' => 0, + 'ma' => 0, + 'mc' => 0, + 'md' => 0, + 'me' => 0, + 'mg' => 0, + 'mh' => 0, + 'mk' => 0, + 'ml' => 0, + 'mm' => 0, + 'mn' => 0, + 'mo' => 0, + 'mp' => 0, + 'mq' => 0, + 'mr' => 0, + 'ms' => 0, + 'mt' => 0, + 'mu' => 0, + 'mv' => 0, + 'mw' => 0, + 'mx' => 0, + 'my' => 0, + 'mz' => 0, + 'na' => 0, + 'nc' => 0, + 'ne' => 0, + 'nf' => 0, + 'ng' => 0, + 'ni' => 0, + 'nl' => 0, + 'no' => 0, + 'np' => 0, + 'nr' => 0, + 'nu' => 0, + 'nz' => 0, + 'om' => 0, + 'pa' => 0, + 'pe' => 0, + 'pf' => 0, + 'pg' => 0, + 'ph' => 0, + 'pk' => 0, + 'pl' => 0, + 'pm' => 0, + 'pr' => 0, + 'ps' => 0, + 'pt' => 0, + 'pw' => 0, + 'py' => 0, + 'qa' => 0, + 'ro' => 0, + 'rs' => 0, + 'ru' => 0, + 'rw' => 0, + 'sa' => 0, + 'sb' => 0, + 'sc' => 0, + 'sd' => 0, + 'se' => 0, + 'sg' => 0, + 'sh' => 0, + 'si' => 0, + 'sk' => 0, + 'sl' => 0, + 'sm' => 0, + 'sn' => 0, + 'so' => 0, + 'sr' => 0, + 'ss' => 0, + 'st' => 0, + 'sv' => 0, + 'sy' => 0, + 'sz' => 0, + 'tc' => 0, + 'td' => 0, + 'tg' => 0, + 'th' => 0, + 'tj' => 0, + 'tk' => 0, + 'tm' => 0, + 'tn' => 0, + 'to' => 0, + 'tp' => 0, + 'tr' => 0, + 'tt' => 0, + 'tv' => 0, + 'tw' => 0, + 'tz' => 0, + 'ua' => 0, + 'ug' => 0, + 'us' => 0, + 'uy' => 0, + 'uz' => 0, + 'va' => 0, + 'vc' => 0, + 've' => 0, + 'vg' => 0, + 'vi' => 0, + 'vn' => 0, + 'vu' => 0, + 'wf' => 0, + 'ws' => 0, + 'ye' => 0, + 'yt' => 0, + 'za' => 0, + 'zm' => 0, + 'zw' => 0, + ), + 'hide_single_cc' => 0, + ), + 'default_country' => 'fr', + 'enable_country_level_validation' => 1, + 'enable_default_country' => 1, + 'enable_extension' => 0, + 'entity_translation_sync' => FALSE, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 0, + 'module' => 'cck_phone', + 'settings' => array( + 'size' => 15, + ), + 'type' => 'phone_number', + 'weight' => 4, + ), + ); + + // Exported field_instance: 'profile2-contact_operationnel-field_private_quality' + $field_instances['profile2-contact_operationnel-field_private_quality'] = array( + 'bundle' => 'contact_operationnel', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 19, + ), + ), + 'entity_type' => 'profile2', + 'field_name' => 'field_private_quality', + 'label' => 'Quality', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'size' => 30, + ), + 'type' => 'text_textfield', + 'weight' => 2, + ), + ); + + // Exported field_instance: 'user-user-field_company' + $field_instances['user-user-field_company'] = array( + 'bundle' => 'user', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'i18n_taxonomy', + 'settings' => array(), + 'type' => 'i18n_taxonomy_term_reference_link', + 'weight' => 1, + ), + ), + 'entity_type' => 'user', + 'field_name' => 'field_company', + 'label' => 'Company', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'user_register_form' => 1, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'autocomplete_deluxe', + 'settings' => array( + 'autocomplete_deluxe_path' => 'autocomplete_deluxe/taxonomy', + 'content_taxonomy_autocomplete_new_terms' => 'deny', + 'size' => 60, + ), + 'type' => 'autocomplete_deluxe_taxonomy', + 'weight' => 2, + ), + ); + + // Exported field_instance: 'user-user-field_memo' + $field_instances['user-user-field_memo'] = array( + 'bundle' => 'user', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'text', + 'settings' => array(), + 'type' => 'text_default', + 'weight' => 0, + ), + ), + 'entity_type' => 'user', + 'field_name' => 'field_memo', + 'label' => 'Mémo', + 'required' => 0, + 'settings' => array( + 'entity_translation_sync' => FALSE, + 'text_processing' => 0, + 'user_register_form' => 0, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'text', + 'settings' => array( + 'rows' => 10, + ), + 'type' => 'text_textarea', + 'weight' => 7, + ), + ); + + // Translatables + // Included for use with string extractors like potx. + t('Activity sector'); + t('Administrative email'); + t('Adresse'); + t('Company'); + t('Email'); + t('Employee'); + t('First name'); + t('Mémo'); + t('NAF'); + t('Name'); + t('Organization'); + t('Phone'); + t('Quality'); + t('Qualité'); + t('SIRET'); + t('Title'); + t('Titre'); + t('VAT number intra CE'); + t('Website'); + t('service'); + + return $field_instances; +} diff --git a/sites/all/modules/features/materio_user_profiles/materio_user_profiles.features.inc b/sites/all/modules/features/materio_user_profiles/materio_user_profiles.features.inc new file mode 100644 index 00000000..110e72a8 --- /dev/null +++ b/sites/all/modules/features/materio_user_profiles/materio_user_profiles.features.inc @@ -0,0 +1,29 @@ + 'administer profile types', + 'roles' => array( + 'root' => 'root', + ), + 'module' => 'profile2', + ); + + // Exported permission: 'administer profiles'. + $permissions['administer profiles'] = array( + 'name' => 'administer profiles', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'profile2', + ); + + // Exported permission: 'create field_adresse'. + $permissions['create field_adresse'] = array( + 'name' => 'create field_adresse', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_employee'. + $permissions['create field_employee'] = array( + 'name' => 'create field_employee', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_first_name'. + $permissions['create field_first_name'] = array( + 'name' => 'create field_first_name', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_naf'. + $permissions['create field_naf'] = array( + 'name' => 'create field_naf', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Utilisateur' => 'Utilisateur', + 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_name'. + $permissions['create field_name'] = array( + 'name' => 'create field_name', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_organization'. + $permissions['create field_organization'] = array( + 'name' => 'create field_organization', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_private_name_title'. + $permissions['create field_private_name_title'] = array( + 'name' => 'create field_private_name_title', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_private_phone'. + $permissions['create field_private_phone'] = array( + 'name' => 'create field_private_phone', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_private_quality'. + $permissions['create field_private_quality'] = array( + 'name' => 'create field_private_quality', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'Unverified' => 'Unverified', + 'Utilisateur' => 'Utilisateur', + 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_service'. + $permissions['create field_service'] = array( + 'name' => 'create field_service', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_siret'. + $permissions['create field_siret'] = array( + 'name' => 'create field_siret', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'create field_user_website'. + $permissions['create field_user_website'] = array( + 'name' => 'create field_user_website', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit any adherent profile'. + $permissions['edit any adherent profile'] = array( + 'name' => 'edit any adherent profile', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'profile2', + ); + + // Exported permission: 'edit any contact_operationnel profile'. + $permissions['edit any contact_operationnel profile'] = array( + 'name' => 'edit any contact_operationnel profile', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'profile2', + ); + + // Exported permission: 'edit field_adresse'. + $permissions['edit field_adresse'] = array( + 'name' => 'edit field_adresse', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_employee'. + $permissions['edit field_employee'] = array( + 'name' => 'edit field_employee', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_first_name'. + $permissions['edit field_first_name'] = array( + 'name' => 'edit field_first_name', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_naf'. + $permissions['edit field_naf'] = array( + 'name' => 'edit field_naf', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_name'. + $permissions['edit field_name'] = array( + 'name' => 'edit field_name', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_organization'. + $permissions['edit field_organization'] = array( + 'name' => 'edit field_organization', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_private_name_title'. + $permissions['edit field_private_name_title'] = array( + 'name' => 'edit field_private_name_title', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_private_phone'. + $permissions['edit field_private_phone'] = array( + 'name' => 'edit field_private_phone', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_private_quality'. + $permissions['edit field_private_quality'] = array( + 'name' => 'edit field_private_quality', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_service'. + $permissions['edit field_service'] = array( + 'name' => 'edit field_service', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_siret'. + $permissions['edit field_siret'] = array( + 'name' => 'edit field_siret', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit field_user_website'. + $permissions['edit field_user_website'] = array( + 'name' => 'edit field_user_website', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own adherent profile'. + $permissions['edit own adherent profile'] = array( + 'name' => 'edit own adherent profile', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Premium' => 'Premium', + 'Student' => 'Student', + ), + 'module' => 'profile2', + ); + + // Exported permission: 'edit own contact_operationnel profile'. + $permissions['edit own contact_operationnel profile'] = array( + 'name' => 'edit own contact_operationnel profile', + 'roles' => array( + 'Contact opérationnel' => 'Contact opérationnel', + ), + 'module' => 'profile2', + ); + + // Exported permission: 'edit own field_adresse'. + $permissions['edit own field_adresse'] = array( + 'name' => 'edit own field_adresse', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_employee'. + $permissions['edit own field_employee'] = array( + 'name' => 'edit own field_employee', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_first_name'. + $permissions['edit own field_first_name'] = array( + 'name' => 'edit own field_first_name', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_naf'. + $permissions['edit own field_naf'] = array( + 'name' => 'edit own field_naf', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Utilisateur' => 'Utilisateur', + 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_name'. + $permissions['edit own field_name'] = array( + 'name' => 'edit own field_name', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_organization'. + $permissions['edit own field_organization'] = array( + 'name' => 'edit own field_organization', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_private_name_title'. + $permissions['edit own field_private_name_title'] = array( + 'name' => 'edit own field_private_name_title', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_private_phone'. + $permissions['edit own field_private_phone'] = array( + 'name' => 'edit own field_private_phone', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_private_quality'. + $permissions['edit own field_private_quality'] = array( + 'name' => 'edit own field_private_quality', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'Unverified' => 'Unverified', + 'Utilisateur' => 'Utilisateur', + 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_service'. + $permissions['edit own field_service'] = array( + 'name' => 'edit own field_service', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_siret'. + $permissions['edit own field_siret'] = array( + 'name' => 'edit own field_siret', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'edit own field_user_website'. + $permissions['edit own field_user_website'] = array( + 'name' => 'edit own field_user_website', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view any adherent profile'. + $permissions['view any adherent profile'] = array( + 'name' => 'view any adherent profile', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'profile2', + ); + + // Exported permission: 'view any contact_operationnel profile'. + $permissions['view any contact_operationnel profile'] = array( + 'name' => 'view any contact_operationnel profile', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'profile2', + ); + + // Exported permission: 'view field_adresse'. + $permissions['view field_adresse'] = array( + 'name' => 'view field_adresse', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_employee'. + $permissions['view field_employee'] = array( + 'name' => 'view field_employee', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_first_name'. + $permissions['view field_first_name'] = array( + 'name' => 'view field_first_name', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_naf'. + $permissions['view field_naf'] = array( + 'name' => 'view field_naf', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_name'. + $permissions['view field_name'] = array( + 'name' => 'view field_name', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_organization'. + $permissions['view field_organization'] = array( + 'name' => 'view field_organization', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_private_name_title'. + $permissions['view field_private_name_title'] = array( + 'name' => 'view field_private_name_title', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_private_phone'. + $permissions['view field_private_phone'] = array( + 'name' => 'view field_private_phone', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_private_quality'. + $permissions['view field_private_quality'] = array( + 'name' => 'view field_private_quality', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_service'. + $permissions['view field_service'] = array( + 'name' => 'view field_service', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_siret'. + $permissions['view field_siret'] = array( + 'name' => 'view field_siret', + 'roles' => array( + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view field_user_website'. + $permissions['view field_user_website'] = array( + 'name' => 'view field_user_website', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own adherent profile'. + $permissions['view own adherent profile'] = array( + 'name' => 'view own adherent profile', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Premium' => 'Premium', + 'Student' => 'Student', + ), + 'module' => 'profile2', + ); + + // Exported permission: 'view own contact_operationnel profile'. + $permissions['view own contact_operationnel profile'] = array( + 'name' => 'view own contact_operationnel profile', + 'roles' => array( + 'Contact opérationnel' => 'Contact opérationnel', + ), + 'module' => 'profile2', + ); + + // Exported permission: 'view own field_adresse'. + $permissions['view own field_adresse'] = array( + 'name' => 'view own field_adresse', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_employee'. + $permissions['view own field_employee'] = array( + 'name' => 'view own field_employee', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_first_name'. + $permissions['view own field_first_name'] = array( + 'name' => 'view own field_first_name', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_naf'. + $permissions['view own field_naf'] = array( + 'name' => 'view own field_naf', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Utilisateur' => 'Utilisateur', + 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_name'. + $permissions['view own field_name'] = array( + 'name' => 'view own field_name', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_organization'. + $permissions['view own field_organization'] = array( + 'name' => 'view own field_organization', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_private_name_title'. + $permissions['view own field_private_name_title'] = array( + 'name' => 'view own field_private_name_title', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_private_phone'. + $permissions['view own field_private_phone'] = array( + 'name' => 'view own field_private_phone', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_private_quality'. + $permissions['view own field_private_quality'] = array( + 'name' => 'view own field_private_quality', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'Unverified' => 'Unverified', + 'Utilisateur' => 'Utilisateur', + 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_service'. + $permissions['view own field_service'] = array( + 'name' => 'view own field_service', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_siret'. + $permissions['view own field_siret'] = array( + 'name' => 'view own field_siret', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + // Exported permission: 'view own field_user_website'. + $permissions['view own field_user_website'] = array( + 'name' => 'view own field_user_website', + 'roles' => array( + 'Adhérent' => 'Adhérent', + 'Contact opérationnel' => 'Contact opérationnel', + 'Premium' => 'Premium', + 'Student' => 'Student', + 'administrator' => 'administrator', + 'root' => 'root', + ), + 'module' => 'field_permissions', + ); + + return $permissions; +} diff --git a/sites/all/modules/features/materio_user_profiles/materio_user_profiles.info b/sites/all/modules/features/materio_user_profiles/materio_user_profiles.info new file mode 100644 index 00000000..4b1c8cee --- /dev/null +++ b/sites/all/modules/features/materio_user_profiles/materio_user_profiles.info @@ -0,0 +1,135 @@ +name = Materio user profiles +core = 7.x +package = Materio +dependencies[] = addressfield +dependencies[] = autocomplete_deluxe +dependencies[] = cck_phone +dependencies[] = email +dependencies[] = entity +dependencies[] = features +dependencies[] = field_permissions +dependencies[] = i18n_taxonomy +dependencies[] = link +dependencies[] = list +dependencies[] = materio_content_types +dependencies[] = number +dependencies[] = options +dependencies[] = profile2 +dependencies[] = taxonomy +dependencies[] = text +features[features_api][] = api:2 +features[field_base][] = field_activity_sector +features[field_base][] = field_administrative_email +features[field_base][] = field_adresse +features[field_base][] = field_company +features[field_base][] = field_employee +features[field_base][] = field_first_name +features[field_base][] = field_memo +features[field_base][] = field_naf +features[field_base][] = field_name +features[field_base][] = field_organization +features[field_base][] = field_private_email +features[field_base][] = field_private_name +features[field_base][] = field_private_name_title +features[field_base][] = field_private_phone +features[field_base][] = field_private_quality +features[field_base][] = field_service +features[field_base][] = field_siret +features[field_base][] = field_user_website +features[field_base][] = field_vat_number_intra_ce +features[field_instance][] = profile2-adherent-field_activity_sector +features[field_instance][] = profile2-adherent-field_administrative_email +features[field_instance][] = profile2-adherent-field_adresse +features[field_instance][] = profile2-adherent-field_employee +features[field_instance][] = profile2-adherent-field_first_name +features[field_instance][] = profile2-adherent-field_naf +features[field_instance][] = profile2-adherent-field_name +features[field_instance][] = profile2-adherent-field_organization +features[field_instance][] = profile2-adherent-field_private_name_title +features[field_instance][] = profile2-adherent-field_private_phone +features[field_instance][] = profile2-adherent-field_private_quality +features[field_instance][] = profile2-adherent-field_service +features[field_instance][] = profile2-adherent-field_siret +features[field_instance][] = profile2-adherent-field_user_website +features[field_instance][] = profile2-adherent-field_vat_number_intra_ce +features[field_instance][] = profile2-contact_operationnel-field_memo +features[field_instance][] = profile2-contact_operationnel-field_private_email +features[field_instance][] = profile2-contact_operationnel-field_private_name +features[field_instance][] = profile2-contact_operationnel-field_private_name_title +features[field_instance][] = profile2-contact_operationnel-field_private_phone +features[field_instance][] = profile2-contact_operationnel-field_private_quality +features[field_instance][] = user-user-field_company +features[field_instance][] = user-user-field_memo +features[profile2_type][] = adherent +features[profile2_type][] = contact_operationnel +features[user_permission][] = administer profile types +features[user_permission][] = administer profiles +features[user_permission][] = create field_adresse +features[user_permission][] = create field_employee +features[user_permission][] = create field_first_name +features[user_permission][] = create field_naf +features[user_permission][] = create field_name +features[user_permission][] = create field_organization +features[user_permission][] = create field_private_name_title +features[user_permission][] = create field_private_phone +features[user_permission][] = create field_private_quality +features[user_permission][] = create field_service +features[user_permission][] = create field_siret +features[user_permission][] = create field_user_website +features[user_permission][] = edit any adherent profile +features[user_permission][] = edit any contact_operationnel profile +features[user_permission][] = edit field_adresse +features[user_permission][] = edit field_employee +features[user_permission][] = edit field_first_name +features[user_permission][] = edit field_naf +features[user_permission][] = edit field_name +features[user_permission][] = edit field_organization +features[user_permission][] = edit field_private_name_title +features[user_permission][] = edit field_private_phone +features[user_permission][] = edit field_private_quality +features[user_permission][] = edit field_service +features[user_permission][] = edit field_siret +features[user_permission][] = edit field_user_website +features[user_permission][] = edit own adherent profile +features[user_permission][] = edit own contact_operationnel profile +features[user_permission][] = edit own field_adresse +features[user_permission][] = edit own field_employee +features[user_permission][] = edit own field_first_name +features[user_permission][] = edit own field_naf +features[user_permission][] = edit own field_name +features[user_permission][] = edit own field_organization +features[user_permission][] = edit own field_private_name_title +features[user_permission][] = edit own field_private_phone +features[user_permission][] = edit own field_private_quality +features[user_permission][] = edit own field_service +features[user_permission][] = edit own field_siret +features[user_permission][] = edit own field_user_website +features[user_permission][] = view any adherent profile +features[user_permission][] = view any contact_operationnel profile +features[user_permission][] = view field_adresse +features[user_permission][] = view field_employee +features[user_permission][] = view field_first_name +features[user_permission][] = view field_naf +features[user_permission][] = view field_name +features[user_permission][] = view field_organization +features[user_permission][] = view field_private_name_title +features[user_permission][] = view field_private_phone +features[user_permission][] = view field_private_quality +features[user_permission][] = view field_service +features[user_permission][] = view field_siret +features[user_permission][] = view field_user_website +features[user_permission][] = view own adherent profile +features[user_permission][] = view own contact_operationnel profile +features[user_permission][] = view own field_adresse +features[user_permission][] = view own field_employee +features[user_permission][] = view own field_first_name +features[user_permission][] = view own field_naf +features[user_permission][] = view own field_name +features[user_permission][] = view own field_organization +features[user_permission][] = view own field_private_name_title +features[user_permission][] = view own field_private_phone +features[user_permission][] = view own field_private_quality +features[user_permission][] = view own field_service +features[user_permission][] = view own field_siret +features[user_permission][] = view own field_user_website +project path = sites/all/modules/features diff --git a/sites/all/modules/features/materio_user_profiles/materio_user_profiles.module b/sites/all/modules/features/materio_user_profiles/materio_user_profiles.module new file mode 100644 index 00000000..0646e39d --- /dev/null +++ b/sites/all/modules/features/materio_user_profiles/materio_user_profiles.module @@ -0,0 +1,7 @@ +