174 lines
6.1 KiB
PHP
174 lines
6.1 KiB
PHP
<?php
|
|
/**
|
|
* @file
|
|
* popsu_actualites.strongarm.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_strongarm().
|
|
*/
|
|
function popsu_actualites_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_popsu_actu';
|
|
$strongarm->value = 'edit-xmlsitemap';
|
|
$export['additional_settings__active_tab_popsu_actu'] = $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_popsu_actu';
|
|
$strongarm->value = 0;
|
|
$export['diff_enable_revisions_page_node_popsu_actu'] = $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_popsu_actu';
|
|
$strongarm->value = 0;
|
|
$export['diff_show_preview_changes_node_popsu_actu'] = $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_popsu_actu';
|
|
$strongarm->value = 'full';
|
|
$export['diff_view_mode_preview_node_popsu_actu'] = $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__popsu_actu';
|
|
$strongarm->value = array(
|
|
'view_modes' => array(
|
|
'teaser' => array(
|
|
'custom_settings' => TRUE,
|
|
),
|
|
'full' => array(
|
|
'custom_settings' => FALSE,
|
|
),
|
|
'rss' => array(
|
|
'custom_settings' => FALSE,
|
|
),
|
|
'search_index' => array(
|
|
'custom_settings' => FALSE,
|
|
),
|
|
'search_result' => array(
|
|
'custom_settings' => FALSE,
|
|
),
|
|
'diff_standard' => array(
|
|
'custom_settings' => FALSE,
|
|
),
|
|
'token' => array(
|
|
'custom_settings' => FALSE,
|
|
),
|
|
),
|
|
'extra_fields' => array(
|
|
'form' => array(
|
|
'title' => array(
|
|
'weight' => '6',
|
|
),
|
|
'path' => array(
|
|
'weight' => '5',
|
|
),
|
|
'xmlsitemap' => array(
|
|
'weight' => '30',
|
|
),
|
|
),
|
|
'display' => array(),
|
|
),
|
|
);
|
|
$export['field_bundle_settings_node__popsu_actu'] = $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_popsu_actu';
|
|
$strongarm->value = '0';
|
|
$export['language_content_type_popsu_actu'] = $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_popsu_actu';
|
|
$strongarm->value = array(
|
|
0 => 'main-menu',
|
|
);
|
|
$export['menu_options_popsu_actu'] = $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_popsu_actu';
|
|
$strongarm->value = 'main-menu:0';
|
|
$export['menu_parent_popsu_actu'] = $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_popsu_actu';
|
|
$strongarm->value = array(
|
|
0 => 'status',
|
|
1 => 'promote',
|
|
2 => 'revision',
|
|
);
|
|
$export['node_options_popsu_actu'] = $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_popsu_actu';
|
|
$strongarm->value = '0';
|
|
$export['node_preview_popsu_actu'] = $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_popsu_actu';
|
|
$strongarm->value = 1;
|
|
$export['node_submitted_popsu_actu'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'page_title_type_popsu_actu';
|
|
$strongarm->value = '[node:title] - [node:field-popsu-actu-soustitre] | Actualités de la plate-forme POPSU';
|
|
$export['page_title_type_popsu_actu'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'page_title_type_popsu_actu_showfield';
|
|
$strongarm->value = 0;
|
|
$export['page_title_type_popsu_actu_showfield'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'pathauto_node_popsu_actu_pattern';
|
|
$strongarm->value = 'actualites/[node:field-popsu-actu-date:popsu_yyyy_mm_dd]/[node:title]';
|
|
$export['pathauto_node_popsu_actu_pattern'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'publishcontent_popsu_actu';
|
|
$strongarm->value = 1;
|
|
$export['publishcontent_popsu_actu'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'xmlsitemap_settings_node_popsu_actu';
|
|
$strongarm->value = array(
|
|
'status' => '1',
|
|
'priority' => '0.5',
|
|
);
|
|
$export['xmlsitemap_settings_node_popsu_actu'] = $strongarm;
|
|
|
|
return $export;
|
|
}
|