Model
Block
Magento\Cms\Model\Config\Source\Block
What it does
This class provides a source of CMS block options for use in system configuration fields and admin forms.
Developers use this class when they need to display a dropdown or multi-select list of available CMS blocks, such as in backend configuration settings where an administrator needs to select a specific block to display in a particular location.
Public Methods
- toOptionArray()