You are here

function pace_update_8101 in PACE - Page load progress bar 2.0.x

Same name and namespace in other branches
  1. 8 pace.install \pace_update_8101()

Remove manual color setting from the UI.

File

./pace.install, line 18
Presets PACE theme to minimal upon installation.

Code

function pace_update_8101() {
  \Drupal::configFactory()
    ->getEditable('pace.settings.pace_custom_color_enabled')
    ->delete();
  \Drupal::configFactory()
    ->getEditable('pace.settings.pace_custom_color_value')
    ->delete();
}