Skip to content

Commit

Permalink
Issue #11: Enable administration theme favicon replacing by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
lexhouk committed Jun 25, 2018
1 parent f3c18b9 commit 5780e5d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
admin: seven
default: d8_theme
favicon: true
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,12 @@ function d8_feature_settings_install() {
->set('error_level', 'verbose')
->save(TRUE);
}

/**
* Enable overriding favicon of administration theme.
*/
function d8_feature_settings_update_8001() {
\Drupal::configFactory()->getEditable('system.theme')
->set('favicon', TRUE)
->save();
}

0 comments on commit 5780e5d

Please sign in to comment.