Log in
Model

GroupExcludedWebsiteRepository

Magento\Customer\Model\ResourceModel\GroupExcludedWebsiteRepository

What it does

This repository class manages the relationship between customer groups and websites that are excluded from those groups.

Developers use this class to save, retrieve, or delete exclusions that prevent specific customer groups from being available on certain websites in a multi-site Magento installation.

It provides CRUD operations for managing which websites should not display particular customer groups.

Public Methods

  • save()
  • getCustomerGroupExcludedWebsites()
  • getAllExcludedWebsites()
  • delete()
  • deleteByWebsite()