demo_express.install in Express 8
Install, update and uninstall functions for the profilename install profile.
File
demo_express/demo_express.installView source
<?php
/**
* @file
* Install, update and uninstall functions for the profilename install profile.
*/
/**
* Implements hook_install().
*
* Perform actions to set up the site for this profile.
*
* @see system_install()
*/
function demo_express_install() {
// Can add code in here to make nodes, terms, etc.
\Drupal::configFactory()
->getEditable('system.theme')
->set('default', 'demo_theme')
->save();
}
Functions
Name | Description |
---|---|
demo_express_install | Implements hook_install(). |