381 lines
13 KiB
PHP
381 lines
13 KiB
PHP
<?php
|
|
/**
|
|
* @file
|
|
* materio_publications.strongarm.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_strongarm().
|
|
*/
|
|
function materio_publications_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 = 'additional_settings__active_tab_publication';
|
|
$strongarm->value = 'edit-print';
|
|
$export['additional_settings__active_tab_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'ant_pattern_publication';
|
|
$strongarm->value = '';
|
|
$export['ant_pattern_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'ant_php_publication';
|
|
$strongarm->value = 0;
|
|
$export['ant_php_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'ant_publication';
|
|
$strongarm->value = '0';
|
|
$export['ant_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'date_popup_authored_enabled_publication';
|
|
$strongarm->value = 1;
|
|
$export['date_popup_authored_enabled_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'date_popup_authored_format_publication';
|
|
$strongarm->value = 'm/d/Y - H:i';
|
|
$export['date_popup_authored_format_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'date_popup_authored_year_range_publication';
|
|
$strongarm->value = '3';
|
|
$export['date_popup_authored_year_range_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'diff_enable_revisions_page_node_publication';
|
|
$strongarm->value = 1;
|
|
$export['diff_enable_revisions_page_node_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'diff_show_preview_changes_node_publication';
|
|
$strongarm->value = 1;
|
|
$export['diff_show_preview_changes_node_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'diff_view_mode_preview_node_publication';
|
|
$strongarm->value = 'full';
|
|
$export['diff_view_mode_preview_node_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'entity_translation_hide_translation_links_publication';
|
|
$strongarm->value = 1;
|
|
$export['entity_translation_hide_translation_links_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'entity_translation_node_metadata_publication';
|
|
$strongarm->value = '0';
|
|
$export['entity_translation_node_metadata_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'field_bundle_settings_node__publication';
|
|
$strongarm->value = array(
|
|
'view_modes' => array(
|
|
'teaser' => array(
|
|
'custom_settings' => TRUE,
|
|
),
|
|
'bookmark' => array(
|
|
'custom_settings' => TRUE,
|
|
),
|
|
'cardsmall' => array(
|
|
'custom_settings' => TRUE,
|
|
),
|
|
'cardmedium' => array(
|
|
'custom_settings' => TRUE,
|
|
),
|
|
'cardbig' => array(
|
|
'custom_settings' => TRUE,
|
|
),
|
|
'cardfull' => array(
|
|
'custom_settings' => TRUE,
|
|
),
|
|
'full' => array(
|
|
'custom_settings' => FALSE,
|
|
),
|
|
'rss' => array(
|
|
'custom_settings' => FALSE,
|
|
),
|
|
'diff_standard' => array(
|
|
'custom_settings' => FALSE,
|
|
),
|
|
'print' => array(
|
|
'custom_settings' => FALSE,
|
|
),
|
|
'email_plain' => array(
|
|
'custom_settings' => FALSE,
|
|
),
|
|
'email_html' => array(
|
|
'custom_settings' => FALSE,
|
|
),
|
|
'email_textalt' => array(
|
|
'custom_settings' => FALSE,
|
|
),
|
|
'token' => array(
|
|
'custom_settings' => FALSE,
|
|
),
|
|
),
|
|
'extra_fields' => array(
|
|
'form' => array(
|
|
'metatags' => array(
|
|
'weight' => '6',
|
|
),
|
|
'path' => array(
|
|
'weight' => '5',
|
|
),
|
|
'redirect' => array(
|
|
'weight' => '4',
|
|
),
|
|
'workflow' => array(
|
|
'weight' => '7',
|
|
),
|
|
'language' => array(
|
|
'weight' => '3',
|
|
),
|
|
'title' => array(
|
|
'weight' => '-5',
|
|
),
|
|
),
|
|
'display' => array(
|
|
'workflow_current_state' => array(
|
|
'default' => array(
|
|
'weight' => '3',
|
|
'visible' => FALSE,
|
|
),
|
|
'homeblock' => array(
|
|
'weight' => '1',
|
|
'visible' => FALSE,
|
|
),
|
|
),
|
|
'workflow' => array(
|
|
'default' => array(
|
|
'weight' => '4',
|
|
'visible' => FALSE,
|
|
),
|
|
'homeblock' => array(
|
|
'weight' => '2',
|
|
'visible' => FALSE,
|
|
),
|
|
),
|
|
),
|
|
),
|
|
);
|
|
$export['field_bundle_settings_node__publication'] = $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_publication';
|
|
$strongarm->value = '4';
|
|
$export['language_content_type_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'menu_options_publication';
|
|
$strongarm->value = array();
|
|
$export['menu_options_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'menu_parent_publication';
|
|
$strongarm->value = 'main-menu:0';
|
|
$export['menu_parent_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'nodeformscols_field_placements_publication_default';
|
|
$strongarm->value = array(
|
|
'title' => array(
|
|
'region' => 'main',
|
|
'weight' => '0',
|
|
'has_required' => TRUE,
|
|
'title' => 'Titre',
|
|
),
|
|
'additional_settings' => array(
|
|
'region' => 'main',
|
|
'weight' => '4',
|
|
'has_required' => FALSE,
|
|
'title' => 'Vertical tabs',
|
|
'hidden' => 0,
|
|
),
|
|
'actions' => array(
|
|
'region' => 'right',
|
|
'weight' => '4',
|
|
'has_required' => FALSE,
|
|
'title' => 'Enregistrer',
|
|
'hidden' => 0,
|
|
),
|
|
'entity_translation_entity_form_language_update' => array(
|
|
'region' => 'right',
|
|
'weight' => '3',
|
|
'has_required' => FALSE,
|
|
'title' => NULL,
|
|
'hidden' => 0,
|
|
),
|
|
'language' => array(
|
|
'region' => 'right',
|
|
'weight' => '0',
|
|
'has_required' => FALSE,
|
|
'title' => 'Langue',
|
|
'hidden' => 0,
|
|
),
|
|
'body' => array(
|
|
'region' => 'main',
|
|
'weight' => '3',
|
|
'has_required' => FALSE,
|
|
'title' => 'Body',
|
|
'hidden' => 0,
|
|
),
|
|
'field_couverture' => array(
|
|
'region' => 'main',
|
|
'weight' => '2',
|
|
'has_required' => FALSE,
|
|
'title' => 'Couverture',
|
|
'hidden' => 0,
|
|
),
|
|
'workflow' => array(
|
|
'region' => 'right',
|
|
'weight' => '2',
|
|
'has_required' => FALSE,
|
|
'title' => 'Importé',
|
|
'hidden' => 0,
|
|
),
|
|
'field_weight' => array(
|
|
'region' => 'right',
|
|
'weight' => '1',
|
|
'has_required' => FALSE,
|
|
'title' => 'weight',
|
|
'hidden' => 0,
|
|
),
|
|
);
|
|
$export['nodeformscols_field_placements_publication_default'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'node_options_publication';
|
|
$strongarm->value = array(
|
|
0 => 'status',
|
|
);
|
|
$export['node_options_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'node_preview_publication';
|
|
$strongarm->value = '0';
|
|
$export['node_preview_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'node_submitted_publication';
|
|
$strongarm->value = 0;
|
|
$export['node_submitted_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'print_html_display_comment_publication';
|
|
$strongarm->value = 0;
|
|
$export['print_html_display_comment_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'print_html_display_publication';
|
|
$strongarm->value = 0;
|
|
$export['print_html_display_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'print_html_display_urllist_publication';
|
|
$strongarm->value = 0;
|
|
$export['print_html_display_urllist_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'save_continue_publication';
|
|
$strongarm->value = 'Enregistrer et ajouter les champs';
|
|
$export['save_continue_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'simplenews_content_type_publication';
|
|
$strongarm->value = 0;
|
|
$export['simplenews_content_type_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'unique_field_comp_publication';
|
|
$strongarm->value = 'each';
|
|
$export['unique_field_comp_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'unique_field_fields_publication';
|
|
$strongarm->value = array();
|
|
$export['unique_field_fields_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'unique_field_scope_publication';
|
|
$strongarm->value = 'type';
|
|
$export['unique_field_scope_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'unique_field_show_matches_publication';
|
|
$strongarm->value = array();
|
|
$export['unique_field_show_matches_publication'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'workflow_publication';
|
|
$strongarm->value = array(
|
|
0 => 'node',
|
|
);
|
|
$export['workflow_publication'] = $strongarm;
|
|
|
|
return $export;
|
|
}
|