Log in
Interface

GetBlockByIdentifierInterface

Magento\Cms\Api\GetBlockByIdentifierInterface

What it does

This interface defines a command to retrieve CMS block data by its identifier and store ID.

Developers use this when they need to programmatically fetch a specific CMS block's content for display or manipulation, such as loading a custom promotional block or footer content for a particular store view.

Public Methods

  • execute()