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.
Create a custom URL structure in Magento 2 using RouterList.
Change your Magento admin URL from the default “/admin”, to something more unique and very hard to remember.
We always have a requirement to get value from `core_config_data` table in Magento 2. Magento uses ScopeConfigInterface to read config values from database.
Magento system uses Composer packages to distribute, install, and upgrade components in an application. Metapackage, Module, Theme and Language are the package types used in the Magento system.
Magento has an in-built profiler that can be used to identify performance problems on the server side.