Skip to content
Snippets Groups Projects
Commit ff0eacf9 authored by Tasneem Natshah's avatar Tasneem Natshah
Browse files

Issue #3344417: Change the default front page from "/node" to "/home"

parent 2d3bb34d
No related branches found
No related tags found
No related merge requests found
langcode: en
uuid: f6a5bf37-0dea-4919-a2ba-3c233a80c172
name: Webship.co
mail: admin@webship.co
slogan: ''
page:
403: ''
404: ''
front: /home
admin_compact_mode: false
weight_select_max: 100
default_langcode: en
......@@ -40,7 +40,7 @@ function webship_install() {
}
// Set front page to "node".
\Drupal::configFactory()->getEditable('system.site')->set('page.front', '/node')->save(TRUE);
\Drupal::configFactory()->getEditable('system.site')->set('page.front', '/home')->save(TRUE);
// Restrict user registration to admin role creation.
\Drupal::configFactory()->getEditable('user.settings')->set('register', UserInterface::REGISTER_ADMINISTRATORS_ONLY)->save(TRUE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment