Loading config/install/openy_carnation.settings.yml +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ features: favicon: true node_user_picture: true logo: path: profiles/contrib/openy/themes/openy_themes/openy_carnation/dist/img/logo-white.png path: themes/contrib/openy_carnation/dist/img/logo-white.png url: '' use_default: false openy_carnation_camp_section_logo: { } Loading openy_carnation.install 0 → 100644 +14 −0 Original line number Diff line number Diff line <?php /** * Update default logo path. */ function openy_carnation_update_8005() { $config = \Drupal::service('config.factory')->getEditable('openy_carnation.settings'); $curr = $config->get('logo'); if ($curr['path'] == 'profiles/contrib/openy/themes/openy_themes/openy_carnation/dist/img/logo-white.png') { $curr['path'] = 'themes/contrib/openy_carnation/dist/img/logo-white.png'; $config->set('logo', $curr); $config->save(); } } Loading
config/install/openy_carnation.settings.yml +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ features: favicon: true node_user_picture: true logo: path: profiles/contrib/openy/themes/openy_themes/openy_carnation/dist/img/logo-white.png path: themes/contrib/openy_carnation/dist/img/logo-white.png url: '' use_default: false openy_carnation_camp_section_logo: { } Loading
openy_carnation.install 0 → 100644 +14 −0 Original line number Diff line number Diff line <?php /** * Update default logo path. */ function openy_carnation_update_8005() { $config = \Drupal::service('config.factory')->getEditable('openy_carnation.settings'); $curr = $config->get('logo'); if ($curr['path'] == 'profiles/contrib/openy/themes/openy_themes/openy_carnation/dist/img/logo-white.png') { $curr['path'] = 'themes/contrib/openy_carnation/dist/img/logo-white.png'; $config->set('logo', $curr); $config->save(); } }