Your IP : 127.0.0.1


Current Path : /home/dev2.destoffenstraat.com/app/code/Glace/Lib01/Model/Config/Backend/
Upload File :
Current File : /home/dev2.destoffenstraat.com/app/code/Glace/Lib01/Model/Config/Backend/Menu.php

<?php
/**
 * @author Glace Team
 * @copyright Copyright (c) 2019 Glace (https://www.glace.com)
 * @package Glace_Lib01
 */


namespace Glace\Lib01\Model\Config\Backend;

class Menu extends \Magento\Framework\App\Config\Value implements
    \Magento\Framework\App\Config\Data\ProcessorInterface
{
    /**
     * @return $this
     */
    public function afterSave()
    {
        if ($this->isValueChanged()) {
            $this->cacheTypeList->invalidate(\Magento\Framework\App\Cache\Type\Block::TYPE_IDENTIFIER);
        }

        return parent::afterSave();
    }

    /**
     * Process config value
     *
     * @param string $value
     * @return string
     */
    public function processValue($value)
    {
        return $value;
    }
}