How to include the name of a module in Magento 2
To include the module name in Magento 2, you should use the following code:

then:
Alternatively, you can rely on another approach. Enter the following code
then add this one
Source (
More tips from the Magento 2 Developers Cookbook
