Remove block from layout XML in Magento 2
In more recent versions of Magento2, the remove method is now:
<referenceBlock name="block_name" remove="true"/>
Example:
<?xml version="1.0"?>
<page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../../../../../lib/internal/Magento/Framework/View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="block_name" remove="true"/>
</body>
</page>
This is important to know in case you are trying to do something more than just remove an element. Changing the namespace to layout instead of page_configuration
may not allow you to do everything you are needing to do.
In the most recent dev branch of magento 2, try create view/adminhtml/layout/adminhtml_dashboard_index.xml
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-dashboard" xsi:noNamespaceSchemaLocation="../../../../../../../lib/internal/Magento/Framework/View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="dashboard" remove="true"/>
Source https://github.com/magento/magento2/search?l=xml&q=remove&utf8=%E2%9C%93