Model
Block
Magento\Cms\Model\ResourceModel\Block
What it does
This resource model handles database operations for CMS blocks in Magento 2.
Developers use it to load, save, and delete CMS blocks, check if block identifiers are unique across stores, and retrieve store associations.
It manages the cms_block table and its relationship with the cms_block_store table for multi-store functionality.
Public Methods
- getConnection()
- load()
- getIsUniqueBlockToStores()
- lookupStoreIds()
- save()
- delete()