mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
62 lines
1.5 KiB
PHP
62 lines
1.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_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' => '4',
|
|
),
|
|
),
|
|
'display' => array(
|
|
'description' => array(
|
|
'default' => array(
|
|
'weight' => '0',
|
|
'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_taxonomy_term_farm_crops_pattern';
|
|
$strongarm->value = 'farm/crop/[term:name]';
|
|
$export['pathauto_taxonomy_term_farm_crops_pattern'] = $strongarm;
|
|
|
|
return $export;
|
|
}
|