How to include the name of a module in Magento 2

- Magento 2

Magento 2 Development

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 (Magento Stackexchange Question) (Sohel Rana)

 More tips from the Magento 2 Developers Cookbook

'