Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

Adds expiration settings for panels #1

Merged
merged 2 commits into from
Mar 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion dkan_acquia_expire.info
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ version = 7.x-1.1
project = dkan_acquia_expire
dependencies[] = ctools
dependencies[] = expire
dependencies[] = expire_panels
dependencies[] = strongarm
features[ctools][] = strongarm:strongarm:1
features[features_api][] = api:2
Expand All @@ -27,4 +28,10 @@ features[variable][] = expire_node_custom_pages
features[variable][] = expire_node_front_page
features[variable][] = expire_node_node_page
features[variable][] = expire_node_reference_pages
project path = sites/all/modules/dkan
features[variable][] = expire_panels_actions
features[variable][] = expire_panels_custom
features[variable][] = expire_panels_custom_pages
features[variable][] = expire_panels_front_page
features[variable][] = expire_panels_panel_page
features[variable][] = expire_panels_panelizer_page
project path = sites/all/modules/contrib
45 changes: 45 additions & 0 deletions dkan_acquia_expire.strongarm.inc
Original file line number Diff line number Diff line change
Expand Up @@ -158,5 +158,50 @@ function dkan_acquia_expire_strongarm() {
$strongarm->value = 1;
$export['expire_node_reference_pages'] = $strongarm;

$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'expire_panels_actions';
$strongarm->value = array(
1 => '1',
2 => '2',
);
$export['expire_panels_actions'] = $strongarm;

$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'expire_panels_custom';
$strongarm->value = 0;
$export['expire_panels_custom'] = $strongarm;

$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'expire_panels_custom_pages';
$strongarm->value = '';
$export['expire_panels_custom_pages'] = $strongarm;

$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'expire_panels_front_page';
$strongarm->value = 1;
$export['expire_panels_front_page'] = $strongarm;

$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'expire_panels_panelizer_page';
$strongarm->value = 1;
$export['expire_panels_panelizer_page'] = $strongarm;

$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'expire_panels_panel_page';
$strongarm->value = 1;
$export['expire_panels_panel_page'] = $strongarm;

return $export;
}