olivero.post_update.php

Same filename in other branches
  1. 11.x core/themes/olivero/olivero.post_update.php

Post update functions for Olivero.

File

core/themes/olivero/olivero.post_update.php

View source
<?php


/**
 * @file
 * Post update functions for Olivero.
 */

/**
 * Sets the default `base_primary_color` value of Olivero's theme settings.
 */
function olivero_post_update_add_olivero_primary_color() {
    \Drupal::configFactory()->getEditable('olivero.settings')
        ->set('base_primary_color', '#1b9ae4')
        ->save();
}

Functions

Title Deprecated Summary
olivero_post_update_add_olivero_primary_color Sets the default `base_primary_color` value of Olivero's theme settings.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.