translations.strongarm.inc 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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-url' => '-8',
  35. 'locale-session' => '-6',
  36. 'locale-user' => '-4',
  37. 'locale-browser' => '-2',
  38. 'language-default' => '10',
  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 = 'taxonomy_csv_locale_custom';
  45. $strongarm->value = '';
  46. $export['taxonomy_csv_locale_custom'] = $strongarm;
  47. return $export;
  48. }