Interface
GetBlockByIdentifierInterface
Magento\Cms\Api\GetBlockByIdentifierInterface
What it does
This interface defines a contract for retrieving CMS block data by its unique identifier and store ID.
Developers use this when they need to programmatically fetch a specific CMS block from the database, such as displaying custom content blocks in templates or through API calls.
It provides a reliable way to load block content while ensuring proper store scope handling.
Public Methods
- execute()