Log in
Model

CollectionTime

Magento\Analytics\Model\Config\Backend\CollectionTime

What it does

This class handles the backend configuration for Magento Analytics data collection time.

When an admin saves the analytics collection time in the system configuration, this class automatically converts the time format (HH,MM,SS) into a cron expression and updates the cron schedule for the analytics_collect_data job.

Developers would extend or modify this class when customizing how the analytics collection time is stored or validated.

Public Methods

  • afterSave()