Log in
Interface

CustomerGroupConfigInterface

Magento\Customer\Api\CustomerGroupConfigInterface

What it does

This interface defines operations for managing system-wide customer group configuration in Magento 2.

Developers use this to programmatically set the default customer group that will be assigned to new customers during registration.

It's primarily used in system configuration management or custom modules that need to modify default customer group settings.

Public Methods

  • setDefaultCustomerGroup()