123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- <?php
- /**
- * @file
- * materio_publications.features.field_base.inc
- */
- /**
- * Implements hook_field_default_field_bases().
- */
- function materio_publications_field_default_field_bases() {
- $field_bases = array();
- // Exported field_base: 'field_couverture'
- $field_bases['field_couverture'] = array(
- 'active' => 1,
- 'cardinality' => 1,
- 'deleted' => 0,
- 'entity_types' => array(),
- 'field_name' => 'field_couverture',
- 'field_permissions' => array(
- 'type' => 0,
- ),
- 'indexes' => array(
- 'fid' => array(
- 0 => 'fid',
- ),
- ),
- 'locked' => 0,
- 'module' => 'image',
- 'settings' => array(
- 'default_image' => 0,
- 'entity_translation_sync' => array(
- 0 => 'fid',
- ),
- 'profile2_private' => FALSE,
- 'uri_scheme' => 'public',
- ),
- 'translatable' => 0,
- 'type' => 'image',
- );
- // Exported field_base: 'field_weight'
- $field_bases['field_weight'] = array(
- 'active' => 1,
- 'cardinality' => 1,
- 'deleted' => 0,
- 'entity_types' => array(),
- 'field_name' => 'field_weight',
- 'field_permissions' => array(
- 'type' => 2,
- ),
- 'indexes' => array(
- 'value' => array(
- 0 => 'value',
- ),
- ),
- 'locked' => 0,
- 'module' => 'list',
- 'settings' => array(
- 'allowed_values' => array(
- -20 => -20,
- -19 => -19,
- -18 => -18,
- -17 => -17,
- -16 => -16,
- -15 => -15,
- -14 => -14,
- -13 => -13,
- -12 => -12,
- -11 => -11,
- -10 => -10,
- '-09' => '-09',
- '-08' => '-08',
- '-07' => '-07',
- '-06' => '-06',
- '-05' => '-05',
- '-04' => '-04',
- '-03' => '-03',
- '-02' => '-02',
- '-01' => '-01',
- '00' => '00',
- '01' => '01',
- '02' => '02',
- '03' => '03',
- '04' => '04',
- '05' => '05',
- '06' => '06',
- '07' => '07',
- '08' => '08',
- '09' => '09',
- 10 => 10,
- 11 => 11,
- 12 => 12,
- 13 => 13,
- 14 => 14,
- 15 => 15,
- 16 => 16,
- 17 => 17,
- 18 => 18,
- 19 => 19,
- 20 => 20,
- ),
- 'allowed_values_function' => '',
- 'entity_translation_sync' => FALSE,
- 'profile2_private' => FALSE,
- ),
- 'translatable' => 0,
- 'type' => 'list_integer',
- );
- return $field_bases;
- }
|