Revert to default Features exported code and comments.

This commit is contained in:
Michael Stenta 2015-04-21 23:03:15 -04:00
parent 4342f07f3c
commit 1c5e040404
9 changed files with 73 additions and 65 deletions

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* @file * @file
* Features include file for farm_soil. * farm_soil.features.inc
*/ */
/** /**

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* @file * @file
* Taxonomy features for farm_soil. * farm_soil.features.taxonomy.inc
*/ */
/** /**
@ -13,9 +13,9 @@ function farm_soil_taxonomy_default_vocabularies() {
'name' => 'Farm Soil Types', 'name' => 'Farm Soil Types',
'machine_name' => 'farm_soil_types', 'machine_name' => 'farm_soil_types',
'description' => 'A vocabulary of soil types.', 'description' => 'A vocabulary of soil types.',
'hierarchy' => '0', 'hierarchy' => 0,
'module' => 'taxonomy', 'module' => 'taxonomy',
'weight' => '0', 'weight' => 0,
'rdf_mapping' => array( 'rdf_mapping' => array(
'rdftype' => array( 'rdftype' => array(
0 => 'skos:ConceptScheme', 0 => 'skos:ConceptScheme',

View File

@ -2,6 +2,7 @@ name = Farm Soil
description = Provides features for soil health management. description = Provides features for soil health management.
core = 7.x core = 7.x
package = Farm package = Farm
dependencies[] = ctools
dependencies[] = features dependencies[] = features
dependencies[] = openlayers dependencies[] = openlayers
dependencies[] = strongarm dependencies[] = strongarm

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* @file * @file
* Openlayers for farm_soil. * farm_soil.openlayers_layers.inc
*/ */
/** /**

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* @file * @file
* Strongarm variables for farm_soil. * farm_soil.strongarm.inc
*/ */
/** /**

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* @file * @file
* Field features for farm_soil. * farm_soil_test.features.field.inc
*/ */
/** /**
@ -13,9 +13,9 @@ function farm_soil_test_field_default_fields() {
// Exported field: 'log-farm_soil_test-field_farm_area'. // Exported field: 'log-farm_soil_test-field_farm_area'.
$fields['log-farm_soil_test-field_farm_area'] = array( $fields['log-farm_soil_test-field_farm_area'] = array(
'field_config' => array( 'field_config' => array(
'active' => '1', 'active' => 1,
'cardinality' => '1', 'cardinality' => 1,
'deleted' => '0', 'deleted' => 0,
'entity_types' => array(), 'entity_types' => array(),
'field_name' => 'field_farm_area', 'field_name' => 'field_farm_area',
'foreign keys' => array( 'foreign keys' => array(
@ -31,23 +31,23 @@ function farm_soil_test_field_default_fields() {
0 => 'tid', 0 => 'tid',
), ),
), ),
'locked' => '0', 'locked' => 0,
'module' => 'taxonomy', 'module' => 'taxonomy',
'settings' => array( 'settings' => array(
'allowed_values' => array( 'allowed_values' => array(
0 => array( 0 => array(
'vocabulary' => 'farm_areas', 'vocabulary' => 'farm_areas',
'parent' => '0', 'parent' => 0,
), ),
), ),
), ),
'translatable' => '0', 'translatable' => 0,
'type' => 'taxonomy_term_reference', 'type' => 'taxonomy_term_reference',
), ),
'field_instance' => array( 'field_instance' => array(
'bundle' => 'farm_soil_test', 'bundle' => 'farm_soil_test',
'default_value' => NULL, 'default_value' => NULL,
'deleted' => '0', 'deleted' => 0,
'description' => 'What area does this soil sample pertain to?', 'description' => 'What area does this soil sample pertain to?',
'display' => array( 'display' => array(
'default' => array( 'default' => array(
@ -55,7 +55,7 @@ function farm_soil_test_field_default_fields() {
'module' => 'taxonomy', 'module' => 'taxonomy',
'settings' => array(), 'settings' => array(),
'type' => 'taxonomy_term_reference_link', 'type' => 'taxonomy_term_reference_link',
'weight' => '1', 'weight' => 1,
), ),
), ),
'entity_type' => 'log', 'entity_type' => 'log',
@ -73,7 +73,7 @@ function farm_soil_test_field_default_fields() {
'size' => 60, 'size' => 60,
), ),
'type' => 'taxonomy_autocomplete', 'type' => 'taxonomy_autocomplete',
'weight' => '2', 'weight' => 2,
), ),
), ),
); );
@ -81,9 +81,9 @@ function farm_soil_test_field_default_fields() {
// Exported field: 'log-farm_soil_test-field_farm_files'. // Exported field: 'log-farm_soil_test-field_farm_files'.
$fields['log-farm_soil_test-field_farm_files'] = array( $fields['log-farm_soil_test-field_farm_files'] = array(
'field_config' => array( 'field_config' => array(
'active' => '1', 'active' => 1,
'cardinality' => '-1', 'cardinality' => -1,
'deleted' => '0', 'deleted' => 0,
'entity_types' => array(), 'entity_types' => array(),
'field_name' => 'field_farm_files', 'field_name' => 'field_farm_files',
'foreign keys' => array( 'foreign keys' => array(
@ -99,19 +99,19 @@ function farm_soil_test_field_default_fields() {
0 => 'fid', 0 => 'fid',
), ),
), ),
'locked' => '0', 'locked' => 0,
'module' => 'file', 'module' => 'file',
'settings' => array( 'settings' => array(
'display_default' => 0, 'display_default' => 0,
'display_field' => 0, 'display_field' => 0,
'uri_scheme' => 'public', 'uri_scheme' => 'public',
), ),
'translatable' => '0', 'translatable' => 0,
'type' => 'file', 'type' => 'file',
), ),
'field_instance' => array( 'field_instance' => array(
'bundle' => 'farm_soil_test', 'bundle' => 'farm_soil_test',
'deleted' => '0', 'deleted' => 0,
'description' => '', 'description' => '',
'display' => array( 'display' => array(
'default' => array( 'default' => array(
@ -119,7 +119,7 @@ function farm_soil_test_field_default_fields() {
'module' => 'file', 'module' => 'file',
'settings' => array(), 'settings' => array(),
'type' => 'file_table', 'type' => 'file_table',
'weight' => '6', 'weight' => 6,
), ),
), ),
'entity_type' => 'log', 'entity_type' => 'log',
@ -159,7 +159,7 @@ function farm_soil_test_field_default_fields() {
'progress_indicator' => 'bar', 'progress_indicator' => 'bar',
), ),
'type' => 'file_generic', 'type' => 'file_generic',
'weight' => '7', 'weight' => 7,
), ),
), ),
); );
@ -167,9 +167,9 @@ function farm_soil_test_field_default_fields() {
// Exported field: 'log-farm_soil_test-field_farm_notes'. // Exported field: 'log-farm_soil_test-field_farm_notes'.
$fields['log-farm_soil_test-field_farm_notes'] = array( $fields['log-farm_soil_test-field_farm_notes'] = array(
'field_config' => array( 'field_config' => array(
'active' => '1', 'active' => 1,
'cardinality' => '1', 'cardinality' => 1,
'deleted' => '0', 'deleted' => 0,
'entity_types' => array(), 'entity_types' => array(),
'field_name' => 'field_farm_notes', 'field_name' => 'field_farm_notes',
'foreign keys' => array( 'foreign keys' => array(
@ -185,16 +185,16 @@ function farm_soil_test_field_default_fields() {
0 => 'format', 0 => 'format',
), ),
), ),
'locked' => '0', 'locked' => 0,
'module' => 'text', 'module' => 'text',
'settings' => array(), 'settings' => array(),
'translatable' => '0', 'translatable' => 0,
'type' => 'text_long', 'type' => 'text_long',
), ),
'field_instance' => array( 'field_instance' => array(
'bundle' => 'farm_soil_test', 'bundle' => 'farm_soil_test',
'default_value' => NULL, 'default_value' => NULL,
'deleted' => '0', 'deleted' => 0,
'description' => '', 'description' => '',
'display' => array( 'display' => array(
'default' => array( 'default' => array(
@ -202,7 +202,7 @@ function farm_soil_test_field_default_fields() {
'module' => 'text', 'module' => 'text',
'settings' => array(), 'settings' => array(),
'type' => 'text_default', 'type' => 'text_default',
'weight' => '5', 'weight' => 5,
), ),
), ),
'entity_type' => 'log', 'entity_type' => 'log',
@ -210,17 +210,17 @@ function farm_soil_test_field_default_fields() {
'label' => 'Notes', 'label' => 'Notes',
'required' => 0, 'required' => 0,
'settings' => array( 'settings' => array(
'text_processing' => '0', 'text_processing' => 0,
'user_register_form' => FALSE, 'user_register_form' => FALSE,
), ),
'widget' => array( 'widget' => array(
'active' => 1, 'active' => 1,
'module' => 'text', 'module' => 'text',
'settings' => array( 'settings' => array(
'rows' => '5', 'rows' => 5,
), ),
'type' => 'text_textarea', 'type' => 'text_textarea',
'weight' => '6', 'weight' => 6,
), ),
), ),
); );
@ -228,9 +228,9 @@ function farm_soil_test_field_default_fields() {
// Exported field: 'log-farm_soil_test-field_farm_soil_lab'. // Exported field: 'log-farm_soil_test-field_farm_soil_lab'.
$fields['log-farm_soil_test-field_farm_soil_lab'] = array( $fields['log-farm_soil_test-field_farm_soil_lab'] = array(
'field_config' => array( 'field_config' => array(
'active' => '1', 'active' => 1,
'cardinality' => '1', 'cardinality' => 1,
'deleted' => '0', 'deleted' => 0,
'entity_types' => array(), 'entity_types' => array(),
'field_name' => 'field_farm_soil_lab', 'field_name' => 'field_farm_soil_lab',
'foreign keys' => array( 'foreign keys' => array(
@ -246,18 +246,18 @@ function farm_soil_test_field_default_fields() {
0 => 'format', 0 => 'format',
), ),
), ),
'locked' => '0', 'locked' => 0,
'module' => 'text', 'module' => 'text',
'settings' => array( 'settings' => array(
'max_length' => '255', 'max_length' => 255,
), ),
'translatable' => '0', 'translatable' => 0,
'type' => 'text', 'type' => 'text',
), ),
'field_instance' => array( 'field_instance' => array(
'bundle' => 'farm_soil_test', 'bundle' => 'farm_soil_test',
'default_value' => NULL, 'default_value' => NULL,
'deleted' => '0', 'deleted' => 0,
'description' => 'What laboratory performed the soil test?', 'description' => 'What laboratory performed the soil test?',
'display' => array( 'display' => array(
'default' => array( 'default' => array(
@ -265,7 +265,7 @@ function farm_soil_test_field_default_fields() {
'module' => 'text', 'module' => 'text',
'settings' => array(), 'settings' => array(),
'type' => 'text_default', 'type' => 'text_default',
'weight' => '4', 'weight' => 4,
), ),
), ),
'entity_type' => 'log', 'entity_type' => 'log',
@ -273,17 +273,17 @@ function farm_soil_test_field_default_fields() {
'label' => 'Laboratory', 'label' => 'Laboratory',
'required' => 0, 'required' => 0,
'settings' => array( 'settings' => array(
'text_processing' => '0', 'text_processing' => 0,
'user_register_form' => FALSE, 'user_register_form' => FALSE,
), ),
'widget' => array( 'widget' => array(
'active' => 1, 'active' => 1,
'module' => 'text', 'module' => 'text',
'settings' => array( 'settings' => array(
'size' => '60', 'size' => 60,
), ),
'type' => 'text_textfield', 'type' => 'text_textfield',
'weight' => '5', 'weight' => 5,
), ),
), ),
); );
@ -291,9 +291,9 @@ function farm_soil_test_field_default_fields() {
// Exported field: 'log-farm_soil_test-field_farm_soil_sample_points'. // Exported field: 'log-farm_soil_test-field_farm_soil_sample_points'.
$fields['log-farm_soil_test-field_farm_soil_sample_points'] = array( $fields['log-farm_soil_test-field_farm_soil_sample_points'] = array(
'field_config' => array( 'field_config' => array(
'active' => '1', 'active' => 1,
'cardinality' => '-1', 'cardinality' => -1,
'deleted' => '0', 'deleted' => 0,
'entity_types' => array(), 'entity_types' => array(),
'field_name' => 'field_farm_soil_sample_points', 'field_name' => 'field_farm_soil_sample_points',
'foreign keys' => array(), 'foreign keys' => array(),
@ -330,19 +330,19 @@ function farm_soil_test_field_default_fields() {
0 => 'top', 0 => 'top',
), ),
), ),
'locked' => '0', 'locked' => 0,
'module' => 'geofield', 'module' => 'geofield',
'settings' => array( 'settings' => array(
'backend' => 'default', 'backend' => 'default',
'srid' => '4326', 'srid' => 4326,
), ),
'translatable' => '0', 'translatable' => 0,
'type' => 'geofield', 'type' => 'geofield',
), ),
'field_instance' => array( 'field_instance' => array(
'bundle' => 'farm_soil_test', 'bundle' => 'farm_soil_test',
'default_value' => NULL, 'default_value' => NULL,
'deleted' => '0', 'deleted' => 0,
'description' => 'Use the map to pinpoint the location(s) from which this sample is taken. If you are preparing a soil test, you may be sampling multiple points within a given area. All the points that comprise this sample should be included.', 'description' => 'Use the map to pinpoint the location(s) from which this sample is taken. If you are preparing a soil test, you may be sampling multiple points within a given area. All the points that comprise this sample should be included.',
'display' => array( 'display' => array(
'default' => array( 'default' => array(
@ -353,7 +353,7 @@ function farm_soil_test_field_default_fields() {
'map_preset' => 'farm_map_geofield', 'map_preset' => 'farm_map_geofield',
), ),
'type' => 'geofield_openlayers', 'type' => 'geofield_openlayers',
'weight' => '2', 'weight' => 2,
), ),
), ),
'entity_type' => 'log', 'entity_type' => 'log',
@ -378,7 +378,7 @@ function farm_soil_test_field_default_fields() {
'openlayers_map' => 'farm_map_geofield', 'openlayers_map' => 'farm_map_geofield',
), ),
'type' => 'geofield_openlayers', 'type' => 'geofield_openlayers',
'weight' => '3', 'weight' => 3,
), ),
), ),
); );
@ -386,9 +386,9 @@ function farm_soil_test_field_default_fields() {
// Exported field: 'log-farm_soil_test-field_farm_soil_types'. // Exported field: 'log-farm_soil_test-field_farm_soil_types'.
$fields['log-farm_soil_test-field_farm_soil_types'] = array( $fields['log-farm_soil_test-field_farm_soil_types'] = array(
'field_config' => array( 'field_config' => array(
'active' => '1', 'active' => 1,
'cardinality' => '-1', 'cardinality' => -1,
'deleted' => '0', 'deleted' => 0,
'entity_types' => array(), 'entity_types' => array(),
'field_name' => 'field_farm_soil_types', 'field_name' => 'field_farm_soil_types',
'foreign keys' => array( 'foreign keys' => array(
@ -404,23 +404,23 @@ function farm_soil_test_field_default_fields() {
0 => 'tid', 0 => 'tid',
), ),
), ),
'locked' => '0', 'locked' => 0,
'module' => 'taxonomy', 'module' => 'taxonomy',
'settings' => array( 'settings' => array(
'allowed_values' => array( 'allowed_values' => array(
0 => array( 0 => array(
'vocabulary' => 'farm_soil_types', 'vocabulary' => 'farm_soil_types',
'parent' => '0', 'parent' => 0,
), ),
), ),
), ),
'translatable' => '0', 'translatable' => 0,
'type' => 'taxonomy_term_reference', 'type' => 'taxonomy_term_reference',
), ),
'field_instance' => array( 'field_instance' => array(
'bundle' => 'farm_soil_test', 'bundle' => 'farm_soil_test',
'default_value' => NULL, 'default_value' => NULL,
'deleted' => '0', 'deleted' => 0,
'description' => 'List the types of soils that are included in this sample. For soil maps and soil names, visit http://websoilsurvey.nrcs.usda.gov/app', 'description' => 'List the types of soils that are included in this sample. For soil maps and soil names, visit http://websoilsurvey.nrcs.usda.gov/app',
'display' => array( 'display' => array(
'default' => array( 'default' => array(
@ -428,7 +428,7 @@ function farm_soil_test_field_default_fields() {
'module' => 'taxonomy', 'module' => 'taxonomy',
'settings' => array(), 'settings' => array(),
'type' => 'taxonomy_term_reference_link', 'type' => 'taxonomy_term_reference_link',
'weight' => '3', 'weight' => 3,
), ),
), ),
'entity_type' => 'log', 'entity_type' => 'log',
@ -446,7 +446,7 @@ function farm_soil_test_field_default_fields() {
'size' => 60, 'size' => 60,
), ),
'type' => 'taxonomy_autocomplete', 'type' => 'taxonomy_autocomplete',
'weight' => '4', 'weight' => 4,
), ),
), ),
); );

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* @file * @file
* Features include file for farm_soil_test. * farm_soil_test.features.inc
*/ */
/** /**

View File

@ -2,14 +2,21 @@ name = Farm Soil Test
description = Features for managing soil tests. description = Features for managing soil tests.
core = 7.x core = 7.x
package = Farm package = Farm
dependencies[] = ctools
dependencies[] = date dependencies[] = date
dependencies[] = entity
dependencies[] = farm_area dependencies[] = farm_area
dependencies[] = farm_map dependencies[] = farm_map
dependencies[] = farm_soil dependencies[] = farm_soil
dependencies[] = features dependencies[] = features
dependencies[] = field_sql_storage
dependencies[] = file
dependencies[] = filefield_paths dependencies[] = filefield_paths
dependencies[] = geofield dependencies[] = geofield
dependencies[] = log dependencies[] = log
dependencies[] = openlayers
dependencies[] = taxonomy
dependencies[] = text
dependencies[] = views dependencies[] = views
dependencies[] = views_data_export dependencies[] = views_data_export
features[ctools][] = views:views_default:3.0 features[ctools][] = views:views_default:3.0

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* @file * @file
* Default views for farm_soil_test. * farm_soil_test.views_default.inc
*/ */
/** /**