Skip to content

Commit

Permalink
Add and configure Redirect. See drupalro#27.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hangea Cristian committed Jun 27, 2017
1 parent 79e59dd commit f270d02
Show file tree
Hide file tree
Showing 10 changed files with 1,258 additions and 3 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"drupal/nexus": "1.0.0-beta1",
"drupal/paragraphs": "^1.1",
"drupal/pathauto": "^1.0",
"drupal/redirect": "^1.0@alpha",
"drupal/seo_checklist": "^4.0",
"drush/drush": "~8.0",
"webflo/drupal-finder": "^0.2.1",
Expand Down
54 changes: 51 additions & 3 deletions composer.lock

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

32 changes: 32 additions & 0 deletions config/sync/checklistapi.progress.seo_checklist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
progress:
'#changed': 1498565127
'#changed_by': '1'
'#completed_items': 9
'#items':
install_and_enable_seo_checklist_module:
'#completed': 1498565127
'#uid': '1'
install_and_enable_admin_toolbar_module:
'#completed': 1498565127
'#uid': '1'
install_composer_command_line_tool:
'#completed': 1498565127
'#uid': '1'
install_drush_command_line_tool:
'#completed': 1498565127
'#uid': '1'
enable_clean_urls:
'#completed': 1498565127
'#uid': '1'
install_and_enable_pathauto_module:
'#completed': 1498565127
'#uid': '1'
configure_pathauto_module:
'#completed': 1498565127
'#uid': '1'
create_pathauto_patterns:
'#completed': 1498565127
'#uid': '1'
install_and_enable_share_buttons_by_addtoany:
'#completed': 1498565127
'#uid': '1'
2 changes: 2 additions & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ module:
path: 0
quickedit: 0
rdf: 0
redirect: 0
redirect_404: 0
rest: 0
search: 0
seo_checklist: 0
Expand Down
13 changes: 13 additions & 0 deletions config/sync/language.content_settings.redirect.redirect.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
uuid: 1b4d5713-8a2e-46f1-b75d-c65277a770f6
langcode: en
status: true
dependencies:
module:
- redirect
_core:
default_config_hash: trr_a8v98iVbDC77f4BIifTRGbvvq43ey6rk4HQbZ8Y
id: redirect.redirect
target_entity_type_id: redirect
target_bundle: redirect
default_langcode: und
language_alterable: true
11 changes: 11 additions & 0 deletions config/sync/redirect.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
canonical: true
auto_redirect: true
default_status_code: 301
passthrough_querystring: true
warning: false
ignore_admin_path: false
access_check: false
content_location_header: false
route_normalizer_enabled: true
_core:
default_config_hash: sy2s6cD5e-MOs_pCF0bLhRG9-YLooOXHSWn-00asCCc
5 changes: 5 additions & 0 deletions config/sync/redirect_404.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
row_limit: 10000
pages: ''
suppress_404: false
_core:
default_config_hash: FgPCEDevf9dhNU_QB_fo-4AWxi0rrSZ2SGfd7bLNzLM
16 changes: 16 additions & 0 deletions config/sync/system.action.redirect_delete_action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
uuid: 19296dad-9d58-4cc9-b22b-f64f7c5b89dc
langcode: en
status: true
dependencies:
enforced:
module:
- redirect
module:
- redirect
_core:
default_config_hash: QmBeFeWHnYLbMWN48tWZZJmZIHZw0XEWUfxLYZFXhzQ
id: redirect_delete_action
label: 'Delete redirect'
type: redirect
plugin: redirect_delete_action
configuration: { }
Loading

0 comments on commit f270d02

Please sign in to comment.