Log in
Model

Relation

Magento\Customer\Model\ResourceModel\Address\Relation

What it does

This class manages the relationship between customer addresses and their default billing/shipping address assignments.

When a customer address is saved, it automatically updates the customer entity to reflect which address is set as the default billing or shipping address, ensuring data consistency between the address and customer tables.

Public Methods

  • processRelation()