Easy solution is using Magento 2 CLI and adding memory limit inside command i.e. dmemory_limit=3G
You can also pass multiple validation classes in validate tag by just adding space between classes.
In simple terms var is function scoped and let is block scoped.
Let’s say your store operates in multi currencies like Euro, US Dollar and Singapore Dollar and your customers can pay in any of these. How do we define which is a default currency and how can we make more than 1 currency allowed in the store?
If you are building a module and you encounter a block that cannot be referenced by name then you probably need to create a plugin to overwrite the template. This can be achieved in three simple steps.
Blocks and Containers are heart of layout. Whenever we want to customise the page layout we do change in layout files or alter templates. Today we gonna list down all the attributes used in the layout xml.
It is very common requirement that we need to create a custom page for new campaigns. But the layout of that page is different from the website generic pages layout.
Virtual types are a way to inject different dependencies into existing classes without affecting other classes.
Use the arguments and argument nodes. These call setData on the block. As such, you can retrieve these values later by calling the getData() method.