CustomerGroupObserver
class CustomerGroupObserver (View source)
Methods
void
void
void
void
void
ensureOnlyOneDefault(CustomerGroup $savedCustomerGroup)
Ensures that only one default CustomerGroup exists.
Details
void
created(CustomerGroup $customerGroup)
Handle the Language "created" event.
void
updated(CustomerGroup $customerGroup)
Handle the CustomerGroup "updated" event.
void
deleted(CustomerGroup $customerGroup)
Handle the CustomerGroup "deleted" event.
void
forceDeleted(CustomerGroup $customerGroup)
Handle the CustomerGroup "forceDeleted" event.
protected void
ensureOnlyOneDefault(CustomerGroup $savedCustomerGroup)
Ensures that only one default CustomerGroup exists.