Blocks are used to connect or create a link between layout and templates are called Blocks. As a class, it is a set of methods that handle and controls the Magento UI Blocks.
Follow the below steps to override a block.
Override di.xml File Continue reading Magento 2 Override Block