961 lines
26 KiB
PHP
961 lines
26 KiB
PHP
<?php
|
|
/**
|
|
* @file
|
|
* popsu_projets.features.field.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_field_default_fields().
|
|
*/
|
|
function popsu_projets_field_default_fields() {
|
|
$fields = array();
|
|
|
|
// Exported field: 'node-popsu_projet-field_popsu_projet_acteurs'.
|
|
$fields['node-popsu_projet-field_popsu_projet_acteurs'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_popsu_projet_acteurs',
|
|
'foreign keys' => array(
|
|
'format' => array(
|
|
'columns' => array(
|
|
'format' => 'format',
|
|
),
|
|
'table' => 'filter_format',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'format' => array(
|
|
0 => 'format',
|
|
),
|
|
),
|
|
'locked' => '0',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'translatable' => '0',
|
|
'type' => 'text_long',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'popsu_projet',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '4',
|
|
),
|
|
'teaser' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => 0,
|
|
),
|
|
),
|
|
'entity_type' => 'node',
|
|
'field_name' => 'field_popsu_projet_acteurs',
|
|
'label' => 'Acteurs',
|
|
'required' => 0,
|
|
'settings' => array(
|
|
'text_processing' => '1',
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'active' => 1,
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'rows' => '5',
|
|
),
|
|
'type' => 'text_textarea',
|
|
'weight' => '15',
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'node-popsu_projet-field_popsu_projet_adresse'.
|
|
$fields['node-popsu_projet-field_popsu_projet_adresse'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_popsu_projet_adresse',
|
|
'foreign keys' => array(),
|
|
'indexes' => array(),
|
|
'locked' => '0',
|
|
'module' => 'addressfield',
|
|
'settings' => array(),
|
|
'translatable' => '0',
|
|
'type' => 'addressfield',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'popsu_projet',
|
|
'default_value' => array(
|
|
0 => array(
|
|
'element_key' => 'node|popsu_projet|field_popsu_projet_adresse|und|0',
|
|
'thoroughfare' => '',
|
|
'premise' => '',
|
|
'postal_code' => '',
|
|
'locality' => '',
|
|
'country' => 'FR',
|
|
),
|
|
),
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'above',
|
|
'module' => 'addressfield',
|
|
'settings' => array(
|
|
'format_handlers' => array(
|
|
0 => 'address',
|
|
),
|
|
'use_widget_handlers' => 1,
|
|
),
|
|
'type' => 'addressfield_default',
|
|
'weight' => '10',
|
|
),
|
|
'teaser' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => 0,
|
|
),
|
|
),
|
|
'entity_type' => 'node',
|
|
'field_name' => 'field_popsu_projet_adresse',
|
|
'label' => 'Emplacement du projet',
|
|
'required' => 0,
|
|
'settings' => array(
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'active' => 1,
|
|
'module' => 'addressfield',
|
|
'settings' => array(
|
|
'available_countries' => array(),
|
|
'format_handlers' => array(
|
|
'address' => 'address',
|
|
'address-hide-country' => 0,
|
|
'organisation' => 0,
|
|
'name-full' => 0,
|
|
'name-oneline' => 0,
|
|
),
|
|
),
|
|
'type' => 'addressfield_standard',
|
|
'weight' => '7',
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'node-popsu_projet-field_popsu_projet_commune'.
|
|
$fields['node-popsu_projet-field_popsu_projet_commune'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_popsu_projet_commune',
|
|
'foreign keys' => array(
|
|
'format' => array(
|
|
'columns' => array(
|
|
'format' => 'format',
|
|
),
|
|
'table' => 'filter_format',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'format' => array(
|
|
0 => 'format',
|
|
),
|
|
),
|
|
'locked' => '0',
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'max_length' => '255',
|
|
),
|
|
'translatable' => '0',
|
|
'type' => 'text',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'popsu_projet',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'above',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '0',
|
|
),
|
|
'teaser' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => 0,
|
|
),
|
|
),
|
|
'entity_type' => 'node',
|
|
'field_name' => 'field_popsu_projet_commune',
|
|
'label' => 'Commune concernée (si agglomération)',
|
|
'required' => 0,
|
|
'settings' => array(
|
|
'text_processing' => '0',
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'active' => 1,
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'size' => '60',
|
|
),
|
|
'type' => 'text_textfield',
|
|
'weight' => '3',
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'node-popsu_projet-field_popsu_projet_comparatif'.
|
|
$fields['node-popsu_projet-field_popsu_projet_comparatif'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '-1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_popsu_projet_comparatif',
|
|
'foreign keys' => array(
|
|
'nid' => array(
|
|
'columns' => array(
|
|
'nid' => 'nid',
|
|
),
|
|
'table' => 'node',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'nid' => array(
|
|
0 => 'nid',
|
|
),
|
|
),
|
|
'locked' => '0',
|
|
'module' => 'node_reference',
|
|
'settings' => array(
|
|
'referenceable_types' => array(
|
|
'article' => 0,
|
|
'page' => 0,
|
|
'popsu_colloque' => 0,
|
|
'popsu_document' => 0,
|
|
'popsu_page' => 0,
|
|
'popsu_projet' => 0,
|
|
'popsu_publication' => 0,
|
|
'popsu_special' => 0,
|
|
'popsu_theme_europe' => 0,
|
|
'popsu_theme_local' => 0,
|
|
'popsu_theme_trans' => 'popsu_theme_trans',
|
|
'popsu_ville' => 0,
|
|
'popsu_ville_europe' => 0,
|
|
),
|
|
'view' => array(
|
|
'args' => array(),
|
|
'display_name' => '',
|
|
'view_name' => '',
|
|
),
|
|
),
|
|
'translatable' => '0',
|
|
'type' => 'node_reference',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'popsu_projet',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'above',
|
|
'module' => 'node_reference',
|
|
'settings' => array(),
|
|
'type' => 'node_reference_default',
|
|
'weight' => 12,
|
|
),
|
|
'teaser' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => 0,
|
|
),
|
|
),
|
|
'entity_type' => 'node',
|
|
'field_name' => 'field_popsu_projet_comparatif',
|
|
'label' => 'Comparatif',
|
|
'required' => 0,
|
|
'settings' => array(
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'active' => 1,
|
|
'module' => 'node_reference',
|
|
'settings' => array(
|
|
'autocomplete_match' => 'contains',
|
|
'autocomplete_path' => 'node_reference/autocomplete',
|
|
'size' => '60',
|
|
),
|
|
'type' => 'node_reference_autocomplete',
|
|
'weight' => '9',
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'node-popsu_projet-field_popsu_projet_demarche'.
|
|
$fields['node-popsu_projet-field_popsu_projet_demarche'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_popsu_projet_demarche',
|
|
'foreign keys' => array(
|
|
'format' => array(
|
|
'columns' => array(
|
|
'format' => 'format',
|
|
),
|
|
'table' => 'filter_format',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'format' => array(
|
|
0 => 'format',
|
|
),
|
|
),
|
|
'locked' => '0',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'translatable' => '0',
|
|
'type' => 'text_long',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'popsu_projet',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '2',
|
|
),
|
|
'teaser' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => 0,
|
|
),
|
|
),
|
|
'entity_type' => 'node',
|
|
'field_name' => 'field_popsu_projet_demarche',
|
|
'label' => 'Chronologie',
|
|
'required' => 0,
|
|
'settings' => array(
|
|
'text_processing' => '1',
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'active' => 1,
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'rows' => '5',
|
|
),
|
|
'type' => 'text_textarea',
|
|
'weight' => '3',
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'node-popsu_projet-field_popsu_projet_geoloc'.
|
|
$fields['node-popsu_projet-field_popsu_projet_geoloc'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_popsu_projet_geoloc',
|
|
'foreign keys' => array(),
|
|
'indexes' => array(),
|
|
'locked' => '0',
|
|
'module' => 'geofield',
|
|
'settings' => array(),
|
|
'translatable' => '0',
|
|
'type' => 'geofield',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'popsu_projet',
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'above',
|
|
'module' => 'geofield',
|
|
'settings' => array(
|
|
'data' => 'full',
|
|
'map_preset' => 'popsu_map_projets',
|
|
),
|
|
'type' => 'geofield_openlayers',
|
|
'weight' => '11',
|
|
),
|
|
'teaser' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => 0,
|
|
),
|
|
),
|
|
'entity_type' => 'node',
|
|
'field_name' => 'field_popsu_projet_geoloc',
|
|
'label' => 'Geolocalisation',
|
|
'required' => 0,
|
|
'settings' => array(
|
|
'local_solr' => array(
|
|
'enabled' => FALSE,
|
|
'lat_field' => 'lat',
|
|
'lng_field' => 'lng',
|
|
),
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'active' => 1,
|
|
'module' => 'geocoder',
|
|
'settings' => array(
|
|
'delta_handling' => 'default',
|
|
'geocoder_field' => 'field_popsu_projet_adresse',
|
|
'geocoder_handler' => 'google',
|
|
'handler_settings' => array(
|
|
'google' => array(
|
|
'all_results' => 0,
|
|
'geometry_type' => 'point',
|
|
'reject_results' => array(
|
|
'APPROXIMATE' => 'APPROXIMATE',
|
|
'GEOMETRIC_CENTER' => 0,
|
|
'RANGE_INTERPOLATED' => 0,
|
|
'ROOFTOP' => 0,
|
|
),
|
|
),
|
|
),
|
|
),
|
|
'type' => 'geocoder',
|
|
'weight' => '8',
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'node-popsu_projet-field_popsu_projet_imageintro'.
|
|
$fields['node-popsu_projet-field_popsu_projet_imageintro'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '-1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_popsu_projet_imageintro',
|
|
'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,
|
|
'uri_scheme' => 'public',
|
|
),
|
|
'translatable' => '0',
|
|
'type' => 'image',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'popsu_projet',
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'above',
|
|
'module' => 'image',
|
|
'settings' => array(
|
|
'image_link' => '',
|
|
'image_style' => '',
|
|
),
|
|
'type' => 'image',
|
|
'weight' => '5',
|
|
),
|
|
'teaser' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => 0,
|
|
),
|
|
),
|
|
'entity_type' => 'node',
|
|
'field_name' => 'field_popsu_projet_imageintro',
|
|
'label' => 'Image d\'introduction',
|
|
'required' => 0,
|
|
'settings' => array(
|
|
'alt_field' => 0,
|
|
'default_image' => 0,
|
|
'file_directory' => '',
|
|
'file_extensions' => 'png gif jpg jpeg',
|
|
'filefield_paths' => array(
|
|
'active_updating' => 0,
|
|
'file_name' => array(
|
|
'options' => array(
|
|
'pathauto' => 1,
|
|
'transliterate' => 1,
|
|
),
|
|
'value' => '[file:ffp-name-only-original].[file:ffp-extension-original]',
|
|
),
|
|
'file_path' => array(
|
|
'options' => array(
|
|
'pathauto' => 1,
|
|
'transliterate' => 1,
|
|
),
|
|
'value' => 'nodes/[node:content-type]/[node:nid]/imageintro',
|
|
),
|
|
'retroactive_update' => 0,
|
|
),
|
|
'max_filesize' => '',
|
|
'max_resolution' => '',
|
|
'min_resolution' => '',
|
|
'title_field' => 1,
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'active' => 1,
|
|
'module' => 'image',
|
|
'settings' => array(
|
|
'preview_image_style' => 'thumbnail',
|
|
'progress_indicator' => 'throbber',
|
|
),
|
|
'type' => 'image_image',
|
|
'weight' => '6',
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'node-popsu_projet-field_popsu_projet_imagelocalise'.
|
|
$fields['node-popsu_projet-field_popsu_projet_imagelocalise'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '-1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_popsu_projet_imagelocalise',
|
|
'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,
|
|
'uri_scheme' => 'public',
|
|
),
|
|
'translatable' => '0',
|
|
'type' => 'image',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'popsu_projet',
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'above',
|
|
'module' => 'image',
|
|
'settings' => array(
|
|
'image_link' => '',
|
|
'image_style' => '',
|
|
),
|
|
'type' => 'image',
|
|
'weight' => '6',
|
|
),
|
|
'teaser' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => 0,
|
|
),
|
|
),
|
|
'entity_type' => 'node',
|
|
'field_name' => 'field_popsu_projet_imagelocalise',
|
|
'label' => 'Image de localisation',
|
|
'required' => 0,
|
|
'settings' => array(
|
|
'alt_field' => 0,
|
|
'default_image' => 0,
|
|
'file_directory' => '',
|
|
'file_extensions' => 'png gif jpg jpeg',
|
|
'filefield_paths' => array(
|
|
'active_updating' => 0,
|
|
'file_name' => array(
|
|
'options' => array(
|
|
'pathauto' => 1,
|
|
'transliterate' => 1,
|
|
),
|
|
'value' => '[file:ffp-name-only-original].[file:ffp-extension-original]',
|
|
),
|
|
'file_path' => array(
|
|
'options' => array(
|
|
'pathauto' => 1,
|
|
'transliterate' => 1,
|
|
),
|
|
'value' => 'nodes/[node:content-type]/[node:nid]/imagelocalise',
|
|
),
|
|
'retroactive_update' => 0,
|
|
),
|
|
'max_filesize' => '',
|
|
'max_resolution' => '',
|
|
'min_resolution' => '',
|
|
'title_field' => 1,
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'active' => 1,
|
|
'module' => 'image',
|
|
'settings' => array(
|
|
'preview_image_style' => 'thumbnail',
|
|
'progress_indicator' => 'throbber',
|
|
),
|
|
'type' => 'image_image',
|
|
'weight' => '7',
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'node-popsu_projet-field_popsu_projet_lies'.
|
|
$fields['node-popsu_projet-field_popsu_projet_lies'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '-1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_popsu_projet_lies',
|
|
'foreign keys' => array(
|
|
'nid' => array(
|
|
'columns' => array(
|
|
'nid' => 'nid',
|
|
),
|
|
'table' => 'node',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'nid' => array(
|
|
0 => 'nid',
|
|
),
|
|
),
|
|
'locked' => '0',
|
|
'module' => 'node_reference',
|
|
'settings' => array(
|
|
'referenceable_types' => array(
|
|
'article' => 0,
|
|
'page' => 0,
|
|
'popsu_colloque' => 0,
|
|
'popsu_page' => 0,
|
|
'popsu_projet' => 'popsu_projet',
|
|
'popsu_publication' => 0,
|
|
'popsu_special' => 0,
|
|
'popsu_theme_europe' => 0,
|
|
'popsu_theme_local' => 'popsu_theme_local',
|
|
'popsu_theme_trans' => 0,
|
|
'popsu_ville' => 0,
|
|
'popsu_ville_europe' => 0,
|
|
),
|
|
'view' => array(
|
|
'args' => array(),
|
|
'display_name' => '',
|
|
'view_name' => '',
|
|
),
|
|
),
|
|
'translatable' => '0',
|
|
'type' => 'node_reference',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'popsu_projet',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'above',
|
|
'module' => 'node_reference',
|
|
'settings' => array(),
|
|
'type' => 'node_reference_default',
|
|
'weight' => '9',
|
|
),
|
|
'teaser' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => 0,
|
|
),
|
|
),
|
|
'entity_type' => 'node',
|
|
'field_name' => 'field_popsu_projet_lies',
|
|
'label' => 'Projets & thèmes liés',
|
|
'required' => 0,
|
|
'settings' => array(
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'active' => 1,
|
|
'module' => 'node_reference',
|
|
'settings' => array(
|
|
'autocomplete_match' => 'contains',
|
|
'autocomplete_path' => 'node_reference/autocomplete',
|
|
'size' => '60',
|
|
),
|
|
'type' => 'node_reference_autocomplete',
|
|
'weight' => '8',
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'node-popsu_projet-field_popsu_projet_methodo'.
|
|
$fields['node-popsu_projet-field_popsu_projet_methodo'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_popsu_projet_methodo',
|
|
'foreign keys' => array(
|
|
'format' => array(
|
|
'columns' => array(
|
|
'format' => 'format',
|
|
),
|
|
'table' => 'filter_format',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'format' => array(
|
|
0 => 'format',
|
|
),
|
|
),
|
|
'locked' => '0',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'translatable' => '0',
|
|
'type' => 'text_long',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'popsu_projet',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'above',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => 13,
|
|
),
|
|
'teaser' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => 0,
|
|
),
|
|
),
|
|
'entity_type' => 'node',
|
|
'field_name' => 'field_popsu_projet_methodo',
|
|
'label' => 'Démarche et méthodologie',
|
|
'required' => 0,
|
|
'settings' => array(
|
|
'text_processing' => '1',
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'active' => 1,
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'rows' => '5',
|
|
),
|
|
'type' => 'text_textarea',
|
|
'weight' => '10',
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'node-popsu_projet-field_popsu_projet_presentation'.
|
|
$fields['node-popsu_projet-field_popsu_projet_presentation'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_popsu_projet_presentation',
|
|
'foreign keys' => array(
|
|
'format' => array(
|
|
'columns' => array(
|
|
'format' => 'format',
|
|
),
|
|
'table' => 'filter_format',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'format' => array(
|
|
0 => 'format',
|
|
),
|
|
),
|
|
'locked' => '0',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'translatable' => '0',
|
|
'type' => 'text_with_summary',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'popsu_projet',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '1',
|
|
),
|
|
'teaser' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => 0,
|
|
),
|
|
),
|
|
'entity_type' => 'node',
|
|
'field_name' => 'field_popsu_projet_presentation',
|
|
'label' => 'Texte de présentation',
|
|
'required' => 0,
|
|
'settings' => array(
|
|
'display_summary' => 0,
|
|
'text_processing' => '1',
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'active' => 1,
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'rows' => '20',
|
|
'summary_rows' => 5,
|
|
),
|
|
'type' => 'text_textarea_with_summary',
|
|
'weight' => '2',
|
|
),
|
|
),
|
|
);
|
|
|
|
// Exported field: 'node-popsu_projet-field_popsu_projet_programme'.
|
|
$fields['node-popsu_projet-field_popsu_projet_programme'] = array(
|
|
'field_config' => array(
|
|
'active' => '1',
|
|
'cardinality' => '1',
|
|
'deleted' => '0',
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_popsu_projet_programme',
|
|
'foreign keys' => array(
|
|
'format' => array(
|
|
'columns' => array(
|
|
'format' => 'format',
|
|
),
|
|
'table' => 'filter_format',
|
|
),
|
|
),
|
|
'indexes' => array(
|
|
'format' => array(
|
|
0 => 'format',
|
|
),
|
|
),
|
|
'locked' => '0',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'translatable' => '0',
|
|
'type' => 'text_long',
|
|
),
|
|
'field_instance' => array(
|
|
'bundle' => 'popsu_projet',
|
|
'default_value' => NULL,
|
|
'deleted' => '0',
|
|
'description' => '',
|
|
'display' => array(
|
|
'default' => array(
|
|
'label' => 'hidden',
|
|
'module' => 'text',
|
|
'settings' => array(),
|
|
'type' => 'text_default',
|
|
'weight' => '3',
|
|
),
|
|
'teaser' => array(
|
|
'label' => 'above',
|
|
'settings' => array(),
|
|
'type' => 'hidden',
|
|
'weight' => 0,
|
|
),
|
|
),
|
|
'entity_type' => 'node',
|
|
'field_name' => 'field_popsu_projet_programme',
|
|
'label' => 'Programme',
|
|
'required' => 0,
|
|
'settings' => array(
|
|
'text_processing' => '1',
|
|
'user_register_form' => FALSE,
|
|
),
|
|
'widget' => array(
|
|
'active' => 1,
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'rows' => '5',
|
|
),
|
|
'type' => 'text_textarea',
|
|
'weight' => '5',
|
|
),
|
|
),
|
|
);
|
|
|
|
// Translatables
|
|
// Included for use with string extractors like potx.
|
|
t('Acteurs');
|
|
t('Chronologie');
|
|
t('Commune concernée (si agglomération)');
|
|
t('Comparatif');
|
|
t('Démarche et méthodologie');
|
|
t('Emplacement du projet');
|
|
t('Geolocalisation');
|
|
t('Image d\'introduction');
|
|
t('Image de localisation');
|
|
t('Programme');
|
|
t('Projets & thèmes liés');
|
|
t('Texte de présentation');
|
|
|
|
return $fields;
|
|
}
|