translations.strongarm.inc 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?php
  2. /**
  3. * @file
  4. * translations.strongarm.inc
  5. */
  6. /**
  7. * Implements hook_strongarm().
  8. */
  9. function translations_strongarm() {
  10. $export = array();
  11. $strongarm = new stdClass();
  12. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  13. $strongarm->api_version = 1;
  14. $strongarm->name = 'i18n_node_translation_switch';
  15. $strongarm->value = 1;
  16. $export['i18n_node_translation_switch'] = $strongarm;
  17. $strongarm = new stdClass();
  18. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  19. $strongarm->api_version = 1;
  20. $strongarm->name = 'locale_field_language_fallback';
  21. $strongarm->value = 1;
  22. $export['locale_field_language_fallback'] = $strongarm;
  23. $strongarm = new stdClass();
  24. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  25. $strongarm->api_version = 1;
  26. $strongarm->name = 'locale_language_negotiation_url_part';
  27. $strongarm->value = '0';
  28. $export['locale_language_negotiation_url_part'] = $strongarm;
  29. $strongarm = new stdClass();
  30. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  31. $strongarm->api_version = 1;
  32. $strongarm->name = 'locale_language_providers_weight_language';
  33. $strongarm->value = array(
  34. 'locale-user' => '-9',
  35. 'locale-url' => '-10',
  36. 'locale-session' => '-8',
  37. 'locale-browser' => '-7',
  38. 'language-default' => '-6',
  39. );
  40. $export['locale_language_providers_weight_language'] = $strongarm;
  41. $strongarm = new stdClass();
  42. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  43. $strongarm->api_version = 1;
  44. $strongarm->name = 'materio_translator_languages';
  45. $strongarm->value = array(
  46. 'und' => 'und',
  47. 'en' => 'en',
  48. 'fr' => 'fr',
  49. 'zh-hans' => 'zh-hans',
  50. 'cs' => 'cs',
  51. );
  52. $export['materio_translator_languages'] = $strongarm;
  53. $strongarm = new stdClass();
  54. $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
  55. $strongarm->api_version = 1;
  56. $strongarm->name = 'taxonomy_csv_locale_custom';
  57. $strongarm->value = '';
  58. $export['taxonomy_csv_locale_custom'] = $strongarm;
  59. return $export;
  60. }