123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366 |
- <?php
- /**
- * @file
- * materio_subscriptions.features.field_instance.inc
- */
- /**
- * Implements hook_field_default_field_instances().
- */
- function materio_subscriptions_field_default_field_instances() {
- $field_instances = array();
- // Exported field_instance: 'node-product-body'
- $field_instances['node-product-body'] = array(
- 'bundle' => 'product',
- 'default_value' => NULL,
- 'deleted' => 0,
- 'description' => '',
- 'display' => array(
- 'bookmark' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'cardbig' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'cardfull' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'cardmedium' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'cardsmall' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'default' => array(
- 'label' => 'hidden',
- 'module' => 'text',
- 'settings' => array(),
- 'type' => 'text_default',
- 'weight' => 0,
- ),
- 'homeblock' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'teaser' => array(
- 'label' => 'hidden',
- 'module' => 'text',
- 'settings' => array(
- 'trim_length' => 600,
- ),
- 'type' => 'text_summary_or_trimmed',
- 'weight' => 0,
- ),
- ),
- 'entity_type' => 'node',
- 'field_name' => 'body',
- 'label' => 'Description',
- 'required' => FALSE,
- 'settings' => array(
- 'display_summary' => TRUE,
- 'entity_translation_sync' => FALSE,
- 'text_processing' => 1,
- 'user_register_form' => FALSE,
- ),
- 'widget' => array(
- 'module' => 'text',
- 'settings' => array(
- 'rows' => 20,
- 'summary_rows' => 5,
- ),
- 'type' => 'text_textarea_with_summary',
- 'weight' => 31,
- ),
- );
- // Exported field_instance: 'node-product-taxonomy_catalog'
- $field_instances['node-product-taxonomy_catalog'] = array(
- 'bundle' => 'product',
- 'default_value' => NULL,
- 'deleted' => 0,
- 'description' => '',
- 'display' => array(
- 'bookmark' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'cardbig' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'cardfull' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'cardmedium' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'cardsmall' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'default' => array(
- 'label' => 'above',
- 'module' => 'i18n_taxonomy',
- 'settings' => array(),
- 'type' => 'i18n_taxonomy_term_reference_link',
- 'weight' => 2,
- ),
- 'homeblock' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'print' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'teaser' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- ),
- 'entity_type' => 'node',
- 'field_name' => 'taxonomy_catalog',
- 'label' => 'Catalog',
- 'required' => FALSE,
- 'settings' => array(
- 'entity_translation_sync' => FALSE,
- 'user_register_form' => FALSE,
- ),
- 'widget' => array(
- 'module' => 'options',
- 'settings' => array(
- 'content_taxonomy_opt_groups' => FALSE,
- ),
- 'type' => 'options_select',
- 'weight' => 33,
- ),
- );
- // Exported field_instance: 'node-product-uc_product_image'
- $field_instances['node-product-uc_product_image'] = array(
- 'bundle' => 'product',
- 'deleted' => 0,
- 'description' => '',
- 'display' => array(
- 'bookmark' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'cardbig' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'cardfull' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'cardmedium' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'cardsmall' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'default' => array(
- 'label' => 'above',
- 'module' => 'image',
- 'settings' => array(
- 'image_link' => '',
- 'image_style' => '',
- ),
- 'type' => 'image',
- 'weight' => 1,
- ),
- 'full' => array(
- 'label' => 'hidden',
- 'module' => 'uc_product',
- 'settings' => array(),
- 'type' => 'uc_product_image',
- 'weight' => 0,
- ),
- 'homeblock' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- 'teaser' => array(
- 'label' => 'hidden',
- 'module' => 'uc_product',
- 'settings' => array(),
- 'type' => 'uc_product_image',
- 'weight' => 1,
- ),
- ),
- 'entity_type' => 'node',
- 'field_name' => 'uc_product_image',
- 'label' => 'Image',
- 'required' => FALSE,
- 'settings' => array(
- 'alt_field' => 0,
- 'default_image' => 0,
- 'entity_translation_sync' => FALSE,
- 'file_directory' => '',
- 'file_extensions' => 'png gif jpg jpeg',
- 'max_filesize' => '',
- 'max_resolution' => '',
- 'min_resolution' => '',
- 'title_field' => 0,
- 'user_register_form' => FALSE,
- ),
- 'weight' => -2,
- 'widget' => array(
- 'module' => 'image',
- 'settings' => array(
- 'preview_image_style' => 'thumbnail',
- 'progress_indicator' => 'throbber',
- ),
- 'type' => 'image_image',
- 'weight' => 32,
- ),
- );
- // Exported field_instance: 'taxonomy_term-catalog-synonyms_synonym'
- $field_instances['taxonomy_term-catalog-synonyms_synonym'] = array(
- 'bundle' => 'catalog',
- 'default_value' => NULL,
- 'deleted' => 0,
- 'description' => '',
- 'display' => array(
- 'default' => array(
- 'label' => 'above',
- 'module' => 'text',
- 'settings' => array(),
- 'type' => 'text_default',
- 'weight' => 0,
- ),
- ),
- 'entity_type' => 'taxonomy_term',
- 'field_name' => 'synonyms_synonym',
- 'label' => 'Synonyms for this term',
- 'required' => FALSE,
- 'settings' => array(
- 'entity_translation_sync' => FALSE,
- 'text_processing' => 0,
- 'user_register_form' => FALSE,
- ),
- 'widget' => array(
- 'module' => 'text',
- 'settings' => array(
- 'size' => 60,
- ),
- 'type' => 'text_textfield',
- 'weight' => 31,
- ),
- );
- // Exported field_instance: 'taxonomy_term-catalog-uc_catalog_image'
- $field_instances['taxonomy_term-catalog-uc_catalog_image'] = array(
- 'bundle' => 'catalog',
- 'deleted' => 0,
- 'description' => '',
- 'display' => array(
- 'default' => array(
- 'label' => 'above',
- 'module' => 'image',
- 'settings' => array(
- 'image_link' => '',
- 'image_style' => '',
- ),
- 'type' => 'image',
- 'weight' => 1,
- ),
- 'full' => array(
- 'label' => 'hidden',
- 'module' => 'image',
- 'settings' => array(
- 'image_link' => 'content',
- 'image_style' => 'uc_category',
- ),
- 'type' => 'image',
- 'weight' => 0,
- ),
- ),
- 'entity_type' => 'taxonomy_term',
- 'field_name' => 'uc_catalog_image',
- 'label' => 'Image',
- 'required' => FALSE,
- 'settings' => array(
- 'alt_field' => 0,
- 'default_image' => 0,
- 'entity_translation_sync' => FALSE,
- 'file_directory' => '',
- 'file_extensions' => 'png gif jpg jpeg',
- 'max_filesize' => '',
- 'max_resolution' => '',
- 'min_resolution' => '',
- 'title_field' => 0,
- 'user_register_form' => FALSE,
- ),
- 'widget' => array(
- 'module' => 'image',
- 'settings' => array(
- 'preview_image_style' => 'thumbnail',
- 'progress_indicator' => 'throbber',
- ),
- 'type' => 'image_image',
- 'weight' => 32,
- ),
- );
- // Translatables
- // Included for use with string extractors like potx.
- t('Catalog');
- t('Description');
- t('Image');
- t('Synonyms for this term');
- return $field_instances;
- }
|