1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <?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-user' => '-9',
- 'locale-url' => '-10',
- 'locale-session' => '-8',
- 'locale-browser' => '-7',
- 'language-default' => '-6',
- );
- $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 = 'materio_translator_languages';
- $strongarm->value = array(
- 'und' => 'und',
- 'en' => 'en',
- 'fr' => 'fr',
- 'zh-hans' => 'zh-hans',
- 'cs' => 'cs',
- );
- $export['materio_translator_languages'] = $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;
- }
|