Log in
Model

Vertical

Magento\Analytics\Model\Config\Backend\Vertical

What it does

This backend model validates the Analytics vertical/industry configuration setting before it's saved to the database.

Developers would use this class when they need to ensure a business vertical is selected in the Analytics configuration, as an empty value would distort analytics reports.

It's automatically triggered when saving the vertical configuration value in the admin panel.

Public Methods

  • beforeSave()