farmOS/farm_taxonomy.strongarm.inc

92 lines
2.5 KiB
PHP

<?php
/**
* @file
* farm_taxonomy.strongarm.inc
*/
/**
* Implements hook_strongarm().
*/
function farm_taxonomy_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_materials';
$strongarm->value = array(
'view_modes' => array(),
'extra_fields' => array(
'form' => array(
'path' => array(
'weight' => '30',
),
'name' => array(
'weight' => '-5',
),
'description' => array(
'weight' => '0',
),
),
'display' => array(),
),
);
$export['field_bundle_settings_taxonomy_term__farm_materials'] = $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_season';
$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(
'path' => array(
'weight' => '3',
),
'name' => array(
'weight' => '0',
),
'description' => array(
'weight' => '2',
),
),
'display' => array(
'description' => array(
'default' => array(
'weight' => '1',
'visible' => TRUE,
),
),
),
),
);
$export['field_bundle_settings_taxonomy_term__farm_season'] = $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_materials_pattern';
$strongarm->value = 'farm/material/[term:name]';
$export['pathauto_taxonomy_term_farm_materials_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_season_pattern';
$strongarm->value = 'farm/season/[term:name]';
$export['pathauto_taxonomy_term_farm_season_pattern'] = $strongarm;
return $export;
}