How does \Magento\Framework\View\Layout::createBlock() work?




A block should be an instance of \Magento\Framework\View\Element\AbstractBlock:


See also How does \Magento\Framework\View\Layout::getBlockSingleton() work?