mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
82 lines
2.6 KiB
PHP
82 lines
2.6 KiB
PHP
<?php
|
|
/**
|
|
* @file
|
|
* farm_livestock.strongarm.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_strongarm().
|
|
*/
|
|
function farm_livestock_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__animal';
|
|
$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',
|
|
),
|
|
'redirect' => array(
|
|
'weight' => '11',
|
|
),
|
|
'path' => array(
|
|
'weight' => '10',
|
|
),
|
|
),
|
|
'display' => array(),
|
|
),
|
|
);
|
|
$export['field_bundle_settings_farm_asset__animal'] = $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_field_collection_item__field_farm_animal_tag';
|
|
$strongarm->value = array(
|
|
'view_modes' => array(),
|
|
'extra_fields' => array(
|
|
'form' => array(
|
|
'redirect' => array(
|
|
'weight' => '0',
|
|
),
|
|
),
|
|
'display' => array(),
|
|
),
|
|
);
|
|
$export['field_bundle_settings_field_collection_item__field_farm_animal_tag'] = $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_animal_types';
|
|
$strongarm->value = array();
|
|
$export['field_bundle_settings_taxonomy_term__farm_animal_types'] = $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_animal_pattern';
|
|
$strongarm->value = 'farm/animal/[farm_asset:name]';
|
|
$export['pathauto_farm_asset_animal_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_animal_types_pattern';
|
|
$strongarm->value = 'farm/animal/type/[term:name]';
|
|
$export['pathauto_taxonomy_term_farm_animal_types_pattern'] = $strongarm;
|
|
|
|
return $export;
|
|
}
|