I want get current block in my observer, for example I have observe event
<catalog_block_product_list_collection>
<observers>
<mycompany_category_list_collection>
<type>singleton</type>
<class>mycompany/category</class>
<method>sendProductImpressionAfterLoad</method>
</mycompany_category_list_collection>
</observers>
</catalog_block_product_list_collection>
this is event dispath in block reder category….
I can get this block class, name, file, type or other information for help me indetification this block in my method.
Best Answer
Try your stuff with below example: