Issue #3257274 by andy-blum, mherchel, mglaman, xjm, alexpott, mgifford, shaal, benjifisher, tim.plunkett, AaronMcHale, Antoniya, worldlinemine, tmaiochi, rkoller, andregp, ckrina: Implement color changing theme settings for Olivero
2022-05-31 12:25:03 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Post update functions for Olivero.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2022-09-01 06:56:21 +00:00
|
|
|
* Sets the default `base_primary_color` value of Olivero's theme settings.
|
Issue #3257274 by andy-blum, mherchel, mglaman, xjm, alexpott, mgifford, shaal, benjifisher, tim.plunkett, AaronMcHale, Antoniya, worldlinemine, tmaiochi, rkoller, andregp, ckrina: Implement color changing theme settings for Olivero
2022-05-31 12:25:03 +00:00
|
|
|
*/
|
2022-09-01 06:56:21 +00:00
|
|
|
function olivero_post_update_add_olivero_primary_color() {
|
|
|
|
\Drupal::configFactory()->getEditable('olivero.settings')
|
|
|
|
->set('base_primary_color', '#1b9ae4')
|
|
|
|
->save();
|
Issue #3257274 by andy-blum, mherchel, mglaman, xjm, alexpott, mgifford, shaal, benjifisher, tim.plunkett, AaronMcHale, Antoniya, worldlinemine, tmaiochi, rkoller, andregp, ckrina: Implement color changing theme settings for Olivero
2022-05-31 12:25:03 +00:00
|
|
|
}
|