Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
338 lines (330 sloc) 8.83 KB
<?php
/**
* @file
* services_and_references.features.field.inc
*/
/**
* Implements hook_field_default_fields().
*/
function services_and_references_field_default_fields() {
$fields = array();
// Exported field: 'node-referencia-body'
$fields['node-referencia-body'] = array(
'field_config' => array(
'active' => '1',
'cardinality' => '1',
'deleted' => '0',
'entity_types' => array(
0 => 'node',
),
'field_name' => 'body',
'foreign keys' => array(
'format' => array(
'columns' => array(
'format' => 'format',
),
'table' => 'filter_format',
),
),
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'module' => 'text',
'settings' => array(),
'translatable' => '0',
'type' => 'text_with_summary',
),
'field_instance' => array(
'bundle' => 'referencia',
'default_value' => NULL,
'deleted' => '0',
'description' => '',
'display' => array(
'default' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'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' => 'Body',
'required' => FALSE,
'settings' => array(
'display_summary' => TRUE,
'text_processing' => 1,
'user_register_form' => FALSE,
),
'widget' => array(
'module' => 'text',
'settings' => array(
'rows' => 20,
'summary_rows' => 5,
),
'type' => 'text_textarea_with_summary',
'weight' => '-4',
),
),
);
// Exported field: 'node-referencia-field_gallery'
$fields['node-referencia-field_gallery'] = array(
'field_config' => array(
'active' => '1',
'cardinality' => '-1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_gallery',
'foreign keys' => array(
'fid' => array(
'columns' => array(
'fid' => 'fid',
),
'table' => 'file_managed',
),
),
'indexes' => array(
'fid' => array(
0 => 'fid',
),
),
'module' => 'image',
'settings' => array(
'default_image' => 0,
'uri_scheme' => 'public',
),
'translatable' => '0',
'type' => 'image',
),
'field_instance' => array(
'bundle' => 'referencia',
'deleted' => '0',
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'field_slideshow',
'settings' => array(
'slideshow_caption' => '',
'slideshow_caption_link' => '',
'slideshow_carousel_image_style' => '',
'slideshow_carousel_scroll' => '1',
'slideshow_carousel_speed' => '500',
'slideshow_carousel_vertical' => 0,
'slideshow_carousel_visible' => '3',
'slideshow_colorbox_image_style' => '',
'slideshow_colorbox_slideshow' => '',
'slideshow_colorbox_slideshow_speed' => '4000',
'slideshow_colorbox_speed' => '350',
'slideshow_colorbox_transition' => 'elastic',
'slideshow_controls' => 0,
'slideshow_controls_position' => 'after',
'slideshow_fx' => 'scrollHorz',
'slideshow_image_style' => 'gallery',
'slideshow_link' => '',
'slideshow_order' => '',
'slideshow_pager' => 'image',
'slideshow_pager_image_style' => 'thumbnail',
'slideshow_pager_position' => 'after',
'slideshow_pause' => 1,
'slideshow_speed' => '1000',
'slideshow_timeout' => '4000',
),
'type' => 'slideshow',
'weight' => '1',
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
),
'entity_type' => 'node',
'field_name' => 'field_gallery',
'label' => 'Gallery',
'required' => 0,
'settings' => array(
'alt_field' => 0,
'file_directory' => '',
'file_extensions' => 'png gif jpg jpeg',
'max_filesize' => '',
'max_resolution' => '',
'min_resolution' => '',
'title_field' => 0,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'image',
'settings' => array(
'preview_image_style' => 'thumbnail',
'progress_indicator' => 'throbber',
),
'type' => 'image_image',
'weight' => '-3',
),
),
);
// Exported field: 'node-referencia-field_related_services'
$fields['node-referencia-field_related_services'] = array(
'field_config' => array(
'active' => '1',
'cardinality' => '-1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_related_services',
'foreign keys' => array(
'nid' => array(
'columns' => array(
'nid' => 'nid',
),
'table' => 'node',
),
),
'indexes' => array(
'nid' => array(
0 => 'nid',
),
),
'module' => 'node_reference',
'settings' => array(
'referenceable_types' => array(
'referencia' => 0,
'szolg_ltat_s' => 'szolg_ltat_s',
),
'view' => array(
'args' => array(),
'display_name' => '',
'view_name' => '',
),
),
'translatable' => '0',
'type' => 'node_reference',
),
'field_instance' => array(
'bundle' => 'referencia',
'default_value' => NULL,
'deleted' => '0',
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'node_reference',
'settings' => array(),
'type' => 'node_reference_default',
'weight' => '2',
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
),
'entity_type' => 'node',
'field_name' => 'field_related_services',
'label' => 'Related Services',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(),
'type' => 'options_select',
'weight' => '-2',
),
),
);
// Exported field: 'node-szolg_ltat_s-body'
$fields['node-szolg_ltat_s-body'] = array(
'field_config' => array(
'active' => '1',
'cardinality' => '1',
'deleted' => '0',
'entity_types' => array(
0 => 'node',
),
'field_name' => 'body',
'foreign keys' => array(
'format' => array(
'columns' => array(
'format' => 'format',
),
'table' => 'filter_format',
),
),
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'module' => 'text',
'settings' => array(),
'translatable' => '0',
'type' => 'text_with_summary',
),
'field_instance' => array(
'bundle' => 'szolg_ltat_s',
'default_value' => NULL,
'deleted' => '0',
'description' => '',
'display' => array(
'default' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'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' => 'Body',
'required' => FALSE,
'settings' => array(
'display_summary' => TRUE,
'text_processing' => 1,
'user_register_form' => FALSE,
),
'widget' => array(
'module' => 'text',
'settings' => array(
'rows' => 20,
'summary_rows' => 5,
),
'type' => 'text_textarea_with_summary',
'weight' => -4,
),
),
);
// Translatables
// Included for use with string extractors like potx.
t('Body');
t('Gallery');
t('Related Services');
return $fields;
}