Log in
Model

GroupExcludedWebsiteRepository

Magento\Customer\Model\ResourceModel\GroupExcludedWebsiteRepository

What it does

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

Developers use it to save, retrieve, or delete exclusion records when configuring which websites a customer group should not be available on, typically in multi-website Magento installations where different customer groups need to be restricted to specific websites.

Public Methods

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