
Apply the security fixes including: - Drupal Core - Moderately Critical - Multiple Vulnerabilities - SA-CORE-2015-001 - SA-CONTRIB-2015-079 - Chaos tool suite (ctools) - Multiple vulnerabilities The following patches were applied to 7.x-3.23 commons modules: - patches/0001-utility-links-block-install-theme.patch - patches/0002-events-page-refactor-to-pages-module.patch Installation profile got a refactor of module installation, as groups_ modules and l10n_updates deployed from an installation task to avoid memory exhausted errors of the installation process. Change-Id: I48481657124fdbbee84e1cbfec3a3a2b5f475c2c
182 lines
5.8 KiB
PHP
182 lines
5.8 KiB
PHP
<?php
|
|
/**
|
|
* @file
|
|
* commons_events.strongarm.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_strongarm().
|
|
*/
|
|
function commons_events_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 = 'comment_anonymous_event';
|
|
$strongarm->value = 0;
|
|
$export['comment_anonymous_event'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'comment_default_mode_event';
|
|
$strongarm->value = 1;
|
|
$export['comment_default_mode_event'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'comment_default_per_page_event';
|
|
$strongarm->value = '50';
|
|
$export['comment_default_per_page_event'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'comment_event';
|
|
$strongarm->value = '2';
|
|
$export['comment_event'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'comment_form_location_event';
|
|
$strongarm->value = 1;
|
|
$export['comment_form_location_event'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'comment_preview_event';
|
|
$strongarm->value = '1';
|
|
$export['comment_preview_event'] = $strongarm;
|
|
|
|
$strongarm = new stdClass();
|
|
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
|
$strongarm->api_version = 1;
|
|
$strongarm->name = 'comment_subject_field_event';
|
|
$strongarm->value = 1;
|
|
$export['comment_subject_field_event'] = $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_message__commons_events_event_node_created';
|
|
$strongarm->value = array(
|
|
'view_modes' => array(),
|
|
'extra_fields' => array(
|
|
'form' => array(),
|
|
'display' => array(
|
|
'message__message_text__0' => array(
|
|
'message_notify_email_subject' => array(
|
|
'visible' => TRUE,
|
|
'weight' => 0,
|
|
),
|
|
'message_notify_email_body' => array(
|
|
'visible' => FALSE,
|
|
'weight' => 0,
|
|
),
|
|
),
|
|
'message__message_text__1' => array(
|
|
'message_notify_email_subject' => array(
|
|
'visible' => FALSE,
|
|
'weight' => 0,
|
|
),
|
|
'message_notify_email_body' => array(
|
|
'visible' => TRUE,
|
|
'weight' => 0,
|
|
),
|
|
),
|
|
),
|
|
),
|
|
);
|
|
$export['field_bundle_settings_message__commons_events_event_node_created'] = $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__event';
|
|
$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,
|
|
),
|
|
'token' => array(
|
|
'custom_settings' => FALSE,
|
|
),
|
|
),
|
|
'extra_fields' => array(
|
|
'form' => array(
|
|
'title' => array(
|
|
'weight' => '0',
|
|
),
|
|
'metatags' => array(
|
|
'weight' => '15',
|
|
),
|
|
'path' => array(
|
|
'weight' => '14',
|
|
),
|
|
'redirect' => array(
|
|
'weight' => '13',
|
|
),
|
|
),
|
|
'display' => array(),
|
|
),
|
|
);
|
|
$export['field_bundle_settings_node__event'] = $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_event';
|
|
$strongarm->value = array(
|
|
0 => 'main-menu',
|
|
);
|
|
$export['menu_options_event'] = $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_event';
|
|
$strongarm->value = 'main-menu:0';
|
|
$export['menu_parent_event'] = $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_event';
|
|
$strongarm->value = array(
|
|
0 => 'status',
|
|
);
|
|
$export['node_options_event'] = $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_event';
|
|
$strongarm->value = '1';
|
|
$export['node_preview_event'] = $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_event';
|
|
$strongarm->value = 1;
|
|
$export['node_submitted_event'] = $strongarm;
|
|
|
|
return $export;
|
|
}
|