Log in
Model

AttributeWebsiteRequired

Magento\Customer\Model\AttributeWebsiteRequired

What it does

This class retrieves information about which customer attributes are required on specific websites in a multi-website Magento installation.

Developers use this when they need to determine attribute validation rules across different websites, such as during customer registration or profile updates.

It checks both website-specific requirements and falls back to default scope requirements when website-specific settings aren't defined.

Public Methods

  • get()