Log in
Model

GroupExcludedWebsite

Magento\Customer\Model\ResourceModel\GroupExcludedWebsite

What it does

This resource model manages the relationship between customer groups and websites they are excluded from in multi-website Magento installations.

Developers use this class to load, save, and delete customer group website exclusions, determining which websites specific customer groups cannot access.

It includes built-in caching to optimize performance when checking exclusions.

Public Methods

  • _resetState()
  • invalidateCache()
  • loadCustomerGroupExcludedWebsites()
  • loadAllExcludedWebsites()
  • delete()
  • deleteByWebsite()