Revert to default Features exported code and comments.
This commit is contained in:
parent
a9bcd205b2
commit
e067c1d43e
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Field features for farm_livestock.
|
||||
* farm_livestock.features.field.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -13,9 +13,9 @@ function farm_livestock_field_default_fields() {
|
|||
// Exported field: 'farm_asset-animal-field_farm_animal_description'.
|
||||
$fields['farm_asset-animal-field_farm_animal_description'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '1',
|
||||
'deleted' => '0',
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_farm_animal_description',
|
||||
'foreign keys' => array(
|
||||
|
@ -31,16 +31,16 @@ function farm_livestock_field_default_fields() {
|
|||
0 => 'format',
|
||||
),
|
||||
),
|
||||
'locked' => '0',
|
||||
'locked' => 0,
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'translatable' => '0',
|
||||
'translatable' => 0,
|
||||
'type' => 'text_long',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'animal',
|
||||
'default_value' => NULL,
|
||||
'deleted' => '0',
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
|
@ -48,7 +48,7 @@ function farm_livestock_field_default_fields() {
|
|||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'type' => 'text_default',
|
||||
'weight' => '7',
|
||||
'weight' => 7,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'farm_asset',
|
||||
|
@ -56,17 +56,17 @@ function farm_livestock_field_default_fields() {
|
|||
'label' => 'Description',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'text_processing' => '0',
|
||||
'text_processing' => 0,
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'rows' => '5',
|
||||
'rows' => 5,
|
||||
),
|
||||
'type' => 'text_textarea',
|
||||
'weight' => '8',
|
||||
'weight' => 8,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -74,9 +74,9 @@ function farm_livestock_field_default_fields() {
|
|||
// Exported field: 'farm_asset-animal-field_farm_animal_group'.
|
||||
$fields['farm_asset-animal-field_farm_animal_group'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '1',
|
||||
'deleted' => '0',
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_farm_animal_group',
|
||||
'foreign keys' => array(
|
||||
|
@ -92,23 +92,23 @@ function farm_livestock_field_default_fields() {
|
|||
0 => 'tid',
|
||||
),
|
||||
),
|
||||
'locked' => '0',
|
||||
'locked' => 0,
|
||||
'module' => 'taxonomy',
|
||||
'settings' => array(
|
||||
'allowed_values' => array(
|
||||
0 => array(
|
||||
'vocabulary' => 'farm_animal_groups',
|
||||
'parent' => '0',
|
||||
'parent' => 0,
|
||||
),
|
||||
),
|
||||
),
|
||||
'translatable' => '0',
|
||||
'translatable' => 0,
|
||||
'type' => 'taxonomy_term_reference',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'animal',
|
||||
'default_value' => NULL,
|
||||
'deleted' => '0',
|
||||
'deleted' => 0,
|
||||
'description' => 'Assign this animal to a particular group, herd, flock, etc.',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
|
@ -116,7 +116,7 @@ function farm_livestock_field_default_fields() {
|
|||
'module' => 'taxonomy',
|
||||
'settings' => array(),
|
||||
'type' => 'taxonomy_term_reference_link',
|
||||
'weight' => '1',
|
||||
'weight' => 1,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'farm_asset',
|
||||
|
@ -134,7 +134,7 @@ function farm_livestock_field_default_fields() {
|
|||
'size' => 60,
|
||||
),
|
||||
'type' => 'taxonomy_autocomplete',
|
||||
'weight' => '2',
|
||||
'weight' => 2,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -142,9 +142,9 @@ function farm_livestock_field_default_fields() {
|
|||
// Exported field: 'farm_asset-animal-field_farm_animal_nicknames'.
|
||||
$fields['farm_asset-animal-field_farm_animal_nicknames'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '-1',
|
||||
'deleted' => '0',
|
||||
'active' => 1,
|
||||
'cardinality' => -1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_farm_animal_nicknames',
|
||||
'foreign keys' => array(
|
||||
|
@ -160,18 +160,18 @@ function farm_livestock_field_default_fields() {
|
|||
0 => 'format',
|
||||
),
|
||||
),
|
||||
'locked' => '0',
|
||||
'locked' => 0,
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'max_length' => '255',
|
||||
'max_length' => 255,
|
||||
),
|
||||
'translatable' => '0',
|
||||
'translatable' => 0,
|
||||
'type' => 'text',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'animal',
|
||||
'default_value' => NULL,
|
||||
'deleted' => '0',
|
||||
'deleted' => 0,
|
||||
'description' => 'List any nickname(s) of this animal.',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
|
@ -179,7 +179,7 @@ function farm_livestock_field_default_fields() {
|
|||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'type' => 'text_default',
|
||||
'weight' => '0',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'farm_asset',
|
||||
|
@ -187,17 +187,17 @@ function farm_livestock_field_default_fields() {
|
|||
'label' => 'Nickname(s)',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'text_processing' => '0',
|
||||
'text_processing' => 0,
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'size' => '60',
|
||||
'size' => 60,
|
||||
),
|
||||
'type' => 'text_textfield',
|
||||
'weight' => '1',
|
||||
'weight' => 1,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -205,9 +205,9 @@ function farm_livestock_field_default_fields() {
|
|||
// Exported field: 'farm_asset-animal-field_farm_animal_parents'.
|
||||
$fields['farm_asset-animal-field_farm_animal_parents'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '2',
|
||||
'deleted' => '0',
|
||||
'active' => 1,
|
||||
'cardinality' => 2,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_farm_animal_parents',
|
||||
'foreign keys' => array(
|
||||
|
@ -223,7 +223,7 @@ function farm_livestock_field_default_fields() {
|
|||
0 => 'target_id',
|
||||
),
|
||||
),
|
||||
'locked' => '0',
|
||||
'locked' => 0,
|
||||
'module' => 'entityreference',
|
||||
'settings' => array(
|
||||
'handler' => 'base',
|
||||
|
@ -242,13 +242,13 @@ function farm_livestock_field_default_fields() {
|
|||
),
|
||||
'target_type' => 'farm_asset',
|
||||
),
|
||||
'translatable' => '0',
|
||||
'translatable' => 0,
|
||||
'type' => 'entityreference',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'animal',
|
||||
'default_value' => NULL,
|
||||
'deleted' => '0',
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
|
@ -258,7 +258,7 @@ function farm_livestock_field_default_fields() {
|
|||
'link' => FALSE,
|
||||
),
|
||||
'type' => 'entityreference_label',
|
||||
'weight' => '6',
|
||||
'weight' => 6,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'farm_asset',
|
||||
|
@ -274,10 +274,10 @@ function farm_livestock_field_default_fields() {
|
|||
'settings' => array(
|
||||
'match_operator' => 'CONTAINS',
|
||||
'path' => '',
|
||||
'size' => '60',
|
||||
'size' => 60,
|
||||
),
|
||||
'type' => 'entityreference_autocomplete',
|
||||
'weight' => '7',
|
||||
'weight' => 7,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -285,9 +285,9 @@ function farm_livestock_field_default_fields() {
|
|||
// Exported field: 'farm_asset-animal-field_farm_animal_sex'.
|
||||
$fields['farm_asset-animal-field_farm_animal_sex'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '1',
|
||||
'deleted' => '0',
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_farm_animal_sex',
|
||||
'foreign keys' => array(),
|
||||
|
@ -296,7 +296,7 @@ function farm_livestock_field_default_fields() {
|
|||
0 => 'value',
|
||||
),
|
||||
),
|
||||
'locked' => '0',
|
||||
'locked' => 0,
|
||||
'module' => 'list',
|
||||
'settings' => array(
|
||||
'allowed_values' => array(
|
||||
|
@ -305,13 +305,13 @@ function farm_livestock_field_default_fields() {
|
|||
),
|
||||
'allowed_values_function' => '',
|
||||
),
|
||||
'translatable' => '0',
|
||||
'translatable' => 0,
|
||||
'type' => 'list_text',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'animal',
|
||||
'default_value' => NULL,
|
||||
'deleted' => '0',
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
|
@ -319,7 +319,7 @@ function farm_livestock_field_default_fields() {
|
|||
'module' => 'list',
|
||||
'settings' => array(),
|
||||
'type' => 'list_default',
|
||||
'weight' => '4',
|
||||
'weight' => 4,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'farm_asset',
|
||||
|
@ -334,7 +334,7 @@ function farm_livestock_field_default_fields() {
|
|||
'module' => 'options',
|
||||
'settings' => array(),
|
||||
'type' => 'options_select',
|
||||
'weight' => '5',
|
||||
'weight' => 5,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -342,9 +342,9 @@ function farm_livestock_field_default_fields() {
|
|||
// Exported field: 'farm_asset-animal-field_farm_animal_tag'.
|
||||
$fields['farm_asset-animal-field_farm_animal_tag'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '-1',
|
||||
'deleted' => '0',
|
||||
'active' => 1,
|
||||
'cardinality' => -1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_farm_animal_tag',
|
||||
'foreign keys' => array(),
|
||||
|
@ -353,19 +353,19 @@ function farm_livestock_field_default_fields() {
|
|||
0 => 'revision_id',
|
||||
),
|
||||
),
|
||||
'locked' => '0',
|
||||
'locked' => 0,
|
||||
'module' => 'field_collection',
|
||||
'settings' => array(
|
||||
'hide_blank_items' => 1,
|
||||
'path' => '',
|
||||
),
|
||||
'translatable' => '0',
|
||||
'translatable' => 0,
|
||||
'type' => 'field_collection',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'animal',
|
||||
'default_value' => NULL,
|
||||
'deleted' => '0',
|
||||
'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(
|
||||
|
@ -375,7 +375,7 @@ function farm_livestock_field_default_fields() {
|
|||
'view_mode' => 'full',
|
||||
),
|
||||
'type' => 'field_collection_fields',
|
||||
'weight' => '2',
|
||||
'weight' => 2,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'farm_asset',
|
||||
|
@ -390,7 +390,7 @@ function farm_livestock_field_default_fields() {
|
|||
'module' => 'field_collection',
|
||||
'settings' => array(),
|
||||
'type' => 'field_collection_embed',
|
||||
'weight' => '3',
|
||||
'weight' => 3,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -398,9 +398,9 @@ function farm_livestock_field_default_fields() {
|
|||
// Exported field: 'farm_asset-animal-field_farm_animal_type'.
|
||||
$fields['farm_asset-animal-field_farm_animal_type'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '1',
|
||||
'deleted' => '0',
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_farm_animal_type',
|
||||
'foreign keys' => array(
|
||||
|
@ -416,23 +416,23 @@ function farm_livestock_field_default_fields() {
|
|||
0 => 'tid',
|
||||
),
|
||||
),
|
||||
'locked' => '0',
|
||||
'locked' => 0,
|
||||
'module' => 'taxonomy',
|
||||
'settings' => array(
|
||||
'allowed_values' => array(
|
||||
0 => array(
|
||||
'vocabulary' => 'farm_animal_types',
|
||||
'parent' => '0',
|
||||
'parent' => 0,
|
||||
),
|
||||
),
|
||||
),
|
||||
'translatable' => '0',
|
||||
'translatable' => 0,
|
||||
'type' => 'taxonomy_term_reference',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'animal',
|
||||
'default_value' => array(),
|
||||
'deleted' => '0',
|
||||
'deleted' => 0,
|
||||
'description' => 'What type of animal is this? You can manage the list of available types in the <a href="/admin/structure/taxonomy/farm_animal_types">Animal Types</a> vocabulary.',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
|
@ -440,7 +440,7 @@ function farm_livestock_field_default_fields() {
|
|||
'module' => 'taxonomy',
|
||||
'settings' => array(),
|
||||
'type' => 'taxonomy_term_reference_link',
|
||||
'weight' => '3',
|
||||
'weight' => 3,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'farm_asset',
|
||||
|
@ -458,7 +458,7 @@ function farm_livestock_field_default_fields() {
|
|||
'size' => 60,
|
||||
),
|
||||
'type' => 'options_select',
|
||||
'weight' => '4',
|
||||
'weight' => 4,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -466,17 +466,17 @@ function farm_livestock_field_default_fields() {
|
|||
// Exported field: 'farm_asset-animal-field_farm_date'.
|
||||
$fields['farm_asset-animal-field_farm_date'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '1',
|
||||
'deleted' => '0',
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_farm_date',
|
||||
'foreign keys' => array(),
|
||||
'indexes' => array(),
|
||||
'locked' => '0',
|
||||
'locked' => 0,
|
||||
'module' => 'date',
|
||||
'settings' => array(
|
||||
'cache_count' => '4',
|
||||
'cache_count' => 4,
|
||||
'cache_enabled' => 0,
|
||||
'granularity' => array(
|
||||
'day' => 'day',
|
||||
|
@ -486,17 +486,17 @@ function farm_livestock_field_default_fields() {
|
|||
'second' => 0,
|
||||
'year' => 'year',
|
||||
),
|
||||
'repeat' => '0',
|
||||
'repeat' => 0,
|
||||
'timezone_db' => '',
|
||||
'todate' => '',
|
||||
'tz_handling' => 'none',
|
||||
),
|
||||
'translatable' => '0',
|
||||
'translatable' => 0,
|
||||
'type' => 'datestamp',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'animal',
|
||||
'deleted' => '0',
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
|
@ -511,7 +511,7 @@ function farm_livestock_field_default_fields() {
|
|||
'show_repeat_rule' => 'show',
|
||||
),
|
||||
'type' => 'date_default',
|
||||
'weight' => '5',
|
||||
'weight' => 5,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'farm_asset',
|
||||
|
@ -529,7 +529,7 @@ function farm_livestock_field_default_fields() {
|
|||
'active' => 1,
|
||||
'module' => 'date',
|
||||
'settings' => array(
|
||||
'increment' => '15',
|
||||
'increment' => 15,
|
||||
'input_format' => 'M j Y - g:i:sa',
|
||||
'input_format_custom' => '',
|
||||
'label_position' => 'above',
|
||||
|
@ -538,7 +538,7 @@ function farm_livestock_field_default_fields() {
|
|||
'year_range' => '-3:+3',
|
||||
),
|
||||
'type' => 'date_popup',
|
||||
'weight' => '6',
|
||||
'weight' => 6,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -546,9 +546,9 @@ function farm_livestock_field_default_fields() {
|
|||
// Exported field: 'farm_asset-animal-field_farm_files'.
|
||||
$fields['farm_asset-animal-field_farm_files'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '-1',
|
||||
'deleted' => '0',
|
||||
'active' => 1,
|
||||
'cardinality' => -1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_farm_files',
|
||||
'foreign keys' => array(
|
||||
|
@ -564,19 +564,19 @@ function farm_livestock_field_default_fields() {
|
|||
0 => 'fid',
|
||||
),
|
||||
),
|
||||
'locked' => '0',
|
||||
'locked' => 0,
|
||||
'module' => 'file',
|
||||
'settings' => array(
|
||||
'display_default' => 0,
|
||||
'display_field' => 0,
|
||||
'uri_scheme' => 'public',
|
||||
),
|
||||
'translatable' => '0',
|
||||
'translatable' => 0,
|
||||
'type' => 'file',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'animal',
|
||||
'deleted' => '0',
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
|
@ -584,7 +584,7 @@ function farm_livestock_field_default_fields() {
|
|||
'module' => 'file',
|
||||
'settings' => array(),
|
||||
'type' => 'file_table',
|
||||
'weight' => '9',
|
||||
'weight' => 9,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'farm_asset',
|
||||
|
@ -624,7 +624,7 @@ function farm_livestock_field_default_fields() {
|
|||
'progress_indicator' => 'bar',
|
||||
),
|
||||
'type' => 'file_generic',
|
||||
'weight' => '10',
|
||||
'weight' => 10,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -632,9 +632,9 @@ function farm_livestock_field_default_fields() {
|
|||
// Exported field: 'farm_asset-animal-field_farm_images'.
|
||||
$fields['farm_asset-animal-field_farm_images'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '-1',
|
||||
'deleted' => '0',
|
||||
'active' => 1,
|
||||
'cardinality' => -1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_farm_images',
|
||||
'foreign keys' => array(
|
||||
|
@ -650,18 +650,18 @@ function farm_livestock_field_default_fields() {
|
|||
0 => 'fid',
|
||||
),
|
||||
),
|
||||
'locked' => '0',
|
||||
'locked' => 0,
|
||||
'module' => 'image',
|
||||
'settings' => array(
|
||||
'default_image' => 0,
|
||||
'uri_scheme' => 'public',
|
||||
),
|
||||
'translatable' => '0',
|
||||
'translatable' => 0,
|
||||
'type' => 'image',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'animal',
|
||||
'deleted' => '0',
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
|
@ -678,7 +678,7 @@ function farm_livestock_field_default_fields() {
|
|||
'colorbox_node_style_first' => 'large',
|
||||
),
|
||||
'type' => 'colorbox',
|
||||
'weight' => '8',
|
||||
'weight' => 8,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'farm_asset',
|
||||
|
@ -723,7 +723,7 @@ function farm_livestock_field_default_fields() {
|
|||
'progress_indicator' => 'bar',
|
||||
),
|
||||
'type' => 'image_image',
|
||||
'weight' => '9',
|
||||
'weight' => 9,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -731,9 +731,9 @@ function farm_livestock_field_default_fields() {
|
|||
// Exported field: 'field_collection_item-field_farm_animal_tag-field_farm_animal_tag_id'.
|
||||
$fields['field_collection_item-field_farm_animal_tag-field_farm_animal_tag_id'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '1',
|
||||
'deleted' => '0',
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_farm_animal_tag_id',
|
||||
'foreign keys' => array(
|
||||
|
@ -749,18 +749,18 @@ function farm_livestock_field_default_fields() {
|
|||
0 => 'format',
|
||||
),
|
||||
),
|
||||
'locked' => '0',
|
||||
'locked' => 0,
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'max_length' => '255',
|
||||
'max_length' => 255,
|
||||
),
|
||||
'translatable' => '0',
|
||||
'translatable' => 0,
|
||||
'type' => 'text',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'field_farm_animal_tag',
|
||||
'default_value' => NULL,
|
||||
'deleted' => '0',
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
|
@ -776,17 +776,17 @@ function farm_livestock_field_default_fields() {
|
|||
'label' => 'ID',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'text_processing' => '0',
|
||||
'text_processing' => 0,
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'size' => '60',
|
||||
'size' => 60,
|
||||
),
|
||||
'type' => 'text_textfield',
|
||||
'weight' => '1',
|
||||
'weight' => 1,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -794,9 +794,9 @@ function farm_livestock_field_default_fields() {
|
|||
// Exported field: 'field_collection_item-field_farm_animal_tag-field_farm_animal_tag_location'.
|
||||
$fields['field_collection_item-field_farm_animal_tag-field_farm_animal_tag_location'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '1',
|
||||
'deleted' => '0',
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_farm_animal_tag_location',
|
||||
'foreign keys' => array(
|
||||
|
@ -812,18 +812,18 @@ function farm_livestock_field_default_fields() {
|
|||
0 => 'format',
|
||||
),
|
||||
),
|
||||
'locked' => '0',
|
||||
'locked' => 0,
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'max_length' => '255',
|
||||
'max_length' => 255,
|
||||
),
|
||||
'translatable' => '0',
|
||||
'translatable' => 0,
|
||||
'type' => 'text',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'field_farm_animal_tag',
|
||||
'default_value' => NULL,
|
||||
'deleted' => '0',
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
|
@ -839,17 +839,17 @@ function farm_livestock_field_default_fields() {
|
|||
'label' => 'Body Location',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'text_processing' => '0',
|
||||
'text_processing' => 0,
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'size' => '60',
|
||||
'size' => 60,
|
||||
),
|
||||
'type' => 'text_textfield',
|
||||
'weight' => '3',
|
||||
'weight' => 3,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -857,9 +857,9 @@ function farm_livestock_field_default_fields() {
|
|||
// Exported field: 'field_collection_item-field_farm_animal_tag-field_farm_animal_tag_type'.
|
||||
$fields['field_collection_item-field_farm_animal_tag-field_farm_animal_tag_type'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '1',
|
||||
'deleted' => '0',
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_farm_animal_tag_type',
|
||||
'foreign keys' => array(),
|
||||
|
@ -868,7 +868,7 @@ function farm_livestock_field_default_fields() {
|
|||
0 => 'value',
|
||||
),
|
||||
),
|
||||
'locked' => '0',
|
||||
'locked' => 0,
|
||||
'module' => 'list',
|
||||
'settings' => array(
|
||||
'allowed_values' => array(
|
||||
|
@ -879,13 +879,13 @@ function farm_livestock_field_default_fields() {
|
|||
),
|
||||
'allowed_values_function' => '',
|
||||
),
|
||||
'translatable' => '0',
|
||||
'translatable' => 0,
|
||||
'type' => 'list_text',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'field_farm_animal_tag',
|
||||
'default_value' => NULL,
|
||||
'deleted' => '0',
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
|
@ -908,7 +908,7 @@ function farm_livestock_field_default_fields() {
|
|||
'module' => 'options',
|
||||
'settings' => array(),
|
||||
'type' => 'options_select',
|
||||
'weight' => '2',
|
||||
'weight' => 2,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Features include file for farm_livestock.
|
||||
* farm_livestock.features.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Taxonomy features for farm_livestock.
|
||||
* farm_livestock.features.taxonomy.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -13,9 +13,9 @@ function farm_livestock_taxonomy_default_vocabularies() {
|
|||
'name' => 'Farm Animal Groups',
|
||||
'machine_name' => 'farm_animal_groups',
|
||||
'description' => 'Vocabulary of farm animal groups, herds, flocks, etc.',
|
||||
'hierarchy' => '0',
|
||||
'hierarchy' => 0,
|
||||
'module' => 'taxonomy',
|
||||
'weight' => '0',
|
||||
'weight' => 0,
|
||||
'rdf_mapping' => array(
|
||||
'rdftype' => array(
|
||||
0 => 'skos:ConceptScheme',
|
||||
|
@ -36,9 +36,9 @@ function farm_livestock_taxonomy_default_vocabularies() {
|
|||
'name' => 'Farm Animal Types',
|
||||
'machine_name' => 'farm_animal_types',
|
||||
'description' => 'A vocabulary of farm animal types.',
|
||||
'hierarchy' => '1',
|
||||
'hierarchy' => 1,
|
||||
'module' => 'taxonomy',
|
||||
'weight' => '0',
|
||||
'weight' => 0,
|
||||
'rdf_mapping' => array(
|
||||
'rdftype' => array(
|
||||
0 => 'skos:ConceptScheme',
|
||||
|
|
|
@ -11,6 +11,8 @@ dependencies[] = farm_asset
|
|||
dependencies[] = farm_log
|
||||
dependencies[] = features
|
||||
dependencies[] = field_collection
|
||||
dependencies[] = field_sql_storage
|
||||
dependencies[] = file
|
||||
dependencies[] = filefield_paths
|
||||
dependencies[] = image
|
||||
dependencies[] = list
|
||||
|
@ -19,6 +21,7 @@ dependencies[] = pathauto
|
|||
dependencies[] = pathauto_entity
|
||||
dependencies[] = strongarm
|
||||
dependencies[] = taxonomy
|
||||
dependencies[] = text
|
||||
dependencies[] = views
|
||||
dependencies[] = views_bulk_operations
|
||||
features[ctools][] = strongarm:strongarm:1
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Strongarm variables for farm_livestock.
|
||||
* farm_livestock.strongarm.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Default views for farm_livestock.
|
||||
* farm_livestock.views_default.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -386,7 +386,7 @@ function farm_livestock_views_default_views() {
|
|||
$handler->display->display_options['fields']['field_farm_animal_sex']['id'] = 'field_farm_animal_sex';
|
||||
$handler->display->display_options['fields']['field_farm_animal_sex']['table'] = 'field_data_field_farm_animal_sex';
|
||||
$handler->display->display_options['fields']['field_farm_animal_sex']['field'] = 'field_farm_animal_sex';
|
||||
/* Field: Field: Date */
|
||||
/* Field: Farm asset: Date of birth */
|
||||
$handler->display->display_options['fields']['field_farm_date']['id'] = 'field_farm_date';
|
||||
$handler->display->display_options['fields']['field_farm_date']['table'] = 'field_data_field_farm_date';
|
||||
$handler->display->display_options['fields']['field_farm_date']['field'] = 'field_farm_date';
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Field features for farm_livestock_eggs().
|
||||
* farm_livestock_eggs.features.field.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -13,9 +13,9 @@ function farm_livestock_eggs_field_default_fields() {
|
|||
// Exported field: 'log-farm_eggs-field_farm_animal_group'.
|
||||
$fields['log-farm_eggs-field_farm_animal_group'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '1',
|
||||
'deleted' => '0',
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_farm_animal_group',
|
||||
'foreign keys' => array(
|
||||
|
@ -31,23 +31,23 @@ function farm_livestock_eggs_field_default_fields() {
|
|||
0 => 'tid',
|
||||
),
|
||||
),
|
||||
'locked' => '0',
|
||||
'locked' => 0,
|
||||
'module' => 'taxonomy',
|
||||
'settings' => array(
|
||||
'allowed_values' => array(
|
||||
0 => array(
|
||||
'vocabulary' => 'farm_animal_groups',
|
||||
'parent' => '0',
|
||||
'parent' => 0,
|
||||
),
|
||||
),
|
||||
),
|
||||
'translatable' => '0',
|
||||
'translatable' => 0,
|
||||
'type' => 'taxonomy_term_reference',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'farm_eggs',
|
||||
'default_value' => NULL,
|
||||
'deleted' => '0',
|
||||
'deleted' => 0,
|
||||
'description' => 'What group/flock were these eggs collected from?',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
|
@ -55,7 +55,7 @@ function farm_livestock_eggs_field_default_fields() {
|
|||
'module' => 'taxonomy',
|
||||
'settings' => array(),
|
||||
'type' => 'taxonomy_term_reference_plain',
|
||||
'weight' => '2',
|
||||
'weight' => 2,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'log',
|
||||
|
@ -73,7 +73,7 @@ function farm_livestock_eggs_field_default_fields() {
|
|||
'size' => 60,
|
||||
),
|
||||
'type' => 'taxonomy_autocomplete',
|
||||
'weight' => '2',
|
||||
'weight' => 2,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -81,23 +81,23 @@ function farm_livestock_eggs_field_default_fields() {
|
|||
// Exported field: 'log-farm_eggs-field_farm_egg_qty'.
|
||||
$fields['log-farm_eggs-field_farm_egg_qty'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '1',
|
||||
'deleted' => '0',
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_farm_egg_qty',
|
||||
'foreign keys' => array(),
|
||||
'indexes' => array(),
|
||||
'locked' => '0',
|
||||
'locked' => 0,
|
||||
'module' => 'number',
|
||||
'settings' => array(),
|
||||
'translatable' => '0',
|
||||
'translatable' => 0,
|
||||
'type' => 'number_integer',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'farm_eggs',
|
||||
'default_value' => NULL,
|
||||
'deleted' => '0',
|
||||
'deleted' => 0,
|
||||
'description' => 'How many eggs were collected?',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
|
@ -110,7 +110,7 @@ function farm_livestock_eggs_field_default_fields() {
|
|||
'thousand_separator' => ' ',
|
||||
),
|
||||
'type' => 'number_integer',
|
||||
'weight' => '1',
|
||||
'weight' => 1,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'log',
|
||||
|
@ -129,7 +129,7 @@ function farm_livestock_eggs_field_default_fields() {
|
|||
'module' => 'number',
|
||||
'settings' => array(),
|
||||
'type' => 'number',
|
||||
'weight' => '1',
|
||||
'weight' => 1,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -137,9 +137,9 @@ function farm_livestock_eggs_field_default_fields() {
|
|||
// Exported field: 'log-farm_eggs-field_farm_notes'.
|
||||
$fields['log-farm_eggs-field_farm_notes'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '1',
|
||||
'deleted' => '0',
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_farm_notes',
|
||||
'foreign keys' => array(
|
||||
|
@ -155,16 +155,16 @@ function farm_livestock_eggs_field_default_fields() {
|
|||
0 => 'format',
|
||||
),
|
||||
),
|
||||
'locked' => '0',
|
||||
'locked' => 0,
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'translatable' => '0',
|
||||
'translatable' => 0,
|
||||
'type' => 'text_long',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'farm_eggs',
|
||||
'default_value' => NULL,
|
||||
'deleted' => '0',
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
|
@ -172,7 +172,7 @@ function farm_livestock_eggs_field_default_fields() {
|
|||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'type' => 'text_default',
|
||||
'weight' => '3',
|
||||
'weight' => 3,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'log',
|
||||
|
@ -180,17 +180,17 @@ function farm_livestock_eggs_field_default_fields() {
|
|||
'label' => 'Notes',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'text_processing' => '0',
|
||||
'text_processing' => 0,
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'rows' => '5',
|
||||
'rows' => 5,
|
||||
),
|
||||
'type' => 'text_textarea',
|
||||
'weight' => '3',
|
||||
'weight' => 3,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Features include file for farm_livestock_eggs.
|
||||
* farm_livestock_eggs.features.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
@ -7,9 +7,11 @@ dependencies[] = date
|
|||
dependencies[] = entity
|
||||
dependencies[] = farm_livestock
|
||||
dependencies[] = features
|
||||
dependencies[] = field_sql_storage
|
||||
dependencies[] = log
|
||||
dependencies[] = number
|
||||
dependencies[] = taxonomy
|
||||
dependencies[] = text
|
||||
dependencies[] = views
|
||||
features[ctools][] = views:views_default:3.0
|
||||
features[features_api][] = api:1
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Default views for farm_livestock_eggs.
|
||||
* farm_livestock_eggs.views_default.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue