| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185 | 
							- <?php
 
- /**
 
-  * @file
 
-  * materio_subscriptions.features.field_base.inc
 
-  */
 
- /**
 
-  * Implements hook_field_default_field_bases().
 
-  */
 
- function materio_subscriptions_field_default_field_bases() {
 
-   $field_bases = array();
 
-   // Exported field_base: 'body'
 
-   $field_bases['body'] = array(
 
-     'active' => 1,
 
-     'cardinality' => 1,
 
-     'deleted' => 0,
 
-     'entity_types' => array(
 
-       0 => 'node',
 
-     ),
 
-     'field_name' => 'body',
 
-     'field_permissions' => array(
 
-       'type' => 0,
 
-     ),
 
-     'foreign keys' => array(
 
-       'format' => array(
 
-         'columns' => array(
 
-           'format' => 'format',
 
-         ),
 
-         'table' => 'filter_format',
 
-       ),
 
-     ),
 
-     'indexes' => array(
 
-       'format' => array(
 
-         0 => 'format',
 
-       ),
 
-     ),
 
-     'locked' => 0,
 
-     'module' => 'text',
 
-     'settings' => array(
 
-       'entity_translation_sync' => FALSE,
 
-       'profile2_private' => FALSE,
 
-     ),
 
-     'translatable' => 1,
 
-     'type' => 'text_with_summary',
 
-   );
 
-   // Exported field_base: 'synonyms_synonym'
 
-   $field_bases['synonyms_synonym'] = array(
 
-     'active' => 1,
 
-     'cardinality' => -1,
 
-     'deleted' => 0,
 
-     'entity_types' => array(),
 
-     'field_name' => 'synonyms_synonym',
 
-     'field_permissions' => array(
 
-       'type' => 0,
 
-     ),
 
-     'foreign keys' => array(
 
-       'format' => array(
 
-         'columns' => array(
 
-           'format' => 'format',
 
-         ),
 
-         'table' => 'filter_format',
 
-       ),
 
-     ),
 
-     'indexes' => array(
 
-       'format' => array(
 
-         0 => 'format',
 
-       ),
 
-     ),
 
-     'locked' => 0,
 
-     'module' => 'text',
 
-     'settings' => array(
 
-       'entity_translation_sync' => FALSE,
 
-       'max_length' => 255,
 
-       'profile2_private' => FALSE,
 
-     ),
 
-     'translatable' => 1,
 
-     'type' => 'text',
 
-   );
 
-   // Exported field_base: 'taxonomy_catalog'
 
-   $field_bases['taxonomy_catalog'] = array(
 
-     'active' => 1,
 
-     'cardinality' => -1,
 
-     'deleted' => 0,
 
-     'entity_types' => array(),
 
-     'field_name' => 'taxonomy_catalog',
 
-     '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' => 'catalog',
 
-           'parent' => 0,
 
-         ),
 
-       ),
 
-       'entity_translation_sync' => FALSE,
 
-       'options_list_callback' => 'i18n_taxonomy_allowed_values',
 
-     ),
 
-     'translatable' => 0,
 
-     'type' => 'taxonomy_term_reference',
 
-   );
 
-   // Exported field_base: 'uc_catalog_image'
 
-   $field_bases['uc_catalog_image'] = array(
 
-     'active' => 1,
 
-     'cardinality' => 1,
 
-     'deleted' => 0,
 
-     'entity_types' => array(),
 
-     'field_name' => 'uc_catalog_image',
 
-     '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,
 
-       'entity_translation_sync' => array(
 
-         0 => 'fid',
 
-       ),
 
-       'uri_scheme' => 'public',
 
-     ),
 
-     'translatable' => 0,
 
-     'type' => 'image',
 
-   );
 
-   // Exported field_base: 'uc_product_image'
 
-   $field_bases['uc_product_image'] = array(
 
-     'active' => 1,
 
-     'cardinality' => -1,
 
-     'deleted' => 0,
 
-     'entity_types' => array(),
 
-     'field_name' => 'uc_product_image',
 
-     '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,
 
-       'entity_translation_sync' => array(
 
-         0 => 'fid',
 
-       ),
 
-       'uri_scheme' => 'public',
 
-     ),
 
-     'translatable' => 0,
 
-     'type' => 'image',
 
-   );
 
-   return $field_bases;
 
- }
 
 
  |