Links.php 722 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Contact\Model\System\Config\Backend;
  7. use Magento\Config\Model\Config\Backend\Cache;
  8. /**
  9. * Cache cleaner backend model
  10. */
  11. class Links extends Cache implements \Magento\Framework\DataObject\IdentityInterface
  12. {
  13. /**
  14. * Cache tags to clean
  15. *
  16. * @var string[]
  17. */
  18. protected $_cacheTags = [\Magento\Store\Model\Store::CACHE_TAG, \Magento\Cms\Model\Block::CACHE_TAG];
  19. /**
  20. * Get identities
  21. *
  22. * @return array
  23. */
  24. public function getIdentities()
  25. {
  26. return [\Magento\Store\Model\Store::CACHE_TAG, \Magento\Cms\Model\Block::CACHE_TAG];
  27. }
  28. }