Log in
Interface

BlockSearchResultsInterface

Magento\Cms\Api\Data\BlockSearchResultsInterface

What it does

This interface defines the contract for search results when querying CMS blocks through the API.

Developers use this when implementing or consuming repository search methods to get a standardized collection of CMS blocks with pagination and filtering metadata.

It extends the framework's SearchResultsInterface to provide type-specific getItems/setItems methods that work with BlockInterface objects.

Public Methods

  • getItems()
  • setItems()