Issue #1803790: moved i18n from ferry_basic Feature to ferry_i18n
[project/ferry.git] / modules / features / ferry_i18n / ferry_i18n.variable.inc
1 <?php
2 /**
3 * @file
4 * ferry_18n.variable.inc
5 */
6
7 /**
8 * Implements hook_variable_realm_default_variables().
9 */
10 function ferry_i18n_variable_realm_default_variables() {
11 $realm_variables = array();
12
13 $realm_variables['global']['default'] = array(
14 'i18n_node_extended_article' => '1',
15 'i18n_node_extended_page' => '1',
16 'i18n_node_options_article' => array(
17 0 => 'required',
18 ),
19 'i18n_node_options_page' => array(
20 0 => 'required',
21 ),
22 'i18n_sync_node_type_article' => array(
23 0 => 'comment',
24 1 => 'status',
25 2 => 'promote',
26 3 => 'moderate',
27 4 => 'sticky',
28 ),
29 'i18n_sync_node_type_page' => array(
30 0 => 'comment',
31 1 => 'status',
32 2 => 'promote',
33 3 => 'moderate',
34 4 => 'sticky',
35 ),
36 'language_content_type_article' => '2',
37 'language_content_type_page' => '2',
38 'language_negotiation_language' => array(),
39 'language_negotiation_language_content' => array(
40 'locale-interface' => array(
41 'callbacks' => array(
42 'language' => 'locale_language_from_interface',
43 ),
44 'file' => 'includes/locale.inc',
45 ),
46 ),
47 'language_negotiation_language_url' => array(
48 'locale-url' => array(
49 'callbacks' => array(
50 'language' => 'locale_language_from_url',
51 'switcher' => 'locale_language_switcher_url',
52 'url_rewrite' => 'locale_language_url_rewrite_url',
53 ),
54 'file' => 'includes/locale.inc',
55 ),
56 'locale-url-fallback' => array(
57 'callbacks' => array(
58 'language' => 'locale_language_url_fallback',
59 ),
60 'file' => 'includes/locale.inc',
61 ),
62 ),
63 'language_types' => array(
64 'language' => TRUE,
65 'language_content' => FALSE,
66 'language_url' => FALSE,
67 ),
68 );
69
70 return $realm_variables;
71 }