AbstractCollection
Magento\Cms\Model\ResourceModel\AbstractCollection
What it does
This abstract class serves as a base collection for CMS entities (pages and blocks) in Magento 2, providing common functionality for filtering and loading data with store associations.
Developers extend this class when creating custom collections for CMS-related entities that need multi-store support.
It handles store filtering, loading store relationships, and provides utility methods for converting collection data to option arrays.
Public Methods
- addFieldToFilter()
- addStoreFilter()
- getSelectCountSql()
- toOptionIdArray()