Log in
Model

Plugin

Magento\Theme\Model\Design\Config\Plugin

What it does

This plugin intercepts save and delete operations on design configuration in Magento 2 to dispatch events that notify the system of design changes.

Developers can use this to trigger cache invalidation, reindexing, or custom logic whenever theme/design settings are modified at the website or store scope level.

It ensures that design configuration changes are properly propagated throughout the system.

Public Methods

  • afterSave()
  • afterDelete()