Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dispatching of view_block_abstract_to_html_after event #3735

Closed
wants to merge 1 commit into from
Closed

Add dispatching of view_block_abstract_to_html_after event #3735

wants to merge 1 commit into from

Conversation

aleron75
Copy link
Contributor

Just like it was in Magento 1 Mage_Core_Block_Abstract class, this change is aimed at having an event dispatched after the HTML is generated by the toHtml() method.

This can be used to change HTML without the need to implement a plugin for the Magento\Framework\View\Element\AbstractBlock class.

Just like it was in Magento 1 Mage_Core_Block_Abstract class, this change is aimed at having an event dispatched after the HTML is generated by the toHtml() method. This can be used to change HTML without the need to implement a plugin for this class.
@Vinai
Copy link
Contributor

Vinai commented Mar 12, 2016

Thanks for your contrinution, @aleron75! Before the PR can be evaluated the tests need to pass. Can you please adjust the tests so the expected call count matches the actual call count on the dispatcher?

@aleron75
Copy link
Contributor Author

Yes sure, I'm trying to do that but some tests still fails; will keep working on that.
Cheers,
Alessandro

@aleron75 aleron75 closed this Mar 14, 2016
magento-engcom-team pushed a commit that referenced this pull request Feb 12, 2019
Fixed issues:
- [MAGETWO-97898](https://jira.corp.magento.com/browse/MAGETWO-97898) [Magento Cloud] Store switcher URL redirects to the same store
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants