function _bear_setup_themes in Bear 8
Setup the themes.
1 call to _bear_setup_themes()
- bear_install in ./
bear.install - Implements hook_install().
File
- ./
bear.install, line 91 - Install, update and uninstall functions for the bear installation profile.
Code
function _bear_setup_themes() {
// Enable the admin theme.
\Drupal::configFactory()
->getEditable('node.settings')
->set('use_admin_theme', TRUE)
->save(TRUE);
}