You are here

function demo_express_install in Express 8

Implements hook_install().

Perform actions to set up the site for this profile.

See also

system_install()

File

demo_express/demo_express.install, line 14
Install, update and uninstall functions for the profilename install profile.

Code

function demo_express_install() {

  // Can add code in here to make nodes, terms, etc.
  \Drupal::configFactory()
    ->getEditable('system.theme')
    ->set('default', 'demo_theme')
    ->save();
}