Log in
Model

CustomerGroupConfig

Magento\Customer\Model\CustomerGroupConfig

What it does

This class manages system configuration operations for customer groups in Magento 2.

Developers use it to programmatically set the default customer group for new customer registrations by updating the system configuration value and persisting it to the database.

Public Methods

  • setDefaultCustomerGroup()