123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223 |
- <?php
- /**
- * @file
- * popsu_pages_neutres.features.field.inc
- */
- /**
- * Implements hook_field_default_fields().
- */
- function popsu_pages_neutres_field_default_fields() {
- $fields = array();
- // Exported field: 'node-popsu_page_neutral-field_popsu_pageneutral_body'.
- $fields['node-popsu_page_neutral-field_popsu_pageneutral_body'] = array(
- 'field_config' => array(
- 'active' => '1',
- 'cardinality' => '1',
- 'deleted' => '0',
- 'entity_types' => array(),
- 'field_name' => 'field_popsu_pageneutral_body',
- '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_page_neutral',
- 'default_value' => NULL,
- 'deleted' => '0',
- 'description' => '',
- 'display' => array(
- 'default' => array(
- 'label' => 'above',
- '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_pageneutral_body',
- 'label' => 'Texte de la page',
- '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' => '5',
- ),
- ),
- );
- // Exported field: 'node-popsu_page_neutral-field_popsu_pageneutral_col2'.
- $fields['node-popsu_page_neutral-field_popsu_pageneutral_col2'] = array(
- 'field_config' => array(
- 'active' => '1',
- 'cardinality' => '1',
- 'deleted' => '0',
- 'entity_types' => array(),
- 'field_name' => 'field_popsu_pageneutral_col2',
- '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_page_neutral',
- 'default_value' => NULL,
- 'deleted' => '0',
- 'description' => '',
- 'display' => array(
- 'default' => array(
- 'label' => 'above',
- '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_pageneutral_col2',
- 'label' => 'Texte de la 2ème colone',
- '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' => '6',
- ),
- ),
- );
- // Exported field: 'node-popsu_page_neutral-field_popsu_pageneutral_mepage'.
- $fields['node-popsu_page_neutral-field_popsu_pageneutral_mepage'] = array(
- 'field_config' => array(
- 'active' => '1',
- 'cardinality' => '1',
- 'deleted' => '0',
- 'entity_types' => array(),
- 'field_name' => 'field_popsu_pageneutral_mepage',
- 'foreign keys' => array(),
- 'indexes' => array(
- 'value' => array(
- 0 => 'value',
- ),
- ),
- 'locked' => '0',
- 'module' => 'list',
- 'settings' => array(
- 'allowed_values' => array(
- 0 => 'sur 1 colonne',
- 1 => 'sur 2 colonnes',
- ),
- 'allowed_values_function' => '',
- ),
- 'translatable' => '0',
- 'type' => 'list_boolean',
- ),
- 'field_instance' => array(
- 'bundle' => 'popsu_page_neutral',
- 'default_value' => array(
- 0 => array(
- 'value' => '0',
- ),
- ),
- 'deleted' => '0',
- 'description' => '',
- 'display' => array(
- 'default' => array(
- 'label' => 'above',
- 'module' => 'list',
- 'settings' => array(),
- 'type' => 'list_default',
- 'weight' => 3,
- ),
- 'teaser' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- ),
- 'entity_type' => 'node',
- 'field_name' => 'field_popsu_pageneutral_mepage',
- 'label' => 'Mise en page',
- 'required' => 1,
- 'settings' => array(
- 'user_register_form' => FALSE,
- ),
- 'widget' => array(
- 'active' => 1,
- 'module' => 'options',
- 'settings' => array(),
- 'type' => 'options_buttons',
- 'weight' => '4',
- ),
- ),
- );
- // Translatables
- // Included for use with string extractors like potx.
- t('Mise en page');
- t('Texte de la 2ème colone');
- t('Texte de la page');
- return $fields;
- }
|