1264 lines
		
	
	
		
			33 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			1264 lines
		
	
	
		
			33 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /**
 | |
|  * @file
 | |
|  * popsu_taxonomies.features.field.inc
 | |
|  */
 | |
| 
 | |
| /**
 | |
|  * Implements hook_field_default_fields().
 | |
|  */
 | |
| function popsu_taxonomies_field_default_fields() {
 | |
|   $fields = array();
 | |
| 
 | |
|   // Exported field: 'node-popsu_colloque-field_popsu_colloque_popsu'.
 | |
|   $fields['node-popsu_colloque-field_popsu_colloque_popsu'] = array(
 | |
|     'field_config' => array(
 | |
|       'active' => '1',
 | |
|       'cardinality' => '1',
 | |
|       'deleted' => '0',
 | |
|       'entity_types' => array(),
 | |
|       'field_name' => 'field_popsu_colloque_popsu',
 | |
|       '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' => 'popsu_popsu',
 | |
|             'parent' => '0',
 | |
|           ),
 | |
|         ),
 | |
|         'options_list_callback' => 'i18n_taxonomy_allowed_values',
 | |
|       ),
 | |
|       'translatable' => '0',
 | |
|       'type' => 'taxonomy_term_reference',
 | |
|     ),
 | |
|     'field_instance' => array(
 | |
|       'bundle' => 'popsu_colloque',
 | |
|       'default_value' => array(
 | |
|         0 => array(
 | |
|           'tid' => '1',
 | |
|         ),
 | |
|       ),
 | |
|       'deleted' => '0',
 | |
|       'description' => '',
 | |
|       'display' => array(
 | |
|         'default' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => '3',
 | |
|         ),
 | |
|         'teaser' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => 0,
 | |
|         ),
 | |
|       ),
 | |
|       'entity_type' => 'node',
 | |
|       'field_name' => 'field_popsu_colloque_popsu',
 | |
|       'label' => 'POPSU',
 | |
|       'required' => 1,
 | |
|       'settings' => array(
 | |
|         'user_register_form' => FALSE,
 | |
|       ),
 | |
|       'widget' => array(
 | |
|         'active' => 1,
 | |
|         'module' => 'options',
 | |
|         'settings' => array(),
 | |
|         'type' => 'options_select',
 | |
|         'weight' => '0',
 | |
|       ),
 | |
|     ),
 | |
|   );
 | |
| 
 | |
|   // Exported field: 'node-popsu_colloque-field_popsu_colloque_ville'.
 | |
|   $fields['node-popsu_colloque-field_popsu_colloque_ville'] = array(
 | |
|     'field_config' => array(
 | |
|       'active' => '1',
 | |
|       'cardinality' => '1',
 | |
|       'deleted' => '0',
 | |
|       'entity_types' => array(),
 | |
|       'field_name' => 'field_popsu_colloque_ville',
 | |
|       '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' => 'popsu_villes',
 | |
|             'parent' => '0',
 | |
|           ),
 | |
|         ),
 | |
|         'options_list_callback' => 'i18n_taxonomy_allowed_values',
 | |
|       ),
 | |
|       'translatable' => '0',
 | |
|       'type' => 'taxonomy_term_reference',
 | |
|     ),
 | |
|     'field_instance' => array(
 | |
|       'bundle' => 'popsu_colloque',
 | |
|       'default_value' => NULL,
 | |
|       'deleted' => '0',
 | |
|       'description' => '',
 | |
|       'display' => array(
 | |
|         'default' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => '4',
 | |
|         ),
 | |
|         'teaser' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => 0,
 | |
|         ),
 | |
|       ),
 | |
|       'entity_type' => 'node',
 | |
|       'field_name' => 'field_popsu_colloque_ville',
 | |
|       'label' => 'Ville',
 | |
|       'required' => 1,
 | |
|       'settings' => array(
 | |
|         'user_register_form' => FALSE,
 | |
|       ),
 | |
|       'widget' => array(
 | |
|         'active' => 1,
 | |
|         'module' => 'options',
 | |
|         'settings' => array(),
 | |
|         'type' => 'options_select',
 | |
|         'weight' => '1',
 | |
|       ),
 | |
|     ),
 | |
|   );
 | |
| 
 | |
|   // Exported field: 'node-popsu_page-field_popsu_page_popsu'.
 | |
|   $fields['node-popsu_page-field_popsu_page_popsu'] = array(
 | |
|     'field_config' => array(
 | |
|       'active' => '1',
 | |
|       'cardinality' => '1',
 | |
|       'deleted' => '0',
 | |
|       'entity_types' => array(),
 | |
|       'field_name' => 'field_popsu_page_popsu',
 | |
|       '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' => 'popsu_popsu',
 | |
|             'parent' => '0',
 | |
|           ),
 | |
|         ),
 | |
|         'options_list_callback' => 'i18n_taxonomy_allowed_values',
 | |
|       ),
 | |
|       'translatable' => '0',
 | |
|       'type' => 'taxonomy_term_reference',
 | |
|     ),
 | |
|     'field_instance' => array(
 | |
|       'bundle' => 'popsu_page',
 | |
|       'default_value' => array(
 | |
|         0 => array(
 | |
|           'tid' => '1',
 | |
|         ),
 | |
|       ),
 | |
|       'deleted' => '0',
 | |
|       'description' => '',
 | |
|       'display' => array(
 | |
|         'default' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => '1',
 | |
|         ),
 | |
|         'teaser' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => 0,
 | |
|         ),
 | |
|       ),
 | |
|       'entity_type' => 'node',
 | |
|       'field_name' => 'field_popsu_page_popsu',
 | |
|       'label' => 'POPSU',
 | |
|       'required' => 1,
 | |
|       'settings' => array(
 | |
|         'user_register_form' => FALSE,
 | |
|       ),
 | |
|       'widget' => array(
 | |
|         'active' => 1,
 | |
|         'module' => 'options',
 | |
|         'settings' => array(),
 | |
|         'type' => 'options_select',
 | |
|         'weight' => '1',
 | |
|       ),
 | |
|     ),
 | |
|   );
 | |
| 
 | |
|   // Exported field: 'node-popsu_point_ville-field_popsu_positionville_popsu'.
 | |
|   $fields['node-popsu_point_ville-field_popsu_positionville_popsu'] = array(
 | |
|     'field_config' => array(
 | |
|       'active' => '1',
 | |
|       'cardinality' => '-1',
 | |
|       'deleted' => '0',
 | |
|       'entity_types' => array(),
 | |
|       'field_name' => 'field_popsu_positionville_popsu',
 | |
|       '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' => 'popsu_popsu',
 | |
|             'parent' => '0',
 | |
|           ),
 | |
|         ),
 | |
|         'options_list_callback' => 'i18n_taxonomy_allowed_values',
 | |
|       ),
 | |
|       'translatable' => '0',
 | |
|       'type' => 'taxonomy_term_reference',
 | |
|     ),
 | |
|     'field_instance' => array(
 | |
|       'bundle' => 'popsu_point_ville',
 | |
|       'default_value' => NULL,
 | |
|       'deleted' => '0',
 | |
|       'description' => '',
 | |
|       'display' => array(
 | |
|         'default' => array(
 | |
|           'label' => 'above',
 | |
|           'module' => 'i18n_taxonomy',
 | |
|           'settings' => array(),
 | |
|           'type' => 'i18n_taxonomy_term_reference_link',
 | |
|           'weight' => 1,
 | |
|         ),
 | |
|         'teaser' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => 0,
 | |
|         ),
 | |
|       ),
 | |
|       'entity_type' => 'node',
 | |
|       'field_name' => 'field_popsu_positionville_popsu',
 | |
|       'label' => 'POPSU',
 | |
|       'required' => 1,
 | |
|       'settings' => array(
 | |
|         'user_register_form' => FALSE,
 | |
|       ),
 | |
|       'widget' => array(
 | |
|         'active' => 1,
 | |
|         'module' => 'options',
 | |
|         'settings' => array(),
 | |
|         'type' => 'options_buttons',
 | |
|         'weight' => '3',
 | |
|       ),
 | |
|     ),
 | |
|   );
 | |
| 
 | |
|   // Exported field: 'node-popsu_point_ville-field_popsu_positionville_ville'.
 | |
|   $fields['node-popsu_point_ville-field_popsu_positionville_ville'] = array(
 | |
|     'field_config' => array(
 | |
|       'active' => '1',
 | |
|       'cardinality' => '1',
 | |
|       'deleted' => '0',
 | |
|       'entity_types' => array(),
 | |
|       'field_name' => 'field_popsu_positionville_ville',
 | |
|       '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' => 'popsu_villes',
 | |
|             'parent' => '0',
 | |
|           ),
 | |
|         ),
 | |
|         'options_list_callback' => 'i18n_taxonomy_allowed_values',
 | |
|       ),
 | |
|       'translatable' => '0',
 | |
|       'type' => 'taxonomy_term_reference',
 | |
|     ),
 | |
|     'field_instance' => array(
 | |
|       'bundle' => 'popsu_point_ville',
 | |
|       'default_value' => NULL,
 | |
|       'deleted' => '0',
 | |
|       'description' => '',
 | |
|       'display' => array(
 | |
|         'default' => array(
 | |
|           'label' => 'above',
 | |
|           'module' => 'i18n_taxonomy',
 | |
|           'settings' => array(),
 | |
|           'type' => 'i18n_taxonomy_term_reference_link',
 | |
|           'weight' => 0,
 | |
|         ),
 | |
|         'teaser' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => 0,
 | |
|         ),
 | |
|       ),
 | |
|       'entity_type' => 'node',
 | |
|       'field_name' => 'field_popsu_positionville_ville',
 | |
|       'label' => 'Ville',
 | |
|       'required' => 1,
 | |
|       'settings' => array(
 | |
|         'user_register_form' => FALSE,
 | |
|       ),
 | |
|       'widget' => array(
 | |
|         'active' => 1,
 | |
|         'module' => 'options',
 | |
|         'settings' => array(),
 | |
|         'type' => 'options_select',
 | |
|         'weight' => '2',
 | |
|       ),
 | |
|     ),
 | |
|   );
 | |
| 
 | |
|   // Exported field: 'node-popsu_projet-field_popsu_projet_popsu'.
 | |
|   $fields['node-popsu_projet-field_popsu_projet_popsu'] = array(
 | |
|     'field_config' => array(
 | |
|       'active' => '1',
 | |
|       'cardinality' => '1',
 | |
|       'deleted' => '0',
 | |
|       'entity_types' => array(),
 | |
|       'field_name' => 'field_popsu_projet_popsu',
 | |
|       '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' => 'popsu_popsu',
 | |
|             'parent' => '0',
 | |
|           ),
 | |
|         ),
 | |
|         'options_list_callback' => 'i18n_taxonomy_allowed_values',
 | |
|       ),
 | |
|       'translatable' => '0',
 | |
|       'type' => 'taxonomy_term_reference',
 | |
|     ),
 | |
|     'field_instance' => array(
 | |
|       'bundle' => 'popsu_projet',
 | |
|       'default_value' => array(
 | |
|         0 => array(
 | |
|           'tid' => '1',
 | |
|         ),
 | |
|       ),
 | |
|       'deleted' => '0',
 | |
|       'description' => '',
 | |
|       'display' => array(
 | |
|         'default' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => '7',
 | |
|         ),
 | |
|         'teaser' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => 0,
 | |
|         ),
 | |
|       ),
 | |
|       'entity_type' => 'node',
 | |
|       'field_name' => 'field_popsu_projet_popsu',
 | |
|       'label' => 'POPSU',
 | |
|       'required' => 1,
 | |
|       'settings' => array(
 | |
|         'user_register_form' => FALSE,
 | |
|       ),
 | |
|       'widget' => array(
 | |
|         'active' => 1,
 | |
|         'module' => 'options',
 | |
|         'settings' => array(),
 | |
|         'type' => 'options_select',
 | |
|         'weight' => '0',
 | |
|       ),
 | |
|     ),
 | |
|   );
 | |
| 
 | |
|   // Exported field: 'node-popsu_projet-field_popsu_projet_ville'.
 | |
|   $fields['node-popsu_projet-field_popsu_projet_ville'] = array(
 | |
|     'field_config' => array(
 | |
|       'active' => '1',
 | |
|       'cardinality' => '1',
 | |
|       'deleted' => '0',
 | |
|       'entity_types' => array(),
 | |
|       'field_name' => 'field_popsu_projet_ville',
 | |
|       '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' => 'popsu_villes',
 | |
|             'parent' => '0',
 | |
|           ),
 | |
|         ),
 | |
|         'options_list_callback' => 'i18n_taxonomy_allowed_values',
 | |
|       ),
 | |
|       'translatable' => '0',
 | |
|       'type' => 'taxonomy_term_reference',
 | |
|     ),
 | |
|     'field_instance' => array(
 | |
|       'bundle' => 'popsu_projet',
 | |
|       'default_value' => NULL,
 | |
|       'deleted' => '0',
 | |
|       'description' => '',
 | |
|       'display' => array(
 | |
|         'default' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => '8',
 | |
|         ),
 | |
|         'teaser' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => 0,
 | |
|         ),
 | |
|       ),
 | |
|       'entity_type' => 'node',
 | |
|       'field_name' => 'field_popsu_projet_ville',
 | |
|       'label' => 'Ville',
 | |
|       'required' => 1,
 | |
|       'settings' => array(
 | |
|         'user_register_form' => FALSE,
 | |
|       ),
 | |
|       'widget' => array(
 | |
|         'active' => 1,
 | |
|         'module' => 'options',
 | |
|         'settings' => array(),
 | |
|         'type' => 'options_select',
 | |
|         'weight' => '1',
 | |
|       ),
 | |
|     ),
 | |
|   );
 | |
| 
 | |
|   // Exported field: 'node-popsu_projet_europe-field_popsu_projeteur_ville'.
 | |
|   $fields['node-popsu_projet_europe-field_popsu_projeteur_ville'] = array(
 | |
|     'field_config' => array(
 | |
|       'active' => '1',
 | |
|       'cardinality' => '1',
 | |
|       'deleted' => '0',
 | |
|       'entity_types' => array(),
 | |
|       'field_name' => 'field_popsu_projeteur_ville',
 | |
|       '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' => 'popsu_villes',
 | |
|             'parent' => '0',
 | |
|           ),
 | |
|         ),
 | |
|         'options_list_callback' => 'i18n_taxonomy_allowed_values',
 | |
|       ),
 | |
|       'translatable' => '0',
 | |
|       'type' => 'taxonomy_term_reference',
 | |
|     ),
 | |
|     'field_instance' => array(
 | |
|       'bundle' => 'popsu_projet_europe',
 | |
|       'default_value' => NULL,
 | |
|       'deleted' => '0',
 | |
|       'description' => '',
 | |
|       'display' => array(
 | |
|         'default' => array(
 | |
|           'label' => 'above',
 | |
|           'module' => 'i18n_taxonomy',
 | |
|           'settings' => array(),
 | |
|           'type' => 'i18n_taxonomy_term_reference_link',
 | |
|           'weight' => 1,
 | |
|         ),
 | |
|         'teaser' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => 0,
 | |
|         ),
 | |
|       ),
 | |
|       'entity_type' => 'node',
 | |
|       'field_name' => 'field_popsu_projeteur_ville',
 | |
|       'label' => 'Ville',
 | |
|       'required' => 1,
 | |
|       'settings' => array(
 | |
|         'user_register_form' => FALSE,
 | |
|       ),
 | |
|       'widget' => array(
 | |
|         'active' => 1,
 | |
|         'module' => 'options',
 | |
|         'settings' => array(),
 | |
|         'type' => 'options_select',
 | |
|         'weight' => '7',
 | |
|       ),
 | |
|     ),
 | |
|   );
 | |
| 
 | |
|   // Exported field: 'node-popsu_publication-field_popsu_publication_popsu'.
 | |
|   $fields['node-popsu_publication-field_popsu_publication_popsu'] = array(
 | |
|     'field_config' => array(
 | |
|       'active' => '1',
 | |
|       'cardinality' => '1',
 | |
|       'deleted' => '0',
 | |
|       'entity_types' => array(),
 | |
|       'field_name' => 'field_popsu_publication_popsu',
 | |
|       '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' => 'popsu_popsu',
 | |
|             'parent' => '0',
 | |
|           ),
 | |
|         ),
 | |
|         'options_list_callback' => 'i18n_taxonomy_allowed_values',
 | |
|       ),
 | |
|       'translatable' => '0',
 | |
|       'type' => 'taxonomy_term_reference',
 | |
|     ),
 | |
|     'field_instance' => array(
 | |
|       'bundle' => 'popsu_publication',
 | |
|       'default_value' => array(
 | |
|         0 => array(
 | |
|           'tid' => '1',
 | |
|         ),
 | |
|       ),
 | |
|       'deleted' => '0',
 | |
|       'description' => '',
 | |
|       'display' => array(
 | |
|         'default' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => '3',
 | |
|         ),
 | |
|         'teaser' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => 0,
 | |
|         ),
 | |
|       ),
 | |
|       'entity_type' => 'node',
 | |
|       'field_name' => 'field_popsu_publication_popsu',
 | |
|       'label' => 'POPSU',
 | |
|       'required' => 1,
 | |
|       'settings' => array(
 | |
|         'user_register_form' => FALSE,
 | |
|       ),
 | |
|       'widget' => array(
 | |
|         'active' => 1,
 | |
|         'module' => 'options',
 | |
|         'settings' => array(),
 | |
|         'type' => 'options_select',
 | |
|         'weight' => '0',
 | |
|       ),
 | |
|     ),
 | |
|   );
 | |
| 
 | |
|   // Exported field: 'node-popsu_publication-field_popsu_publication_ville'.
 | |
|   $fields['node-popsu_publication-field_popsu_publication_ville'] = array(
 | |
|     'field_config' => array(
 | |
|       'active' => '1',
 | |
|       'cardinality' => '1',
 | |
|       'deleted' => '0',
 | |
|       'entity_types' => array(),
 | |
|       'field_name' => 'field_popsu_publication_ville',
 | |
|       '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' => 'popsu_villes',
 | |
|             'parent' => '0',
 | |
|           ),
 | |
|         ),
 | |
|         'options_list_callback' => 'i18n_taxonomy_allowed_values',
 | |
|       ),
 | |
|       'translatable' => '0',
 | |
|       'type' => 'taxonomy_term_reference',
 | |
|     ),
 | |
|     'field_instance' => array(
 | |
|       'bundle' => 'popsu_publication',
 | |
|       'default_value' => NULL,
 | |
|       'deleted' => '0',
 | |
|       'description' => '',
 | |
|       'display' => array(
 | |
|         'default' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => '4',
 | |
|         ),
 | |
|         'teaser' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => 0,
 | |
|         ),
 | |
|       ),
 | |
|       'entity_type' => 'node',
 | |
|       'field_name' => 'field_popsu_publication_ville',
 | |
|       'label' => 'Ville (POPSU France)',
 | |
|       'required' => 0,
 | |
|       'settings' => array(
 | |
|         'user_register_form' => FALSE,
 | |
|       ),
 | |
|       'widget' => array(
 | |
|         'active' => 1,
 | |
|         'module' => 'options',
 | |
|         'settings' => array(),
 | |
|         'type' => 'options_select',
 | |
|         'weight' => '1',
 | |
|       ),
 | |
|     ),
 | |
|   );
 | |
| 
 | |
|   // Exported field: 'node-popsu_special-field_popsu_special_popsu'.
 | |
|   $fields['node-popsu_special-field_popsu_special_popsu'] = array(
 | |
|     'field_config' => array(
 | |
|       'active' => '1',
 | |
|       'cardinality' => '1',
 | |
|       'deleted' => '0',
 | |
|       'entity_types' => array(),
 | |
|       'field_name' => 'field_popsu_special_popsu',
 | |
|       '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' => 'popsu_popsu',
 | |
|             'parent' => '0',
 | |
|           ),
 | |
|         ),
 | |
|         'options_list_callback' => 'i18n_taxonomy_allowed_values',
 | |
|       ),
 | |
|       'translatable' => '0',
 | |
|       'type' => 'taxonomy_term_reference',
 | |
|     ),
 | |
|     'field_instance' => array(
 | |
|       'bundle' => 'popsu_special',
 | |
|       'default_value' => array(
 | |
|         0 => array(
 | |
|           'tid' => '1',
 | |
|         ),
 | |
|       ),
 | |
|       'deleted' => '0',
 | |
|       'description' => '',
 | |
|       'display' => array(
 | |
|         'default' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => '1',
 | |
|         ),
 | |
|         'teaser' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => 0,
 | |
|         ),
 | |
|       ),
 | |
|       'entity_type' => 'node',
 | |
|       'field_name' => 'field_popsu_special_popsu',
 | |
|       'label' => 'POPSU',
 | |
|       'required' => 1,
 | |
|       'settings' => array(
 | |
|         'user_register_form' => FALSE,
 | |
|       ),
 | |
|       'widget' => array(
 | |
|         'active' => 1,
 | |
|         'module' => 'options',
 | |
|         'settings' => array(),
 | |
|         'type' => 'options_select',
 | |
|         'weight' => '0',
 | |
|       ),
 | |
|     ),
 | |
|   );
 | |
| 
 | |
|   // Exported field: 'node-popsu_theme_local-field_popsu_themloc_popsu'.
 | |
|   $fields['node-popsu_theme_local-field_popsu_themloc_popsu'] = array(
 | |
|     'field_config' => array(
 | |
|       'active' => '1',
 | |
|       'cardinality' => '1',
 | |
|       'deleted' => '0',
 | |
|       'entity_types' => array(),
 | |
|       'field_name' => 'field_popsu_themloc_popsu',
 | |
|       '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' => 'popsu_popsu',
 | |
|             'parent' => '0',
 | |
|           ),
 | |
|         ),
 | |
|         'options_list_callback' => 'i18n_taxonomy_allowed_values',
 | |
|       ),
 | |
|       'translatable' => '0',
 | |
|       'type' => 'taxonomy_term_reference',
 | |
|     ),
 | |
|     'field_instance' => array(
 | |
|       'bundle' => 'popsu_theme_local',
 | |
|       'default_value' => array(
 | |
|         0 => array(
 | |
|           'tid' => '1',
 | |
|         ),
 | |
|       ),
 | |
|       'deleted' => '0',
 | |
|       'description' => '',
 | |
|       'display' => array(
 | |
|         'default' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => '3',
 | |
|         ),
 | |
|         'teaser' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => 0,
 | |
|         ),
 | |
|       ),
 | |
|       'entity_type' => 'node',
 | |
|       'field_name' => 'field_popsu_themloc_popsu',
 | |
|       'label' => 'POPSU',
 | |
|       'required' => 1,
 | |
|       'settings' => array(
 | |
|         'user_register_form' => FALSE,
 | |
|       ),
 | |
|       'widget' => array(
 | |
|         'active' => 1,
 | |
|         'module' => 'options',
 | |
|         'settings' => array(),
 | |
|         'type' => 'options_select',
 | |
|         'weight' => '1',
 | |
|       ),
 | |
|     ),
 | |
|   );
 | |
| 
 | |
|   // Exported field: 'node-popsu_theme_local-field_popsu_themloc_ville'.
 | |
|   $fields['node-popsu_theme_local-field_popsu_themloc_ville'] = array(
 | |
|     'field_config' => array(
 | |
|       'active' => '1',
 | |
|       'cardinality' => '1',
 | |
|       'deleted' => '0',
 | |
|       'entity_types' => array(),
 | |
|       'field_name' => 'field_popsu_themloc_ville',
 | |
|       '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' => 'popsu_villes',
 | |
|             'parent' => '0',
 | |
|           ),
 | |
|         ),
 | |
|         'options_list_callback' => 'i18n_taxonomy_allowed_values',
 | |
|       ),
 | |
|       'translatable' => '0',
 | |
|       'type' => 'taxonomy_term_reference',
 | |
|     ),
 | |
|     'field_instance' => array(
 | |
|       'bundle' => 'popsu_theme_local',
 | |
|       'default_value' => NULL,
 | |
|       'deleted' => '0',
 | |
|       'description' => '',
 | |
|       'display' => array(
 | |
|         'default' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => '4',
 | |
|         ),
 | |
|         'teaser' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => 0,
 | |
|         ),
 | |
|       ),
 | |
|       'entity_type' => 'node',
 | |
|       'field_name' => 'field_popsu_themloc_ville',
 | |
|       'label' => 'Ville',
 | |
|       'required' => 1,
 | |
|       'settings' => array(
 | |
|         'user_register_form' => FALSE,
 | |
|       ),
 | |
|       'widget' => array(
 | |
|         'active' => 1,
 | |
|         'module' => 'options',
 | |
|         'settings' => array(),
 | |
|         'type' => 'options_select',
 | |
|         'weight' => '2',
 | |
|       ),
 | |
|     ),
 | |
|   );
 | |
| 
 | |
|   // Exported field: 'node-popsu_theme_trans-field_popsu_themtrans_popsu'.
 | |
|   $fields['node-popsu_theme_trans-field_popsu_themtrans_popsu'] = array(
 | |
|     'field_config' => array(
 | |
|       'active' => '1',
 | |
|       'cardinality' => '1',
 | |
|       'deleted' => '0',
 | |
|       'entity_types' => array(),
 | |
|       'field_name' => 'field_popsu_themtrans_popsu',
 | |
|       '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' => 'popsu_popsu',
 | |
|             'parent' => '0',
 | |
|           ),
 | |
|         ),
 | |
|         'options_list_callback' => 'i18n_taxonomy_allowed_values',
 | |
|       ),
 | |
|       'translatable' => '0',
 | |
|       'type' => 'taxonomy_term_reference',
 | |
|     ),
 | |
|     'field_instance' => array(
 | |
|       'bundle' => 'popsu_theme_trans',
 | |
|       'default_value' => array(
 | |
|         0 => array(
 | |
|           'tid' => '1',
 | |
|         ),
 | |
|       ),
 | |
|       'deleted' => '0',
 | |
|       'description' => '',
 | |
|       'display' => array(
 | |
|         'default' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => '4',
 | |
|         ),
 | |
|         'teaser' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => 0,
 | |
|         ),
 | |
|       ),
 | |
|       'entity_type' => 'node',
 | |
|       'field_name' => 'field_popsu_themtrans_popsu',
 | |
|       'label' => 'POPSU',
 | |
|       'required' => 1,
 | |
|       'settings' => array(
 | |
|         'user_register_form' => FALSE,
 | |
|       ),
 | |
|       'widget' => array(
 | |
|         'active' => 1,
 | |
|         'module' => 'options',
 | |
|         'settings' => array(),
 | |
|         'type' => 'options_select',
 | |
|         'weight' => '0',
 | |
|       ),
 | |
|     ),
 | |
|   );
 | |
| 
 | |
|   // Exported field: 'node-popsu_theme_trans-field_popsu_themtrans_villes'.
 | |
|   $fields['node-popsu_theme_trans-field_popsu_themtrans_villes'] = array(
 | |
|     'field_config' => array(
 | |
|       'active' => '1',
 | |
|       'cardinality' => '-1',
 | |
|       'deleted' => '0',
 | |
|       'entity_types' => array(),
 | |
|       'field_name' => 'field_popsu_themtrans_villes',
 | |
|       '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' => 'popsu_villes',
 | |
|             'parent' => '0',
 | |
|           ),
 | |
|         ),
 | |
|         'options_list_callback' => 'i18n_taxonomy_allowed_values',
 | |
|       ),
 | |
|       'translatable' => '0',
 | |
|       'type' => 'taxonomy_term_reference',
 | |
|     ),
 | |
|     'field_instance' => array(
 | |
|       'bundle' => 'popsu_theme_trans',
 | |
|       'default_value' => NULL,
 | |
|       'deleted' => '0',
 | |
|       'description' => '',
 | |
|       'display' => array(
 | |
|         'default' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => '5',
 | |
|         ),
 | |
|         'teaser' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => 0,
 | |
|         ),
 | |
|       ),
 | |
|       'entity_type' => 'node',
 | |
|       'field_name' => 'field_popsu_themtrans_villes',
 | |
|       'label' => 'Villes concernées par ce thème',
 | |
|       'required' => 0,
 | |
|       'settings' => array(
 | |
|         'user_register_form' => FALSE,
 | |
|       ),
 | |
|       'widget' => array(
 | |
|         'active' => 1,
 | |
|         'module' => 'options',
 | |
|         'settings' => array(),
 | |
|         'type' => 'options_buttons',
 | |
|         'weight' => '2',
 | |
|       ),
 | |
|     ),
 | |
|   );
 | |
| 
 | |
|   // Exported field: 'node-popsu_ville-field_popsu_ville_popsu'.
 | |
|   $fields['node-popsu_ville-field_popsu_ville_popsu'] = array(
 | |
|     'field_config' => array(
 | |
|       'active' => '1',
 | |
|       'cardinality' => '1',
 | |
|       'deleted' => '0',
 | |
|       'entity_types' => array(),
 | |
|       'field_name' => 'field_popsu_ville_popsu',
 | |
|       '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' => 'popsu_popsu',
 | |
|             'parent' => '0',
 | |
|           ),
 | |
|         ),
 | |
|         'options_list_callback' => 'i18n_taxonomy_allowed_values',
 | |
|       ),
 | |
|       'translatable' => '0',
 | |
|       'type' => 'taxonomy_term_reference',
 | |
|     ),
 | |
|     'field_instance' => array(
 | |
|       'bundle' => 'popsu_ville',
 | |
|       'default_value' => array(
 | |
|         0 => array(
 | |
|           'tid' => '1',
 | |
|         ),
 | |
|       ),
 | |
|       'deleted' => '0',
 | |
|       'description' => '',
 | |
|       'display' => array(
 | |
|         'default' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => '5',
 | |
|         ),
 | |
|         'teaser' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => 0,
 | |
|         ),
 | |
|       ),
 | |
|       'entity_type' => 'node',
 | |
|       'field_name' => 'field_popsu_ville_popsu',
 | |
|       'label' => 'POPSU',
 | |
|       'required' => 1,
 | |
|       'settings' => array(
 | |
|         'user_register_form' => FALSE,
 | |
|       ),
 | |
|       'widget' => array(
 | |
|         'active' => 1,
 | |
|         'module' => 'options',
 | |
|         'settings' => array(),
 | |
|         'type' => 'options_select',
 | |
|         'weight' => '1',
 | |
|       ),
 | |
|     ),
 | |
|   );
 | |
| 
 | |
|   // Exported field: 'node-popsu_ville-field_popsu_ville_ville'.
 | |
|   $fields['node-popsu_ville-field_popsu_ville_ville'] = array(
 | |
|     'field_config' => array(
 | |
|       'active' => '1',
 | |
|       'cardinality' => '1',
 | |
|       'deleted' => '0',
 | |
|       'entity_types' => array(),
 | |
|       'field_name' => 'field_popsu_ville_ville',
 | |
|       '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' => 'popsu_villes',
 | |
|             'parent' => '0',
 | |
|           ),
 | |
|         ),
 | |
|         'options_list_callback' => 'i18n_taxonomy_allowed_values',
 | |
|       ),
 | |
|       'translatable' => '0',
 | |
|       'type' => 'taxonomy_term_reference',
 | |
|     ),
 | |
|     'field_instance' => array(
 | |
|       'bundle' => 'popsu_ville',
 | |
|       'default_value' => NULL,
 | |
|       'deleted' => '0',
 | |
|       'description' => '',
 | |
|       'display' => array(
 | |
|         'default' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => '6',
 | |
|         ),
 | |
|         'teaser' => array(
 | |
|           'label' => 'above',
 | |
|           'settings' => array(),
 | |
|           'type' => 'hidden',
 | |
|           'weight' => 0,
 | |
|         ),
 | |
|       ),
 | |
|       'entity_type' => 'node',
 | |
|       'field_name' => 'field_popsu_ville_ville',
 | |
|       'label' => 'Ville',
 | |
|       'required' => 1,
 | |
|       'settings' => array(
 | |
|         'user_register_form' => FALSE,
 | |
|       ),
 | |
|       'widget' => array(
 | |
|         'active' => 1,
 | |
|         'module' => 'options',
 | |
|         'settings' => array(),
 | |
|         'type' => 'options_select',
 | |
|         'weight' => '2',
 | |
|       ),
 | |
|     ),
 | |
|   );
 | |
| 
 | |
|   // Translatables
 | |
|   // Included for use with string extractors like potx.
 | |
|   t('POPSU');
 | |
|   t('Ville');
 | |
|   t('Ville (POPSU France)');
 | |
|   t('Villes concernées par ce thème');
 | |
| 
 | |
|   return $fields;
 | |
| }
 | 
