Log in
Model

Frequency

Magento\AdminNotification\Model\Config\Source\Frequency

What it does

This class provides frequency options for admin notification updates in Magento 2.

It returns an array of time intervals (1, 2, 6, 12, and 24 hours) used in system configuration to determine how often the admin should check for new notifications.

Developers use this when configuring notification polling frequency in the admin panel settings.

Public Methods

  • toOptionArray()