Log in
Model

Validator

Magento\Store\Model\Config\Validator

What it does

This validator ensures that Magento's deployment configuration contains at least one non-admin website, store group, and store view.

Developers would encounter this during store setup, configuration deployment, or when validating scope configurations to prevent scenarios where only admin scopes exist, which would make the storefront inaccessible.

Public Methods

  • validate()