Magento 2 virtualType
There is no class Magento\Catalog\Block\Product\Widget\Link in the the catalog_product_link widget declaration, since it is a virtual type. Besides, Magento\Catalog\Block\Product\Widget\Link is an alias to Magento\Catalog\Block\Widget\Link with a custom dependency injection. Please note that an argument entityResource has the Magento\Catalog\Model\ResourceModel\Product type. Continue Reading