merged features sudmodule
This commit is contained in:
commit
886114f49b
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* frequently_asked_questions.features.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_ctools_plugin_api().
|
||||
*/
|
||||
function frequently_asked_questions_ctools_plugin_api($module = NULL, $api = NULL) {
|
||||
if ($module == "strongarm" && $api == "strongarm") {
|
||||
return array("version" => "1");
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* frequently_asked_questions.features.taxonomy.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_taxonomy_default_vocabularies().
|
||||
*/
|
||||
function frequently_asked_questions_taxonomy_default_vocabularies() {
|
||||
return array(
|
||||
'faq_categories' => array(
|
||||
'name' => 'faq categories',
|
||||
'machine_name' => 'faq_categories',
|
||||
'description' => '',
|
||||
'hierarchy' => 0,
|
||||
'module' => 'taxonomy',
|
||||
'weight' => 0,
|
||||
'language' => 'und',
|
||||
'i18n_mode' => 1,
|
||||
),
|
||||
);
|
||||
}
|
@ -0,0 +1,141 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* frequently_asked_questions.features.user_permission.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_user_default_permissions().
|
||||
*/
|
||||
function frequently_asked_questions_user_default_permissions() {
|
||||
$permissions = array();
|
||||
|
||||
// Exported permission: 'administer faq'.
|
||||
$permissions['administer faq'] = array(
|
||||
'name' => '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;
|
||||
}
|
@ -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
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Code for the frequently asked questions feature.
|
||||
*/
|
||||
|
||||
include_once 'frequently_asked_questions.features.inc';
|
@ -0,0 +1,270 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* frequently_asked_questions.strongarm.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_strongarm().
|
||||
*/
|
||||
function frequently_asked_questions_strongarm() {
|
||||
$export = array();
|
||||
|
||||
$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_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;
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_administration.features.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_ctools_plugin_api().
|
||||
*/
|
||||
function materio_administration_ctools_plugin_api($module = NULL, $api = NULL) {
|
||||
if ($module == "strongarm" && $api == "strongarm") {
|
||||
return array("version" => "1");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_views_api().
|
||||
*/
|
||||
function materio_administration_views_api($module = NULL, $api = NULL) {
|
||||
return array("api" => "3.0");
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_administration.features.menu_custom.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_menu_default_menu_custom().
|
||||
*/
|
||||
function materio_administration_menu_default_menu_custom() {
|
||||
$menus = array();
|
||||
|
||||
// Exported menu: navigation.
|
||||
$menus['navigation'] = array(
|
||||
'menu_name' => 'navigation',
|
||||
'title' => 'Navigation',
|
||||
'description' => 'The <em>Navigation</em> menu contains links intended for site visitors. Links are added to the <em>Navigation</em> menu automatically by some modules.',
|
||||
'language' => 'und',
|
||||
'i18n_mode' => 0,
|
||||
);
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
t('Navigation');
|
||||
t('The <em>Navigation</em> menu contains links intended for site visitors. Links are added to the <em>Navigation</em> menu automatically by some modules.');
|
||||
|
||||
|
||||
return $menus;
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_administration.features.menu_links.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_menu_default_menu_links().
|
||||
*/
|
||||
function materio_administration_menu_default_menu_links() {
|
||||
$menu_links = array();
|
||||
|
||||
// Exported menu link: navigation_:materio_search_api_ajax/actuality
|
||||
$menu_links['navigation_:materio_search_api_ajax/actuality'] = array(
|
||||
'menu_name' => '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;
|
||||
}
|
@ -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
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Code for the Materio Administration feature.
|
||||
*/
|
||||
|
||||
include_once 'materio_administration.features.inc';
|
@ -0,0 +1,173 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_administration.strongarm.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_strongarm().
|
||||
*/
|
||||
function materio_administration_strongarm() {
|
||||
$export = array();
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->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;
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,91 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_bookmarks.features.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_flag_default_flags().
|
||||
*/
|
||||
function materio_bookmarks_flag_default_flags() {
|
||||
$flags = array();
|
||||
// Exported flag: "Bookmarks".
|
||||
$flags['bookmarks'] = array(
|
||||
'entity_type' => '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;
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_bookmarks.features.user_permission.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_user_default_permissions().
|
||||
*/
|
||||
function materio_bookmarks_user_default_permissions() {
|
||||
$permissions = array();
|
||||
|
||||
// Exported permission: 'flag bookmarks'.
|
||||
$permissions['flag bookmarks'] = array(
|
||||
'name' => '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;
|
||||
}
|
@ -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
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Code for the Materio bookmarks feature.
|
||||
*/
|
||||
|
||||
include_once 'materio_bookmarks.features.inc';
|
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_content_types.default_corresponding_entity_references_presets.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_default_corresponding_entity_references().
|
||||
*/
|
||||
function materio_content_types_default_corresponding_entity_references() {
|
||||
$export = array();
|
||||
|
||||
$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*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;
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,177 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_content_types.features.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_ctools_plugin_api().
|
||||
*/
|
||||
function materio_content_types_ctools_plugin_api($module = NULL, $api = NULL) {
|
||||
if ($module == "cer" && $api == "default_cer_presets") {
|
||||
return array("version" => "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;
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_content_types.features.taxonomy.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_taxonomy_default_vocabularies().
|
||||
*/
|
||||
function materio_content_types_taxonomy_default_vocabularies() {
|
||||
return array(
|
||||
'company' => 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,
|
||||
),
|
||||
);
|
||||
}
|
@ -0,0 +1,905 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_content_types.features.user_permission.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_user_default_permissions().
|
||||
*/
|
||||
function materio_content_types_user_default_permissions() {
|
||||
$permissions = array();
|
||||
|
||||
// Exported permission: 'access private fields'.
|
||||
$permissions['access private fields'] = array(
|
||||
'name' => '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;
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -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
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Code for the Materio Content types feature.
|
||||
*/
|
||||
|
||||
include_once 'materio_content_types.features.inc';
|
@ -0,0 +1,587 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_content_types.strongarm.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_strongarm().
|
||||
*/
|
||||
function materio_content_types_strongarm() {
|
||||
$export = array();
|
||||
|
||||
$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__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;
|
||||
}
|
@ -0,0 +1,137 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_content_types.views_default.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_views_default_views().
|
||||
*/
|
||||
function materio_content_types_views_default_views() {
|
||||
$export = array();
|
||||
|
||||
$view = new view();
|
||||
$view->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;
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_feedback.features.user_permission.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_user_default_permissions().
|
||||
*/
|
||||
function materio_feedback_user_default_permissions() {
|
||||
$permissions = array();
|
||||
|
||||
// Exported permission: 'access feedback form'.
|
||||
$permissions['access feedback form'] = array(
|
||||
'name' => '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;
|
||||
}
|
@ -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
|
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
*/
|
||||
|
||||
// Drupal needs this blank file.
|
@ -0,0 +1,82 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_folders.features.user_permission.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_user_default_permissions().
|
||||
*/
|
||||
function materio_folders_user_default_permissions() {
|
||||
$permissions = array();
|
||||
|
||||
// Exported permission: 'create flag lists'.
|
||||
$permissions['create flag lists'] = array(
|
||||
'name' => '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;
|
||||
}
|
@ -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
|
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
*/
|
||||
|
||||
// Drupal needs this blank file.
|
@ -0,0 +1,706 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_search.features.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_ctools_plugin_api().
|
||||
*/
|
||||
function materio_search_ctools_plugin_api($module = NULL, $api = NULL) {
|
||||
if ($module == "strongarm" && $api == "strongarm") {
|
||||
return array("version" => "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;
|
||||
}
|
@ -0,0 +1,164 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_search.features.user_permission.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_user_default_permissions().
|
||||
*/
|
||||
function materio_search_user_default_permissions() {
|
||||
$permissions = array();
|
||||
|
||||
// Exported permission: 'administer materio_search_api'.
|
||||
$permissions['administer materio_search_api'] = array(
|
||||
'name' => '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;
|
||||
}
|
@ -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
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Code for the Materio Search feature.
|
||||
*/
|
||||
|
||||
include_once 'materio_search.features.inc';
|
@ -0,0 +1,52 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_search.rules_defaults.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_default_rules_configuration().
|
||||
*/
|
||||
function materio_search_default_rules_configuration() {
|
||||
$items = array();
|
||||
$items['rules_update_node_on_term_save'] = entity_import('rules_config', '{ "rules_update_node_on_term_save" : {
|
||||
"LABEL" : "update search_api indexes on term save",
|
||||
"PLUGIN" : "reaction rule",
|
||||
"TAGS" : [ "search api" ],
|
||||
"REQUIRES" : [ "rules", "search_api", "taxonomy" ],
|
||||
"ON" : [ "taxonomy_term_update" ],
|
||||
"DO" : [
|
||||
{ "entity_query" : {
|
||||
"USING" : {
|
||||
"type" : "node",
|
||||
"property" : "field_onthologie",
|
||||
"value" : [ "term" ],
|
||||
"limit" : "9999999"
|
||||
},
|
||||
"PROVIDE" : { "entity_fetched" : { "nodes_to_index" : "Les noeuds \\u00e0 indexer" } }
|
||||
}
|
||||
},
|
||||
{ "LOOP" : {
|
||||
"USING" : { "list" : [ "nodes-to-index" ] },
|
||||
"ITEM" : { "node_to_index" : "node a indexer depuis la liste" },
|
||||
"DO" : [
|
||||
{ "search_api_index" : {
|
||||
"entity" : [ "node-to-index" ],
|
||||
"index" : "materiaux_breves",
|
||||
"index_immediately" : 0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{ "search_api_index" : {
|
||||
"entity" : [ "term" ],
|
||||
"index" : "referencement",
|
||||
"index_immediately" : 0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}');
|
||||
return $items;
|
||||
}
|
@ -0,0 +1,93 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_search.strongarm.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_strongarm().
|
||||
*/
|
||||
function materio_search_strongarm() {
|
||||
$export = array();
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->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;
|
||||
}
|
@ -0,0 +1,185 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_subscriptions.features.field_base.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_field_default_field_bases().
|
||||
*/
|
||||
function materio_subscriptions_field_default_field_bases() {
|
||||
$field_bases = array();
|
||||
|
||||
// Exported field_base: 'body'
|
||||
$field_bases['body'] = 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',
|
||||
);
|
||||
|
||||
// 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;
|
||||
}
|
@ -0,0 +1,360 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_subscriptions.features.field_instance.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_field_default_field_instances().
|
||||
*/
|
||||
function materio_subscriptions_field_default_field_instances() {
|
||||
$field_instances = array();
|
||||
|
||||
// Exported field_instance: 'node-product-body'
|
||||
$field_instances['node-product-body'] = 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' => '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;
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_subscriptions.features.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_ctools_plugin_api().
|
||||
*/
|
||||
function materio_subscriptions_ctools_plugin_api($module = NULL, $api = NULL) {
|
||||
if ($module == "strongarm" && $api == "strongarm") {
|
||||
return array("version" => "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 <em>produits</em> 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;
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_subscriptions.features.taxonomy.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_taxonomy_default_vocabularies().
|
||||
*/
|
||||
function materio_subscriptions_taxonomy_default_vocabularies() {
|
||||
return array(
|
||||
'catalog' => array(
|
||||
'name' => 'Catalog',
|
||||
'machine_name' => 'catalog',
|
||||
'description' => '',
|
||||
'hierarchy' => 1,
|
||||
'module' => 'uc_catalog',
|
||||
'weight' => 0,
|
||||
'language' => 'und',
|
||||
'i18n_mode' => 0,
|
||||
),
|
||||
);
|
||||
}
|
@ -0,0 +1,325 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_subscriptions.features.user_permission.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_user_default_permissions().
|
||||
*/
|
||||
function materio_subscriptions_user_default_permissions() {
|
||||
$permissions = array();
|
||||
|
||||
// Exported permission: 'access default UC roles expiration list'.
|
||||
$permissions['access default UC roles expiration list'] = array(
|
||||
'name' => '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;
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_subscriptions.features.user_role.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_user_default_roles().
|
||||
*/
|
||||
function materio_subscriptions_user_default_roles() {
|
||||
$roles = array();
|
||||
|
||||
// Exported role: Adhérent.
|
||||
$roles['Adhérent'] = array(
|
||||
'name' => '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;
|
||||
}
|
@ -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
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Code for the Materio Subscriptions feature.
|
||||
*/
|
||||
|
||||
include_once 'materio_subscriptions.features.inc';
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_user_import.features.user_permission.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_user_default_permissions().
|
||||
*/
|
||||
function materio_user_import_user_default_permissions() {
|
||||
$permissions = array();
|
||||
|
||||
// Exported permission: 'import users'.
|
||||
$permissions['import users'] = array(
|
||||
'name' => 'import users',
|
||||
'roles' => array(),
|
||||
'module' => 'user_import',
|
||||
);
|
||||
|
||||
return $permissions;
|
||||
}
|
@ -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
|
@ -0,0 +1,5 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Drupal needs this blank file.
|
||||
*/
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,733 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_user_profiles.features.field_base.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_field_default_field_bases().
|
||||
*/
|
||||
function materio_user_profiles_field_default_field_bases() {
|
||||
$field_bases = array();
|
||||
|
||||
// Exported field_base: 'field_activity_sector'
|
||||
$field_bases['field_activity_sector'] = array(
|
||||
'active' => 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;
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_user_profiles.features.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_default_profile2_type().
|
||||
*/
|
||||
function materio_user_profiles_default_profile2_type() {
|
||||
$items = array();
|
||||
$items['adherent'] = entity_import('profile2_type', '{
|
||||
"userCategory" : true,
|
||||
"userView" : true,
|
||||
"type" : "adherent",
|
||||
"label" : "Member Profile",
|
||||
"weight" : "0",
|
||||
"data" : { "registration" : 0, "use_page" : 0 }
|
||||
}');
|
||||
$items['contact_operationnel'] = entity_import('profile2_type', '{
|
||||
"userCategory" : true,
|
||||
"userView" : true,
|
||||
"type" : "contact_operationnel",
|
||||
"label" : "Contact Profile",
|
||||
"weight" : "0",
|
||||
"data" : { "registration" : 0 }
|
||||
}');
|
||||
return $items;
|
||||
}
|
@ -0,0 +1,833 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_user_profiles.features.user_permission.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_user_default_permissions().
|
||||
*/
|
||||
function materio_user_profiles_user_default_permissions() {
|
||||
$permissions = array();
|
||||
|
||||
// Exported permission: 'administer profile types'.
|
||||
$permissions['administer profile types'] = array(
|
||||
'name' => '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;
|
||||
}
|
@ -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
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Code for the Materio user profiles feature.
|
||||
*/
|
||||
|
||||
include_once 'materio_user_profiles.features.inc';
|
Loading…
x
Reference in New Issue
Block a user