3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00
farmOS/farm_crop.strongarm.inc
2014-11-30 18:41:21 -05:00

195 lines
5.5 KiB
PHP

<?php
/**
* @file
* farm_crop.strongarm.inc
*/
/**
* Implements hook_strongarm().
*/
function farm_crop_strongarm() {
$export = array();
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'field_bundle_settings_farm_asset__planting';
$strongarm->value = array(
'view_modes' => array(
'full' => array(
'custom_settings' => FALSE,
),
'token' => array(
'custom_settings' => FALSE,
),
),
'extra_fields' => array(
'form' => array(
'name' => array(
'weight' => '0',
),
'path' => array(
'weight' => '8',
),
),
'display' => array(),
),
);
$export['field_bundle_settings_farm_asset__planting'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'field_bundle_settings_log__farm_harvest';
$strongarm->value = array(
'view_modes' => array(
'full' => array(
'custom_settings' => FALSE,
),
'diff_standard' => array(
'custom_settings' => FALSE,
),
'token' => array(
'custom_settings' => TRUE,
),
),
'extra_fields' => array(
'form' => array(),
'display' => array(),
),
);
$export['field_bundle_settings_log__farm_harvest'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'field_bundle_settings_log__farm_input';
$strongarm->value = array(
'view_modes' => array(
'full' => array(
'custom_settings' => FALSE,
),
'diff_standard' => array(
'custom_settings' => FALSE,
),
'token' => array(
'custom_settings' => TRUE,
),
),
'extra_fields' => array(
'form' => array(),
'display' => array(),
),
);
$export['field_bundle_settings_log__farm_input'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'field_bundle_settings_log__farm_seeding';
$strongarm->value = array(
'view_modes' => array(
'full' => array(
'custom_settings' => FALSE,
),
'token' => array(
'custom_settings' => FALSE,
),
),
'extra_fields' => array(
'form' => array(),
'display' => array(),
),
);
$export['field_bundle_settings_log__farm_seeding'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'field_bundle_settings_log__farm_transplanting';
$strongarm->value = array(
'view_modes' => array(
'full' => array(
'custom_settings' => FALSE,
),
'token' => array(
'custom_settings' => FALSE,
),
),
'extra_fields' => array(
'form' => array(),
'display' => array(),
),
);
$export['field_bundle_settings_log__farm_transplanting'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'field_bundle_settings_taxonomy_term__farm_crops';
$strongarm->value = array(
'view_modes' => array(
'full' => array(
'custom_settings' => FALSE,
),
'diff_standard' => array(
'custom_settings' => FALSE,
),
'token' => array(
'custom_settings' => FALSE,
),
),
'extra_fields' => array(
'form' => array(
'name' => array(
'weight' => '0',
),
'description' => array(
'weight' => '4',
),
'path' => array(
'weight' => '7',
),
'metatags' => array(
'weight' => '9',
),
'redirect' => array(
'weight' => '8',
),
),
'display' => array(
'description' => array(
'default' => array(
'weight' => '4',
'visible' => TRUE,
),
),
),
),
);
$export['field_bundle_settings_taxonomy_term__farm_crops'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'pathauto_farm_asset_planting_pattern';
$strongarm->value = 'farm/planting/[farm_asset:name]';
$export['pathauto_farm_asset_planting_pattern'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'pathauto_taxonomy_term_farm_crops_pattern';
$strongarm->value = 'farm/crop/[term:name]';
$export['pathauto_taxonomy_term_farm_crops_pattern'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'pathauto_taxonomy_term_farm_crop_families_pattern';
$strongarm->value = 'farm/crop-family/[term:name]';
$export['pathauto_taxonomy_term_farm_crop_families_pattern'] = $strongarm;
return $export;
}