Priority
Magento\Sitemap\Model\Config\Backend\Priority
What it does
This backend model validates the priority configuration value for sitemap entries in Magento 2.
It ensures that priority values entered in the admin configuration are between 0 and 1 (inclusive), which is the valid range according to sitemap protocol standards.
Developers would encounter this when configuring sitemap priorities in the admin panel at Stores > Configuration > Catalog > XML Sitemap.
Public Methods
- beforeSave()