Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Links.php
Go to the documentation of this file.
1 <?php
7 
12 class Links extends \Magento\Framework\App\Config\Value
13 {
19  public function afterSave()
20  {
21  if ($this->isValueChanged()) {
22  $this->cacheTypeList->invalidate(\Magento\Framework\View\Element\AbstractBlock::CACHE_GROUP);
23  }
24  return parent::afterSave();
25  }
26 }