Skip to content

Commit

Permalink
Merge pull request #92 from GSA/feature/DIGITAL-141-rabbit-hole-config
Browse files Browse the repository at this point in the history
DIGITAL-141: Install Rabbit Hole module
  • Loading branch information
mattsqd authored Jan 6, 2025
2 parents 3abe990 + 3a149dc commit 9d56ae3
Show file tree
Hide file tree
Showing 14 changed files with 212 additions and 1 deletion.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"drupal/paragraph_view_mode": "^3.1",
"drupal/paragraphs": "^1.18",
"drupal/pathauto": "^1.13",
"drupal/rabbit_hole": "^1.0",
"drupal/redirect": "^1.10",
"drupal/remove_username": "^1.5",
"drupal/require_revision_log_message": "^2.0",
Expand Down
81 changes: 80 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions composer.log
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ bd7840ebd67d69715dbd07eef9ceb742|cathybaptista|feature/DIGITAL-114-implement-ide
b9a62f1676c64c163727b0feef5db80f|christian medders|feature/DIGITAL-40-gtm|Fri Dec 20 15:46:24 EST 2024|./composer.sh require drupal/google_tag:^2.0
0e651880d7500538af3077d6462f9562|Matt Poole|feature/DIGITAL-158-log-stdout|Fri Jan 3 15:16:26 EST 2025|./composer.sh require drupal/log_stdout:^1.5
cfff5655249d219415af160348b125c3|christian medders|feature/DIGITAL-143-topics-field-update|Mon Jan 6 09:55:32 EST 2025|./composer.sh require drupal/autocomplete_deluxe:^2.1
652fb1da8ec252a44bd251452e4d5782|Oscar Merida|feature/DIGITAL-141-rabbit-hole-config|Mon Jan 6 10:29:35 EST 2025|./composer.sh require drupal/rabbit_hole
15 changes: 15 additions & 0 deletions composer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,21 @@ if [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = "true" ]; then
exit "${EXIT_STATUS}"
fi
branch=$(git rev-parse --abbrev-ref HEAD)
# If rebasing, the branch name will be HEAD. Use another method to get it.\
# Digital.gov custom change.
if [[ "$branch" = 'HEAD' ]]; then
rebasing-branch() {
for location in rebase-merge rebase-apply; do
path=$(git rev-parse --git-path ${location})
if test -d ${path}; then
revision=$(<${path}/head-name)
echo ${revision##refs/heads/}
return 0
fi
done
}
branch=$(rebasing-branch)
fi
date=$(date)
email=$(git config user.name)
echo -e "$hash|$email|$branch|$date|./composer.sh $*" >> composer.log
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
config:
- field.field.node.source.field_logo
- node.type.source
- workflows.workflow.editorial
module:
- content_moderation
- media_library
Expand Down
4 changes: 4 additions & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,13 @@ module:
paragraphs_type_permissions: 0
path: 0
path_alias: 0
rabbit_hole: 0
redirect: 0
remove_username: 0
require_revision_log_message: 0
rh_node: 0
rh_taxonomy: 0
rh_user: 0
role_delegation: 0
scheduler: 0
scheduler_content_moderation_integration: 0
Expand Down
14 changes: 14 additions & 0 deletions config/sync/rabbit_hole.behavior_settings.default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
uuid: e2a2604a-fb71-48a5-8d58-787d06ddf62a
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: hzh9CgsYCGxPEcbR3ieT1la6e43lMv-ivoN7oZJKkQQ
id: default
entity_type_id: null
entity_id: null
action: display_page
allow_override: 1
redirect: ''
redirect_code: 0
redirect_fallback_action: access_denied
14 changes: 14 additions & 0 deletions config/sync/rabbit_hole.behavior_settings.default_bundle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
uuid: b2c7c3fe-42c4-4049-865d-820948f883de
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: qUkgsWZRCa_sLIn5JsMzB3xnx5ekIsVeGGZr7T0s9MY
id: default_bundle
entity_type_id: null
entity_id: null
action: display_page
allow_override: 1
redirect: ''
redirect_code: 0
redirect_fallback_action: access_denied
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
uuid: a007a973-c123-413a-af5a-e68673cacaae
langcode: en
status: true
dependencies:
config:
- node.type.guide_navigation
id: node_type_guide_navigation
entity_type_id: node_type
entity_id: guide_navigation
action: page_not_found
allow_override: 0
redirect: ''
redirect_code: 301
redirect_fallback_action: access_denied
14 changes: 14 additions & 0 deletions config/sync/rabbit_hole.behavior_settings.node_type_short_post.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
uuid: e0003873-f144-4454-9f45-9aac7623e22c
langcode: en
status: true
dependencies:
config:
- node.type.short_post
id: node_type_short_post
entity_type_id: node_type
entity_id: short_post
action: access_denied
allow_override: 0
redirect: ''
redirect_code: 301
redirect_fallback_action: access_denied
14 changes: 14 additions & 0 deletions config/sync/rabbit_hole.behavior_settings.node_type_source.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
uuid: 5000fcb9-708b-4375-bfb1-3f8115984777
langcode: en
status: true
dependencies:
config:
- node.type.source
id: node_type_source
entity_type_id: node_type
entity_id: source
action: access_denied
allow_override: 0
redirect: ''
redirect_code: 301
redirect_fallback_action: access_denied
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
uuid: a55f5974-b3f0-4cf4-9e1e-e6770804a6cf
langcode: en
status: true
dependencies:
config:
- taxonomy.vocabulary.hcd_glossary
id: taxonomy_vocabulary_hcd_glossary
entity_type_id: taxonomy_vocabulary
entity_id: hcd_glossary
action: page_not_found
allow_override: 0
redirect: ''
redirect_code: 301
redirect_fallback_action: access_denied
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
uuid: d93cb688-7923-4e55-af83-d6f649a8ad31
langcode: en
status: true
dependencies:
config:
- taxonomy.vocabulary.resource_topics
id: taxonomy_vocabulary_resource_topics
entity_type_id: taxonomy_vocabulary
entity_id: resource_topics
action: page_not_found
allow_override: 0
redirect: ''
redirect_code: 301
redirect_fallback_action: access_denied
12 changes: 12 additions & 0 deletions config/sync/rabbit_hole.behavior_settings.user.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
uuid: facd069e-16bc-4925-9264-0accc72d8357
langcode: en
status: true
dependencies: { }
id: user
entity_type_id: user
entity_id: null
action: page_not_found
allow_override: 0
redirect: ''
redirect_code: 301
redirect_fallback_action: access_denied

0 comments on commit 9d56ae3

Please sign in to comment.