89 lines
3.0 KiB
PHP
89 lines
3.0 KiB
PHP
<?php
|
|
|
|
/**
|
|
* @file
|
|
* farm_l10n.strongarm.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_strongarm().
|
|
*/
|
|
function farm_l10n_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 = 'l10n_update_check_disabled';
|
|
$strongarm->value = 1;
|
|
$export['l10n_update_check_disabled'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'l10n_update_check_frequency';
|
|
$strongarm->value = '7';
|
|
$export['l10n_update_check_frequency'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'l10n_update_check_mode';
|
|
$strongarm->value = '3';
|
|
$export['l10n_update_check_mode'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'l10n_update_disabled_languages';
|
|
$strongarm->value = array();
|
|
$export['l10n_update_disabled_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 = 'l10n_update_disabled_projects';
|
|
$strongarm->value = array();
|
|
$export['l10n_update_disabled_projects'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'l10n_update_import_mode';
|
|
$strongarm->value = '2';
|
|
$export['l10n_update_import_mode'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'l10n_update_rebuild_projects';
|
|
$strongarm->value = 1;
|
|
$export['l10n_update_rebuild_projects'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'language_types';
|
|
$strongarm->value = array(
|
|
'language' => TRUE,
|
|
'language_content' => FALSE,
|
|
'language_url' => FALSE,
|
|
);
|
|
$export['language_types'] = $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;
|
|
|
|
return $export;
|
|
}
|