Log in
Model

Group

Magento\Customer\Model\ResourceModel\Group

What it does

This resource model manages database operations for customer groups in Magento 2.

Developers use this class when programmatically creating, updating, or deleting customer groups, as it handles data persistence, validates unique group codes, prevents deletion of default groups, and automatically reassigns customers to default groups when their group is deleted.