Interface
ModeSwitcherInterface
Magento\Indexer\Model\ModeSwitcherInterface
What it does
This interface defines the contract for switching indexer modes in Magento 2, particularly for managing dimension-based indexing.
Developers implement this interface when creating custom indexers that need to support different indexing modes (like switching between update on save vs.
schedule) or when working with multi-dimensional indexes that require mode transitions.
Public Methods
- getDimensionModes()
- switchMode()