56 lines
1.8 KiB
PHP
56 lines
1.8 KiB
PHP
<?php
|
|
/**
|
|
* @file
|
|
* translations.strongarm.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_strongarm().
|
|
*/
|
|
function translations_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 = 'i18n_node_translation_switch';
|
|
$strongarm->value = 1;
|
|
$export['i18n_node_translation_switch'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'locale_field_language_fallback';
|
|
$strongarm->value = 1;
|
|
$export['locale_field_language_fallback'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'locale_language_negotiation_url_part';
|
|
$strongarm->value = '0';
|
|
$export['locale_language_negotiation_url_part'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'locale_language_providers_weight_language';
|
|
$strongarm->value = array(
|
|
'locale-url' => '-8',
|
|
'locale-session' => '-6',
|
|
'locale-user' => '-4',
|
|
'locale-browser' => '-2',
|
|
'language-default' => '10',
|
|
);
|
|
$export['locale_language_providers_weight_language'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'taxonomy_csv_locale_custom';
|
|
$strongarm->value = '';
|
|
$export['taxonomy_csv_locale_custom'] = $strongarm;
|
|
|
|
return $export;
|
|
}
|