Model
GetBlockByIdentifier
Magento\Cms\Model\GetBlockByIdentifier
What it does
This class retrieves a CMS block by its identifier for a specific store.
Developers use this when they need to programmatically fetch a CMS block by its string identifier rather than its ID, such as when loading dynamic content or embedding blocks in custom templates.
Public Methods
- execute()