Commit 037f4e43 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-4755: fixing returning cache tags

parent bbdedf6c
......@@ -4,6 +4,7 @@ namespace Drupal\uw_ct_site_footer\Plugin\Block;
use Drupal\Component\Serialization\Json;
use Drupal\Core\Block\BlockBase;
use Drupal\Core\Cache\Cache;
use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Http\ClientFactory;
......@@ -249,7 +250,8 @@ class SiteFooterBlock extends BlockBase implements ContainerFactoryPluginInterfa
* {@inheritDoc}
*/
public function getCacheTags() {
return [parent::getCacheTags(), 'site_footer'];
return Cache::mergeTags(parent::getCacheTags(), ['site_footer']);
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment