Log in
Collection

TaxRuleCollection

Magento\Tax\Model\TaxRuleCollection

What it does

This collection class provides a service-based approach to loading and managing tax rules for display in admin grids.

Developers use it when they need to retrieve, filter, and display tax rules in the Magento admin interface, particularly in the tax configuration sections.

It transforms tax rule data from the repository into collection items suitable for grid rendering.

Public Methods

  • loadData()