content types : pages translatable
Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
parent
df986ba09a
commit
64bf6b3fa2
@ -5194,6 +5194,119 @@ foreach ($states as $state) {
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field: 'node-page-title_field'.
|
||||
$fields['node-page-title_field'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '1',
|
||||
'deleted' => '0',
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'title_field',
|
||||
'field_permissions' => array(
|
||||
'type' => '0',
|
||||
),
|
||||
'foreign keys' => array(
|
||||
'format' => array(
|
||||
'columns' => array(
|
||||
'format' => 'format',
|
||||
),
|
||||
'table' => 'filter_format',
|
||||
),
|
||||
),
|
||||
'indexes' => array(
|
||||
'format' => array(
|
||||
0 => 'format',
|
||||
),
|
||||
),
|
||||
'locked' => '0',
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'entity_translation_sync' => FALSE,
|
||||
'max_length' => 255,
|
||||
'profile2_private' => FALSE,
|
||||
),
|
||||
'translatable' => '1',
|
||||
'type' => 'text',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'page',
|
||||
'default_value' => NULL,
|
||||
'deleted' => '0',
|
||||
'description' => 'A field replacing node title.',
|
||||
'display' => array(
|
||||
'bookmark' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
'cardbig' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
'cardfull' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
'cardmedium' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
'cardsmall' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
'default' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 1,
|
||||
),
|
||||
'print' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'title_field',
|
||||
'label' => 'Titre',
|
||||
'required' => TRUE,
|
||||
'settings' => array(
|
||||
'entity_translation_sync' => FALSE,
|
||||
'hide_label' => array(
|
||||
'entity' => FALSE,
|
||||
'page' => FALSE,
|
||||
),
|
||||
'text_processing' => 0,
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'size' => 60,
|
||||
),
|
||||
'type' => 'text_textfield',
|
||||
'weight' => -5,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field: 'node-webform-body'.
|
||||
$fields['node-webform-body'] = array(
|
||||
'field_config' => array(
|
||||
|
@ -75,6 +75,7 @@ features[field][] = node-materiau-field_video_filter
|
||||
features[field][] = node-materiau-field_workflow_state
|
||||
features[field][] = node-materiau-title_field
|
||||
features[field][] = node-page-body
|
||||
features[field][] = node-page-title_field
|
||||
features[field][] = node-webform-body
|
||||
features[field][] = taxonomy_term-company-synonyms_synonym
|
||||
features[field][] = taxonomy_term-onthologie-name_field
|
||||
@ -238,12 +239,15 @@ features[variable][] = field_bundle_settings_node__materiau
|
||||
features[variable][] = i18n_node_extended_breve
|
||||
features[variable][] = i18n_node_extended_company
|
||||
features[variable][] = i18n_node_extended_materiau
|
||||
features[variable][] = i18n_node_extended_page
|
||||
features[variable][] = i18n_node_options_breve
|
||||
features[variable][] = i18n_node_options_company
|
||||
features[variable][] = i18n_node_options_materiau
|
||||
features[variable][] = i18n_node_options_page
|
||||
features[variable][] = language_content_type_breve
|
||||
features[variable][] = language_content_type_company
|
||||
features[variable][] = language_content_type_materiau
|
||||
features[variable][] = language_content_type_page
|
||||
features[variable][] = menu_options_breve
|
||||
features[variable][] = menu_options_company
|
||||
features[variable][] = menu_options_materiau
|
||||
|
@ -234,6 +234,13 @@ function materio_content_types_strongarm() {
|
||||
$strongarm->value = '1';
|
||||
$export['i18n_node_extended_materiau'] = $strongarm;
|
||||
|
||||
$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_extended_page';
|
||||
$strongarm->value = 1;
|
||||
$export['i18n_node_extended_page'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
@ -255,6 +262,13 @@ function materio_content_types_strongarm() {
|
||||
$strongarm->value = array();
|
||||
$export['i18n_node_options_materiau'] = $strongarm;
|
||||
|
||||
$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_options_page';
|
||||
$strongarm->value = array();
|
||||
$export['i18n_node_options_page'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
@ -276,6 +290,13 @@ function materio_content_types_strongarm() {
|
||||
$strongarm->value = '4';
|
||||
$export['language_content_type_materiau'] = $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_content_type_page';
|
||||
$strongarm->value = '4';
|
||||
$export['language_content_type_page'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
@ -393,7 +414,7 @@ function materio_content_types_strongarm() {
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'node_preview_page';
|
||||
$strongarm->value = '1';
|
||||
$strongarm->value = '0';
|
||||
$export['node_preview_page'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
|
@ -23,7 +23,6 @@ function materio_content_types_views_default_views() {
|
||||
/* Display: Master */
|
||||
$handler = $view->new_display('default', 'Master', 'default');
|
||||
$handler->display->display_options['use_more_always'] = FALSE;
|
||||
$handler->display->display_options['use_more_text'] = 'plus';
|
||||
$handler->display->display_options['access']['type'] = 'role';
|
||||
$handler->display->display_options['access']['role'] = array(
|
||||
3 => '3',
|
||||
@ -32,17 +31,7 @@ function materio_content_types_views_default_views() {
|
||||
$handler->display->display_options['cache']['type'] = 'none';
|
||||
$handler->display->display_options['query']['type'] = 'views_query';
|
||||
$handler->display->display_options['exposed_form']['type'] = 'basic';
|
||||
$handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer';
|
||||
$handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Réinitialiser';
|
||||
$handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par';
|
||||
$handler->display->display_options['pager']['type'] = 'full';
|
||||
$handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
|
||||
$handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
|
||||
$handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
|
||||
$handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
|
||||
$handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
|
||||
$handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
|
||||
$handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
|
||||
$handler->display->display_options['style_plugin'] = 'default';
|
||||
$handler->display->display_options['row_plugin'] = 'fields';
|
||||
$handler->display->display_options['row_options']['inline'] = array(
|
||||
@ -50,7 +39,7 @@ function materio_content_types_views_default_views() {
|
||||
'title' => 'title',
|
||||
);
|
||||
$handler->display->display_options['row_options']['hide_empty'] = TRUE;
|
||||
/* Champ: Contenu : Référence Materio */
|
||||
/* Field: Content: Référence Materio */
|
||||
$handler->display->display_options['fields']['field_reference_materio']['id'] = 'field_reference_materio';
|
||||
$handler->display->display_options['fields']['field_reference_materio']['table'] = 'field_data_field_reference_materio';
|
||||
$handler->display->display_options['fields']['field_reference_materio']['field'] = 'field_reference_materio';
|
||||
@ -58,7 +47,7 @@ function materio_content_types_views_default_views() {
|
||||
$handler->display->display_options['fields']['field_reference_materio']['alter']['text'] = '[field_reference_materio] ';
|
||||
$handler->display->display_options['fields']['field_reference_materio']['element_label_colon'] = FALSE;
|
||||
$handler->display->display_options['fields']['field_reference_materio']['hide_empty'] = TRUE;
|
||||
/* Champ: Contenu : Titre */
|
||||
/* Field: Content: Title */
|
||||
$handler->display->display_options['fields']['title']['id'] = 'title';
|
||||
$handler->display->display_options['fields']['title']['table'] = 'node';
|
||||
$handler->display->display_options['fields']['title']['field'] = 'title';
|
||||
@ -68,19 +57,19 @@ function materio_content_types_views_default_views() {
|
||||
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
|
||||
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
|
||||
$handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
|
||||
/* Critère de tri: Contenu : Date de publication */
|
||||
/* Sort criterion: Content: Post date */
|
||||
$handler->display->display_options['sorts']['created']['id'] = 'created';
|
||||
$handler->display->display_options['sorts']['created']['table'] = 'node';
|
||||
$handler->display->display_options['sorts']['created']['field'] = 'created';
|
||||
$handler->display->display_options['sorts']['created']['order'] = 'DESC';
|
||||
/* Critère de filtrage: Contenu : Publié */
|
||||
/* Filter criterion: Content: Published */
|
||||
$handler->display->display_options['filters']['status']['id'] = 'status';
|
||||
$handler->display->display_options['filters']['status']['table'] = 'node';
|
||||
$handler->display->display_options['filters']['status']['field'] = 'status';
|
||||
$handler->display->display_options['filters']['status']['value'] = 1;
|
||||
$handler->display->display_options['filters']['status']['group'] = 1;
|
||||
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
|
||||
/* Critère de filtrage: Contenu : Type */
|
||||
/* Filter criterion: Content: Type */
|
||||
$handler->display->display_options['filters']['type']['id'] = 'type';
|
||||
$handler->display->display_options['filters']['type']['table'] = 'node';
|
||||
$handler->display->display_options['filters']['type']['field'] = 'type';
|
||||
@ -114,19 +103,19 @@ function materio_content_types_views_default_views() {
|
||||
$handler->display->display_options['defaults']['row_options'] = FALSE;
|
||||
$translatables['entity_reference_materiaux_breves'] = array(
|
||||
t('Master'),
|
||||
t('plus'),
|
||||
t('Appliquer'),
|
||||
t('Réinitialiser'),
|
||||
t('Trier par'),
|
||||
t('more'),
|
||||
t('Apply'),
|
||||
t('Reset'),
|
||||
t('Sort by'),
|
||||
t('Asc'),
|
||||
t('Desc'),
|
||||
t('Éléments par page'),
|
||||
t('- Tout -'),
|
||||
t('Décalage'),
|
||||
t('« premier'),
|
||||
t('‹ précédent'),
|
||||
t('suivant ›'),
|
||||
t('dernier »'),
|
||||
t('Items per page'),
|
||||
t('- All -'),
|
||||
t('Offset'),
|
||||
t('« first'),
|
||||
t('‹ previous'),
|
||||
t('next ›'),
|
||||
t('last »'),
|
||||
t('[field_reference_materio] '),
|
||||
t('[field_reference_materio][title]'),
|
||||
t('Entity Reference'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user