Log in
Model

DataDifferenceCalculator

Magento\Store\Model\Config\Importer\DataDifferenceCalculator

What it does

This class compares the current Magento store configuration (websites, store groups, and store views) with new configuration data to determine what needs to be created, updated, or deleted.

Developers would use this when implementing configuration import functionality to synchronize store hierarchy changes from configuration files into the database.

Public Methods

  • getItemsToDelete()
  • getItemsToCreate()
  • getItemsToUpdate()