You are here

function _bear_setup_base_configurations in Bear 8

Setup base site configurations.

1 call to _bear_setup_base_configurations()
bear_install in ./bear.install
Implements hook_install().

File

./bear.install, line 28
Install, update and uninstall functions for the bear installation profile.

Code

function _bear_setup_base_configurations() {

  // Set front page to "node".
  \Drupal::configFactory()
    ->getEditable('system.site')
    ->set('page.front', '/node')
    ->save(TRUE);
}