features : Materio content type

This commit is contained in:
Bachir Soussi Chiadmi 2014-08-27 16:13:36 +02:00
parent 0545fabe49
commit 9f3444676a
5 changed files with 103 additions and 25 deletions

View File

@ -844,6 +844,37 @@ $entity_field[0][\'value\'] = format_date($entity->created, \'breves\');',
'type' => 'taxonomy_term_reference', 'type' => 'taxonomy_term_reference',
); );
// Exported field_base: 'field_used_on_advanced_search'
$field_bases['field_used_on_advanced_search'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_used_on_advanced_search',
'field_permissions' => array(
'type' => 2,
),
'foreign keys' => array(),
'indexes' => array(
'value' => array(
0 => 'value',
),
),
'locked' => 0,
'module' => 'list',
'settings' => array(
'allowed_values' => array(
0 => 0,
1 => 1,
),
'allowed_values_function' => '',
'entity_translation_sync' => FALSE,
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'list_boolean',
);
// Exported field_base: 'field_video_filter' // Exported field_base: 'field_video_filter'
$field_bases['field_video_filter'] = array( $field_bases['field_video_filter'] = array(
'active' => 1, 'active' => 1,

View File

@ -3517,9 +3517,8 @@ function materio_content_types_field_default_field_instances() {
), ),
'default' => array( 'default' => array(
'label' => 'above', 'label' => 'above',
'module' => 'computed_field',
'settings' => array(), 'settings' => array(),
'type' => 'computed_field_plain', 'type' => 'hidden',
'weight' => 24, 'weight' => 24,
), ),
'print' => array( 'print' => array(
@ -3530,9 +3529,8 @@ function materio_content_types_field_default_field_instances() {
), ),
'teaser' => array( 'teaser' => array(
'label' => 'hidden', 'label' => 'hidden',
'module' => 'computed_field',
'settings' => array(), 'settings' => array(),
'type' => 'computed_field_unsanitized', 'type' => 'hidden',
'weight' => 3, 'weight' => 3,
), ),
), ),
@ -3999,6 +3997,44 @@ function materio_content_types_field_default_field_instances() {
), ),
); );
// Exported field_instance: 'taxonomy_term-onthologie-field_used_on_advanced_search'
$field_instances['taxonomy_term-onthologie-field_used_on_advanced_search'] = array(
'bundle' => 'onthologie',
'default_value' => array(
0 => array(
'value' => 0,
),
),
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'list',
'settings' => array(),
'type' => 'list_default',
'weight' => 0,
),
),
'entity_type' => 'taxonomy_term',
'field_name' => 'field_used_on_advanced_search',
'label' => 'Display term on advanced search.',
'required' => 0,
'settings' => array(
'entity_translation_sync' => FALSE,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(
'display_label' => 1,
),
'type' => 'options_onoff',
'weight' => 1,
),
);
// Exported field_instance: 'taxonomy_term-onthologie-name_field' // Exported field_instance: 'taxonomy_term-onthologie-name_field'
$field_instances['taxonomy_term-onthologie-name_field'] = array( $field_instances['taxonomy_term-onthologie-name_field'] = array(
'bundle' => 'onthologie', 'bundle' => 'onthologie',
@ -4010,7 +4046,7 @@ function materio_content_types_field_default_field_instances() {
'label' => 'above', 'label' => 'above',
'settings' => array(), 'settings' => array(),
'type' => 'hidden', 'type' => 'hidden',
'weight' => 1, 'weight' => 3,
), ),
'search_index' => array( 'search_index' => array(
'label' => 'hidden', 'label' => 'hidden',
@ -4039,7 +4075,7 @@ function materio_content_types_field_default_field_instances() {
'size' => 60, 'size' => 60,
), ),
'type' => 'text_textfield', 'type' => 'text_textfield',
'weight' => -5, 'weight' => 0,
), ),
); );
@ -4055,7 +4091,7 @@ function materio_content_types_field_default_field_instances() {
'module' => 'text', 'module' => 'text',
'settings' => array(), 'settings' => array(),
'type' => 'text_default', 'type' => 'text_default',
'weight' => 0, 'weight' => 1,
), ),
'search_index' => array( 'search_index' => array(
'label' => 'hidden', 'label' => 'hidden',
@ -4081,7 +4117,7 @@ function materio_content_types_field_default_field_instances() {
'size' => 60, 'size' => 60,
), ),
'type' => 'text_textfield', 'type' => 'text_textfield',
'weight' => 31, 'weight' => 5,
), ),
); );
@ -4167,6 +4203,7 @@ function materio_content_types_field_default_field_instances() {
t('Brève(s) liée(s)'); t('Brève(s) liée(s)');
t('Department'); t('Department');
t('Description'); t('Description');
t('Display term on advanced search.');
t('Distributor'); t('Distributor');
t('Email'); t('Email');
t('Famille'); t('Famille');

View File

@ -552,22 +552,6 @@ function materio_content_types_user_default_permissions() {
'module' => 'materio_page_title', 'module' => 'materio_page_title',
); );
// Exported permission: 'show panel title'.
$permissions['show panel title'] = array(
'name' => 'show panel title',
'roles' => array(
'Adhérent' => 'Adhérent',
'Student' => 'Student',
'Unverified' => 'Unverified',
'Utilisateur' => 'Utilisateur',
'Utilisateur test UC' => 'Utilisateur test UC',
'administrator' => 'administrator',
'anonymous user' => 'anonymous user',
'root' => 'root',
),
'module' => 'materio_page_title',
);
// Exported permission: 'show webform title'. // Exported permission: 'show webform title'.
$permissions['show webform title'] = array( $permissions['show webform title'] = array(
'name' => 'show webform title', 'name' => 'show webform title',

View File

@ -59,6 +59,7 @@ features[field_base][] = field_reference_materio
features[field_base][] = field_source features[field_base][] = field_source
features[field_base][] = field_tags_libres features[field_base][] = field_tags_libres
features[field_base][] = field_tode_company features[field_base][] = field_tode_company
features[field_base][] = field_used_on_advanced_search
features[field_base][] = field_video_filter features[field_base][] = field_video_filter
features[field_base][] = field_visuel features[field_base][] = field_visuel
features[field_base][] = field_website features[field_base][] = field_website
@ -162,6 +163,7 @@ features[field_instance][] = node-page-title_field
features[field_instance][] = node-webform-body features[field_instance][] = node-webform-body
features[field_instance][] = node-webform-title_field features[field_instance][] = node-webform-title_field
features[field_instance][] = taxonomy_term-company-synonyms_synonym 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-name_field
features[field_instance][] = taxonomy_term-onthologie-synonyms_synonym features[field_instance][] = taxonomy_term-onthologie-synonyms_synonym
features[field_instance][] = taxonomy_term-tag_libres-name_field features[field_instance][] = taxonomy_term-tag_libres-name_field
@ -232,7 +234,6 @@ features[user_permission][] = show breve title
features[user_permission][] = show company title features[user_permission][] = show company title
features[user_permission][] = show materiau title features[user_permission][] = show materiau title
features[user_permission][] = show page title features[user_permission][] = show page title
features[user_permission][] = show panel title
features[user_permission][] = show webform title features[user_permission][] = show webform title
features[user_permission][] = view field_attachments features[user_permission][] = view field_attachments
features[user_permission][] = view field_company features[user_permission][] = view field_company

View File

@ -186,6 +186,15 @@ function materio_content_types_strongarm() {
'diff_standard' => array( 'diff_standard' => array(
'custom_settings' => FALSE, 'custom_settings' => FALSE,
), ),
'email_plain' => array(
'custom_settings' => FALSE,
),
'email_html' => array(
'custom_settings' => FALSE,
),
'email_textalt' => array(
'custom_settings' => FALSE,
),
), ),
'extra_fields' => array( 'extra_fields' => array(
'form' => array( 'form' => array(
@ -248,6 +257,14 @@ function materio_content_types_strongarm() {
'weight' => '-99', 'weight' => '-99',
'visible' => TRUE, 'visible' => TRUE,
), ),
'default' => array(
'weight' => '-99',
'visible' => FALSE,
),
'teaser' => array(
'weight' => '-99',
'visible' => FALSE,
),
), ),
'workflow' => array( 'workflow' => array(
'cardmedium' => array( 'cardmedium' => array(
@ -262,6 +279,14 @@ function materio_content_types_strongarm() {
'weight' => '99', 'weight' => '99',
'visible' => FALSE, 'visible' => FALSE,
), ),
'default' => array(
'weight' => '99',
'visible' => FALSE,
),
'teaser' => array(
'weight' => '99',
'visible' => FALSE,
),
), ),
), ),
), ),