Model
Registration
Magento\Customer\Model\Registration
What it does
This class determines whether customer registration is allowed on the Magento store.
Developers can use this model to check if new customer account creation is enabled before displaying registration forms or allowing registration actions.
By default, it returns true, but it can be extended or preference-overridden to implement custom registration logic or restrictions.
Public Methods
- isAllowed()