A couple of weeks ago I failed my frontend developer exam by 1 point, Tomorrow I am going to retake.
I have a question which I want to be sure about. In the exam I had some xml snippets and I had to pick the right one. A lot of times I saw snippets containing block="block_name"
. I never saw this in any layout xml file ever so I thought this is bad code maybe to trick me. This kind of snippet containing block=
popped up several times which started to confuse me.
I searched everywhere but couldn't find an example. Do you guys now any usage for this or is it to trick me?
Example
<action method="insert" block="contactForm"/>
Can someone clarify this? Can block=
be used in some xml code or not?