Remove config_rewrite module.
This commit is contained in:
parent
f73b9115fb
commit
3257fc6e7b
|
@ -19,7 +19,6 @@
|
|||
"cweagans/composer-patches": "^1.6",
|
||||
"drupal/admin_toolbar": "^2.4",
|
||||
"drupal/core": "~9.1.2",
|
||||
"drupal/config_rewrite": "^1.4",
|
||||
"drupal/config_update": "^1.7",
|
||||
"drupal/csv_serialization": "^2.0",
|
||||
"drupal/date_popup": "^1.1",
|
||||
|
|
|
@ -11,7 +11,5 @@
|
|||
function farm_ui_dashboard_install() {
|
||||
|
||||
// Set the front page to /dashboard.
|
||||
// We cannot set this with config_rewrite because it breaks the config. See:
|
||||
// https://www.drupal.org/project/config_rewrite/issues/3085330
|
||||
\Drupal::configFactory()->getEditable('system.site')->set('page.front', '/dashboard')->save();
|
||||
}
|
||||
|
|
|
@ -11,7 +11,5 @@
|
|||
function farm_ui_user_install() {
|
||||
|
||||
// Set the default 403 page to /403.
|
||||
// We cannot set this with config_rewrite because it breaks the config. See:
|
||||
// https://www.drupal.org/project/config_rewrite/issues/3085330
|
||||
\Drupal::configFactory()->getEditable('system.site')->set('page.403', '/403')->save();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue