cancel
Showing results for 
Search instead for 
Did you mean: 

Allow Arbitary Block Objects

0 Kudos

Allow Arbitary Block Objects

Feature request from Flyingmana, posted on GitHub Sep 20, 2015

while we already have an Interface for Blocks (BlockInterface), there is still a place, which enforces usage of the abstract Block class (\Magento\Framework\View\Element\AbstractBlock).

https://github.com/magento/magento2/blob/develop/lib/internal/Magento/Framework/View/Layout/Generato...

While its not a problem to extend from there, I think it is not necessary for all Blocks

2 Comments
apiuser
New Member

Comment from voleye, posted on GitHub Sep 23, 2015

@Flyingmana ,Thank you for the idea! We have created an issue in the product backlog. We will get back to you once we complete the analysis.

apiuser
New Member

Comment from davidalger, posted on GitHub Nov 10, 2015

@voleye Can you provide an update on what the result of the internal analysis of this was?