CanViewNotification
Magento\ReleaseNotification\Model\Condition\CanViewNotification
What it does
This class determines whether a logged-in admin user should see the Magento release notification popup.
It checks if the user has already viewed the notification for the current Magento version by comparing their last viewed version against the installed version, using caching to optimize performance.
Developers would use this as a visibility condition for UI components that display release notifications in the admin panel.
Public Methods
- isVisible()
- getName()