farmOS/modules/farm/farm_livestock/farm_livestock.features.fie...

1454 lines
42 KiB
PHP

<?php
/**
* @file
* farm_livestock.features.field_instance.inc
*/
/**
* Implements hook_field_default_field_instances().
*/
function farm_livestock_field_default_field_instances() {
$field_instances = array();
// Exported field_instance: 'farm_asset-animal-field_farm_animal_castrated'.
$field_instances['farm_asset-animal-field_farm_animal_castrated'] = array(
'bundle' => 'animal',
'default_value' => array(
0 => array(
'value' => 0,
),
),
'deleted' => 0,
'description' => 'Has this animal been castrated?',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'list',
'settings' => array(),
'type' => 'list_default',
'weight' => 4,
),
),
'entity_type' => 'farm_asset',
'field_name' => 'field_farm_animal_castrated',
'label' => 'Castrated',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(
'display_label' => 1,
),
'type' => 'options_onoff',
'weight' => 13,
),
);
// Exported field_instance: 'farm_asset-animal-field_farm_animal_nicknames'.
$field_instances['farm_asset-animal-field_farm_animal_nicknames'] = array(
'bundle' => 'animal',
'default_value' => NULL,
'deleted' => 0,
'description' => 'List any nickname(s) of this animal.',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 0,
),
),
'entity_type' => 'farm_asset',
'field_name' => 'field_farm_animal_nicknames',
'label' => 'Nickname(s)',
'required' => 0,
'settings' => array(
'text_processing' => 0,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'size' => 60,
),
'type' => 'text_textfield',
'weight' => 14,
),
);
// Exported field_instance: 'farm_asset-animal-field_farm_animal_sex'.
$field_instances['farm_asset-animal-field_farm_animal_sex'] = array(
'bundle' => 'animal',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'list',
'settings' => array(),
'type' => 'list_default',
'weight' => 3,
),
),
'entity_type' => 'farm_asset',
'field_name' => 'field_farm_animal_sex',
'label' => 'Sex',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(),
'type' => 'options_select',
'weight' => 12,
),
);
// Exported field_instance: 'farm_asset-animal-field_farm_animal_tag'.
$field_instances['farm_asset-animal-field_farm_animal_tag'] = array(
'bundle' => 'animal',
'default_value' => NULL,
'deleted' => 0,
'description' => 'List any identification tags that this animal has. These can be ear tags, tattoos, leg bands, etc. Use the fields below to describe the type, location, and ID of each.',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'field_collection',
'settings' => array(
'view_mode' => 'full',
),
'type' => 'field_collection_fields',
'weight' => 1,
),
),
'entity_type' => 'farm_asset',
'field_name' => 'field_farm_animal_tag',
'label' => 'ID Tag(s)',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 0,
'module' => 'field_collection',
'settings' => array(),
'type' => 'field_collection_embed',
'weight' => 13,
),
);
// Exported field_instance: 'farm_asset-animal-field_farm_animal_type'.
$field_instances['farm_asset-animal-field_farm_animal_type'] = array(
'bundle' => 'animal',
'default_value' => NULL,
'deleted' => 0,
'description' => 'Enter this animal asset\'s species/breed. You can manage the list of available species/breeds in the ' . l('Animal Species/Breeds', 'farm/assets/animals/types') . ' vocabulary.',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'taxonomy',
'settings' => array(),
'type' => 'taxonomy_term_reference_link',
'weight' => 2,
),
),
'entity_type' => 'farm_asset',
'field_name' => 'field_farm_animal_type',
'label' => 'Species/breed',
'required' => 1,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 0,
'module' => 'taxonomy',
'settings' => array(
'autocomplete_path' => 'taxonomy/autocomplete',
'size' => 60,
),
'type' => 'taxonomy_autocomplete',
'weight' => 1,
),
);
// Exported field_instance: 'farm_asset-animal-field_farm_date'.
$field_instances['farm_asset-animal-field_farm_date'] = array(
'bundle' => 'animal',
'default_value' => array(),
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'date',
'settings' => array(
'custom_date_format' => '',
'format_type' => 'long',
'fromto' => 'both',
'multiple_from' => '',
'multiple_number' => '',
'multiple_to' => '',
'show_remaining_days' => FALSE,
),
'type' => 'date_default',
'weight' => 5,
),
),
'entity_type' => 'farm_asset',
'field_name' => 'field_farm_date',
'label' => 'Date of birth',
'required' => 0,
'settings' => array(
'default_value' => 'blank',
'default_value2' => 'same',
'default_value_code' => '',
'default_value_code2' => '',
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'date',
'settings' => array(
'increment' => 15,
'input_format' => 'M j Y - g:i:sa',
'input_format_custom' => '',
'label_position' => 'within',
'no_fieldset' => 1,
'text_parts' => array(),
'year_range' => '-10:+3',
),
'type' => 'date_select',
'weight' => 10,
),
);
// Exported field_instance: 'farm_asset-animal-field_farm_description'.
$field_instances['farm_asset-animal-field_farm_description'] = array(
'bundle' => 'animal',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 8,
),
),
'entity_type' => 'farm_asset',
'field_name' => 'field_farm_description',
'label' => 'Description',
'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' => 2,
),
);
// Exported field_instance: 'farm_asset-animal-field_farm_files'.
$field_instances['farm_asset-animal-field_farm_files'] = array(
'bundle' => 'animal',
'default_value' => array(),
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'file',
'settings' => array(),
'type' => 'file_table',
'weight' => 10,
),
),
'entity_type' => 'farm_asset',
'field_name' => 'field_farm_files',
'label' => 'Files',
'required' => 0,
'settings' => array(
'description_field' => 1,
'file_directory' => 'farm/asset/animal',
'file_extensions' => '',
'max_filesize' => '',
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'multiupload_filefield_widget',
'settings' => array(
'progress_indicator' => 'bar',
),
'type' => 'file_mfw',
'weight' => 5,
),
);
// Exported field_instance: 'farm_asset-animal-field_farm_flags'.
$field_instances['farm_asset-animal-field_farm_flags'] = array(
'bundle' => 'animal',
'default_value' => NULL,
'deleted' => 0,
'description' => 'Add flags to this asset to enable better sorting and filtering of records.',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'list',
'settings' => array(),
'type' => 'list_default',
'weight' => 7,
),
),
'entity_type' => 'farm_asset',
'field_name' => 'field_farm_flags',
'label' => 'Flags',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(),
'type' => 'options_buttons',
'weight' => 3,
),
);
// Exported field_instance: 'farm_asset-animal-field_farm_images'.
$field_instances['farm_asset-animal-field_farm_images'] = array(
'bundle' => 'animal',
'default_value' => array(),
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'colorbox',
'settings' => array(
'colorbox_caption' => 'auto',
'colorbox_caption_custom' => '',
'colorbox_gallery' => 'post',
'colorbox_gallery_custom' => '',
'colorbox_image_style' => '',
'colorbox_multivalue_index' => NULL,
'colorbox_node_style' => 'thumbnail',
'colorbox_node_style_first' => 'large',
),
'type' => 'colorbox',
'weight' => 9,
),
),
'entity_type' => 'farm_asset',
'field_name' => 'field_farm_images',
'label' => 'Photos',
'required' => 0,
'settings' => array(
'alt_field' => 0,
'default_image' => 0,
'file_directory' => 'farm/asset/animal',
'file_extensions' => '',
'max_filesize' => '',
'max_resolution' => '',
'min_resolution' => '',
'title_field' => 0,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'multiupload_imagefield_widget',
'settings' => array(
'preview_image_style' => 'thumbnail',
'progress_indicator' => 'bar',
),
'type' => 'image_miw',
'weight' => 4,
),
);
// Exported field_instance: 'farm_asset-animal-field_farm_parent'.
$field_instances['farm_asset-animal-field_farm_parent'] = array(
'bundle' => 'animal',
'default_value' => array(),
'deleted' => 0,
'description' => 'Specify the parent(s) of this animal.',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'entityreference',
'settings' => array(
'bypass_access' => FALSE,
'link' => 1,
),
'type' => 'entityreference_label',
'weight' => 6,
),
),
'entity_type' => 'farm_asset',
'field_name' => 'field_farm_parent',
'label' => 'Parent(s)',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'entityreference_view_widget',
'settings' => array(
'allow_duplicates' => 0,
'close_modal' => 1,
'pass_argument' => 1,
'pass_arguments' => '',
'rendered_entity' => 0,
'view' => 'farm_asset_entityreference_view|entityreference_view_widget',
'view_mode' => 'full',
),
'type' => 'entityreference_view_widget',
'weight' => 3,
),
);
// Exported field_instance:
// 'field_collection_item-field_farm_animal_tag-field_farm_animal_tag_id'.
$field_instances['field_collection_item-field_farm_animal_tag-field_farm_animal_tag_id'] = array(
'bundle' => 'field_farm_animal_tag',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 0,
),
),
'entity_type' => 'field_collection_item',
'field_name' => 'field_farm_animal_tag_id',
'label' => 'ID',
'required' => 0,
'settings' => array(
'text_processing' => 0,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'size' => 60,
),
'type' => 'text_textfield',
'weight' => 1,
),
);
// Exported field_instance:
// 'field_collection_item-field_farm_animal_tag-field_farm_animal_tag_location'.
$field_instances['field_collection_item-field_farm_animal_tag-field_farm_animal_tag_location'] = array(
'bundle' => 'field_farm_animal_tag',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 1,
),
),
'entity_type' => 'field_collection_item',
'field_name' => 'field_farm_animal_tag_location',
'label' => 'Body Location',
'required' => 0,
'settings' => array(
'text_processing' => 0,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'size' => 60,
),
'type' => 'text_textfield',
'weight' => 3,
),
);
// Exported field_instance:
// 'field_collection_item-field_farm_animal_tag-field_farm_animal_tag_type'.
$field_instances['field_collection_item-field_farm_animal_tag-field_farm_animal_tag_type'] = array(
'bundle' => 'field_farm_animal_tag',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'list',
'settings' => array(),
'type' => 'list_default',
'weight' => 2,
),
),
'entity_type' => 'field_collection_item',
'field_name' => 'field_farm_animal_tag_type',
'label' => 'Tag Type',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(),
'type' => 'options_select',
'weight' => 2,
),
);
// Exported field_instance: 'log-farm_birth-field_farm_area'.
$field_instances['log-farm_birth-field_farm_area'] = array(
'bundle' => 'farm_birth',
'default_value' => NULL,
'deleted' => 0,
'description' => 'What area(s) did this birth take place in?',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'taxonomy',
'settings' => array(),
'type' => 'taxonomy_term_reference_link',
'weight' => 5,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_area',
'label' => 'Areas',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(),
'type' => 'options_select',
'weight' => 20,
),
);
// Exported field_instance: 'log-farm_birth-field_farm_asset'.
$field_instances['log-farm_birth-field_farm_asset'] = array(
'bundle' => 'farm_birth',
'deleted' => 0,
'description' => 'Reference the animals that were born. Alternatively, if you just want to increase the head count of another animal record, add an inventory adjustment below.',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'entityreference',
'settings' => array(
'bypass_access' => 0,
'link' => 1,
),
'type' => 'entityreference_label',
'weight' => 1,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_asset',
'label' => 'Children',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'entityreference_view_widget',
'settings' => array(
'allow_duplicates' => 0,
'close_modal' => 1,
'pass_argument' => 1,
'pass_arguments' => '',
'rendered_entity' => 0,
'view' => 'farm_asset_entityreference_view|entityreference_view_widget',
'view_mode' => 'full',
),
'type' => 'entityreference_view_widget',
'weight' => 7,
),
);
// Exported field_instance: 'log-farm_birth-field_farm_files'.
$field_instances['log-farm_birth-field_farm_files'] = array(
'bundle' => 'farm_birth',
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'file',
'settings' => array(),
'type' => 'file_table',
'weight' => 11,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_files',
'label' => 'Files',
'required' => 0,
'settings' => array(
'description_field' => 1,
'file_directory' => 'farm/log/birth',
'file_extensions' => '',
'max_filesize' => '',
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'multiupload_filefield_widget',
'settings' => array(
'progress_indicator' => 'bar',
),
'type' => 'file_mfw',
'weight' => 16,
),
);
// Exported field_instance: 'log-farm_birth-field_farm_flags'.
$field_instances['log-farm_birth-field_farm_flags'] = array(
'bundle' => 'farm_birth',
'default_value' => NULL,
'deleted' => 0,
'description' => 'Add flags to this log to enable better sorting and filtering of records.',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'list',
'settings' => array(),
'type' => 'list_default',
'weight' => 7,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_flags',
'label' => 'Flags',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(),
'type' => 'options_buttons',
'weight' => 2,
),
);
// Exported field_instance: 'log-farm_birth-field_farm_geofield'.
$field_instances['log-farm_birth-field_farm_geofield'] = array(
'bundle' => 'farm_birth',
'default_value' => NULL,
'deleted' => 0,
'description' => 'This field is optional. It allows you to store geospatial data along with this birth log, such as the precise location where the birth took place.',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'farm_map_geofield',
'settings' => array(),
'type' => 'farm_map_geofield',
'weight' => 12,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_geofield',
'label' => 'Geometry',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'farm_map_geofield',
'settings' => array(
'delta_handling' => 'default',
'geocoder_field' => 'field_farm_files',
'geocoder_handler' => 'kml',
'handler_settings' => array(
'google' => array(
'all_results' => 0,
'biasing' => array(
'bounds' => '',
'components' => '',
'region' => '',
),
'geometry_type' => 'point',
'reject_results' => array(
'APPROXIMATE' => 0,
'GEOMETRIC_CENTER' => 0,
'RANGE_INTERPOLATED' => 0,
'ROOFTOP' => 0,
),
),
),
'use_geocoder' => 1,
),
'type' => 'farm_map_geofield',
'weight' => 22,
),
);
// Exported field_instance: 'log-farm_birth-field_farm_images'.
$field_instances['log-farm_birth-field_farm_images'] = array(
'bundle' => 'farm_birth',
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'colorbox',
'settings' => array(
'colorbox_caption' => 'auto',
'colorbox_caption_custom' => '',
'colorbox_gallery' => 'post',
'colorbox_gallery_custom' => '',
'colorbox_image_style' => '',
'colorbox_multivalue_index' => NULL,
'colorbox_node_style' => 'thumbnail',
'colorbox_node_style_first' => 'large',
),
'type' => 'colorbox',
'weight' => 10,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_images',
'label' => 'Photos',
'required' => 0,
'settings' => array(
'alt_field' => 0,
'default_image' => 0,
'file_directory' => 'farm/log/birth',
'file_extensions' => '',
'max_filesize' => '',
'max_resolution' => '',
'min_resolution' => '',
'title_field' => 0,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'multiupload_imagefield_widget',
'settings' => array(
'preview_image_style' => 'thumbnail',
'progress_indicator' => 'bar',
),
'type' => 'image_miw',
'weight' => 15,
),
);
// Exported field_instance: 'log-farm_birth-field_farm_inventory'.
$field_instances['log-farm_birth-field_farm_inventory'] = array(
'bundle' => 'farm_birth',
'default_value' => NULL,
'deleted' => 0,
'description' => 'Use this to set or adjust asset inventory levels along with this log.',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'field_collection',
'settings' => array(
'view_mode' => 'full',
),
'type' => 'field_collection_fields',
'weight' => 4,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_inventory',
'label' => 'Inventory adjustments',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 0,
'module' => 'field_collection',
'settings' => array(),
'type' => 'field_collection_embed',
'weight' => 18,
),
);
// Exported field_instance: 'log-farm_birth-field_farm_log_category'.
$field_instances['log-farm_birth-field_farm_log_category'] = array(
'bundle' => 'farm_birth',
'default_value' => NULL,
'deleted' => 0,
'description' => 'Use this to organize your logs into categories for easier searching and filtering later.',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'taxonomy',
'settings' => array(),
'type' => 'taxonomy_term_reference_link',
'weight' => 8,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_log_category',
'label' => 'Log category',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(),
'type' => 'options_select',
'weight' => 3,
),
);
// Exported field_instance: 'log-farm_birth-field_farm_log_owner'.
$field_instances['log-farm_birth-field_farm_log_owner'] = array(
'bundle' => 'farm_birth',
'default_value' => NULL,
'deleted' => 0,
'description' => 'Optionally assign this task to one or more people.',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'entityreference',
'settings' => array(
'bypass_access' => FALSE,
'link' => FALSE,
),
'type' => 'entityreference_label',
'weight' => 9,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_log_owner',
'label' => 'Assigned to',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(),
'type' => 'options_select',
'weight' => 9,
),
);
// Exported field_instance: 'log-farm_birth-field_farm_membership'.
$field_instances['log-farm_birth-field_farm_membership'] = array(
'bundle' => 'farm_birth',
'default_value' => NULL,
'deleted' => 0,
'description' => 'Use this field to set the group membership of any asset(s) referenced by this log.',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'field_collection',
'settings' => array(
'view_mode' => 'full',
),
'type' => 'field_collection_fields',
'weight' => 3,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_membership',
'label' => 'Group membership',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 0,
'module' => 'field_collection',
'settings' => array(),
'type' => 'field_collection_embed',
'weight' => 9,
),
);
// Exported field_instance: 'log-farm_birth-field_farm_mother'.
$field_instances['log-farm_birth-field_farm_mother'] = array(
'bundle' => 'farm_birth',
'deleted' => 0,
'description' => 'Link this birth log to a mother animal so that you can easily see all birth logs for that animal on their record.',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'entityreference',
'settings' => array(
'bypass_access' => 0,
'link' => 1,
),
'type' => 'entityreference_label',
'weight' => 0,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_mother',
'label' => 'Mother',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'entityreference_view_widget',
'settings' => array(
'allow_duplicates' => 0,
'close_modal' => 1,
'pass_argument' => 1,
'pass_arguments' => '',
'rendered_entity' => 0,
'view' => 'farm_asset_entityreference_view|entityreference_view_widget',
'view_mode' => 'full',
),
'type' => 'entityreference_view_widget',
'weight' => 23,
),
);
// Exported field_instance: 'log-farm_birth-field_farm_movement'.
$field_instances['log-farm_birth-field_farm_movement'] = array(
'bundle' => 'farm_birth',
'default_value' => NULL,
'deleted' => 0,
'description' => 'Use these fields to record a movement with this log entry. This will be used to define the location of any referenced assets. The current location of any asset is determined by the most recently completed movement log. Only the "to" field is required.',
'display' => array(
'default' => array(
'label' => 'hidden',
'module' => 'field_collection',
'settings' => array(
'view_mode' => 'full',
),
'type' => 'field_collection_fields',
'weight' => 2,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_movement',
'label' => 'Movement',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 0,
'module' => 'field_collection',
'settings' => array(),
'type' => 'field_collection_embed',
'weight' => 8,
),
);
// Exported field_instance: 'log-farm_birth-field_farm_notes'.
$field_instances['log-farm_birth-field_farm_notes'] = array(
'bundle' => 'farm_birth',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 6,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_notes',
'label' => 'Notes',
'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' => 1,
),
);
// Exported field_instance: 'log-farm_medical-field_farm_asset'.
$field_instances['log-farm_medical-field_farm_asset'] = array(
'bundle' => 'farm_medical',
'deleted' => 0,
'description' => 'What animals do this medical log pertain to?',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'entityreference',
'settings' => array(
'bypass_access' => FALSE,
'link' => 1,
),
'type' => 'entityreference_label',
'weight' => 0,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_asset',
'label' => 'Animals',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'entityreference_view_widget',
'settings' => array(
'allow_duplicates' => 0,
'close_modal' => 1,
'pass_argument' => 1,
'pass_arguments' => '',
'rendered_entity' => 0,
'view' => 'farm_asset_entityreference_view|entityreference_view_widget',
'view_mode' => 'full',
),
'type' => 'entityreference_view_widget',
'weight' => -8,
),
);
// Exported field_instance: 'log-farm_medical-field_farm_files'.
$field_instances['log-farm_medical-field_farm_files'] = array(
'bundle' => 'farm_medical',
'default_value' => array(),
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'file',
'settings' => array(),
'type' => 'file_table',
'weight' => 10,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_files',
'label' => 'Files',
'required' => 0,
'settings' => array(
'description_field' => 1,
'file_directory' => 'farm/log/medical',
'file_extensions' => '',
'max_filesize' => '',
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'multiupload_filefield_widget',
'settings' => array(
'progress_indicator' => 'bar',
),
'type' => 'file_mfw',
'weight' => 6,
),
);
// Exported field_instance: 'log-farm_medical-field_farm_flags'.
$field_instances['log-farm_medical-field_farm_flags'] = array(
'bundle' => 'farm_medical',
'default_value' => NULL,
'deleted' => 0,
'description' => 'Add flags to this log to enable better sorting and filtering of records.',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'list',
'settings' => array(),
'type' => 'list_default',
'weight' => 6,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_flags',
'label' => 'Flags',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(),
'type' => 'options_buttons',
'weight' => -5,
),
);
// Exported field_instance: 'log-farm_medical-field_farm_images'.
$field_instances['log-farm_medical-field_farm_images'] = array(
'bundle' => 'farm_medical',
'default_value' => array(),
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'colorbox',
'settings' => array(
'colorbox_caption' => 'auto',
'colorbox_caption_custom' => '',
'colorbox_gallery' => 'post',
'colorbox_gallery_custom' => '',
'colorbox_image_style' => '',
'colorbox_multivalue_index' => NULL,
'colorbox_node_style' => 'thumbnail',
'colorbox_node_style_first' => 'large',
),
'type' => 'colorbox',
'weight' => 9,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_images',
'label' => 'Photos',
'required' => 0,
'settings' => array(
'alt_field' => 0,
'default_image' => 0,
'file_directory' => 'farm/log/medical',
'file_extensions' => '',
'max_filesize' => '',
'max_resolution' => '',
'min_resolution' => '',
'title_field' => 0,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'multiupload_imagefield_widget',
'settings' => array(
'preview_image_style' => 'thumbnail',
'progress_indicator' => 'bar',
),
'type' => 'image_miw',
'weight' => 5,
),
);
// Exported field_instance: 'log-farm_medical-field_farm_inventory'.
$field_instances['log-farm_medical-field_farm_inventory'] = array(
'bundle' => 'farm_medical',
'default_value' => NULL,
'deleted' => 0,
'description' => 'Use this to set or adjust asset inventory levels along with this log.',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'field_collection',
'settings' => array(
'view_mode' => 'full',
),
'type' => 'field_collection_fields',
'weight' => 4,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_inventory',
'label' => 'Inventory adjustments',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 0,
'module' => 'field_collection',
'settings' => array(),
'type' => 'field_collection_embed',
'weight' => 12,
),
);
// Exported field_instance: 'log-farm_medical-field_farm_log_category'.
$field_instances['log-farm_medical-field_farm_log_category'] = array(
'bundle' => 'farm_medical',
'default_value' => NULL,
'deleted' => 0,
'description' => 'Use this to organize your logs into categories for easier searching and filtering later.',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'taxonomy',
'settings' => array(),
'type' => 'taxonomy_term_reference_link',
'weight' => 7,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_log_category',
'label' => 'Log category',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(),
'type' => 'options_select',
'weight' => 10,
),
);
// Exported field_instance: 'log-farm_medical-field_farm_log_owner'.
$field_instances['log-farm_medical-field_farm_log_owner'] = array(
'bundle' => 'farm_medical',
'default_value' => NULL,
'deleted' => 0,
'description' => 'Optionally assign this task to one or more people.',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'entityreference',
'settings' => array(
'bypass_access' => FALSE,
'link' => FALSE,
),
'type' => 'entityreference_label',
'weight' => 8,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_log_owner',
'label' => 'Assigned to',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(),
'type' => 'options_select',
'weight' => 8,
),
);
// Exported field_instance: 'log-farm_medical-field_farm_movement'.
$field_instances['log-farm_medical-field_farm_movement'] = array(
'bundle' => 'farm_medical',
'default_value' => NULL,
'deleted' => 0,
'description' => 'Use these fields to record a movement with this log entry. This will be used to define the location of any referenced assets. The current location of any asset is determined by the most recently completed movement log. Only the "to" field is required.',
'display' => array(
'default' => array(
'label' => 'hidden',
'module' => 'field_collection',
'settings' => array(
'view_mode' => 'full',
),
'type' => 'field_collection_fields',
'weight' => 2,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_movement',
'label' => 'Movement',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 0,
'module' => 'field_collection',
'settings' => array(),
'type' => 'field_collection_embed',
'weight' => 2,
),
);
// Exported field_instance: 'log-farm_medical-field_farm_notes'.
$field_instances['log-farm_medical-field_farm_notes'] = array(
'bundle' => 'farm_medical',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 5,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_notes',
'label' => 'Notes',
'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_instance: 'log-farm_medical-field_farm_quantity'.
$field_instances['log-farm_medical-field_farm_quantity'] = array(
'bundle' => 'farm_medical',
'default_value' => NULL,
'deleted' => 0,
'description' => 'Optionally, use this quantity field to record an observed quantity.',
'display' => array(
'default' => array(
'label' => 'inline',
'module' => 'field_collection',
'settings' => array(
'view_mode' => 'full',
),
'type' => 'field_collection_fields',
'weight' => 3,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_quantity',
'label' => 'Quantity',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 0,
'module' => 'field_collection',
'settings' => array(),
'type' => 'field_collection_embed',
'weight' => 14,
),
);
// Exported field_instance: 'log-farm_medical-field_farm_vet'.
$field_instances['log-farm_medical-field_farm_vet'] = array(
'bundle' => 'farm_medical',
'default_value' => NULL,
'deleted' => 0,
'description' => 'If a veterinarian was involved, enter their name here.',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 12,
),
),
'entity_type' => 'log',
'field_name' => 'field_farm_vet',
'label' => 'Veterinarian',
'required' => 0,
'settings' => array(
'text_processing' => 0,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'size' => 60,
),
'type' => 'text_textfield',
'weight' => -7,
),
);
// Translatables
// Included for use with string extractors like potx.
t('Add flags to this asset to enable better sorting and filtering of records.');
t('Add flags to this log to enable better sorting and filtering of records.');
t('Animals');
t('Areas');
t('Assigned to');
t('Body Location');
t('Castrated');
t('Children');
t('Date of birth');
t('Description');
t('Enter this animal asset\'s species/breed. You can manage the list of available species/breeds in the <a href="/farm/assets/animals/types">Animal Species/Breeds</a> vocabulary.');
t('Files');
t('Flags');
t('Geometry');
t('Group membership');
t('Has this animal been castrated?');
t('ID');
t('ID Tag(s)');
t('If a veterinarian was involved, enter their name here.');
t('Inventory adjustments');
t('Link this birth log to a mother animal so that you can easily see all birth logs for that animal on their record.');
t('List any identification tags that this animal has. These can be ear tags, tattoos, leg bands, etc. Use the fields below to describe the type, location, and ID of each.');
t('List any nickname(s) of this animal.');
t('Log category');
t('Mother');
t('Movement');
t('Nickname(s)');
t('Notes');
t('Optionally assign this task to one or more people.');
t('Optionally, use this quantity field to record an observed quantity.');
t('Parent(s)');
t('Photos');
t('Quantity');
t('Reference the animals that were born. Alternatively, if you just want to increase the head count of another animal record, add an inventory adjustment below.');
t('Sex');
t('Species/breed');
t('Specify the parent(s) of this animal.');
t('Tag Type');
t('This field is optional. It allows you to store geospatial data along with this birth log, such as the precise location where the birth took place.');
t('Use these fields to record a movement with this log entry. This will be used to define the location of any referenced assets. The current location of any asset is determined by the most recently completed movement log. Only the "to" field is required.');
t('Use this field to set the group membership of any asset(s) referenced by this log.');
t('Use this to organize your logs into categories for easier searching and filtering later.');
t('Use this to set or adjust asset inventory levels along with this log.');
t('Veterinarian');
t('What animals do this medical log pertain to?');
t('What area(s) did this birth take place in?');
return $field_instances;
}