diff --git a/src/Config/ConfigUibOverride.php b/src/Config/ConfigUibOverride.php index 1691174aee11d66372d8d03fad099ec74b68d1a9..6a6d4b9ff9c9efb6625b2a1fdd81a3849aa1c731 100644 --- a/src/Config/ConfigUibOverride.php +++ b/src/Config/ConfigUibOverride.php @@ -2,6 +2,7 @@ namespace Drupal\uib_common_ui\Config; +use Drupal\Core\Cache\CacheableMetadata; use Drupal\Core\Config\ConfigFactoryOverrideInterface; use Drupal\Core\Config\StorageInterface; use Drupal\Core\Extension\ModuleHandlerInterface; @@ -33,10 +34,8 @@ class ConfigUibOverride implements ConfigFactoryOverrideInterface { */ public function loadOverrides($names): array { if (in_array('gin_login.settings', $names, TRUE)) { - // Get the absolute path to the module and append the relative logo path. $module_path = $this->moduleHandler->getModule('uib_common_ui')->getPath(); $logo_path = $module_path . '/public/image/uib_login_logo.svg'; - $overrides['gin_login.settings']['logo'] = ['path' => $logo_path]; } @@ -47,7 +46,7 @@ class ConfigUibOverride implements ConfigFactoryOverrideInterface { * {@inheritDoc} */ public function getCacheSuffix() { - // @todo Implement getCacheSuffix() method. + return ''; } /** @@ -61,7 +60,7 @@ class ConfigUibOverride implements ConfigFactoryOverrideInterface { * {@inheritDoc} */ public function getCacheableMetadata($name) { - // @todo Implement getCacheableMetadata() method. + return new CacheableMetadata(); } }