magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

_prepareColumns method in the Cms page grid block

Open tzyganu opened this issue 12 years ago • 2 comments

This is more of a question than an issue.
What's the purpose of the _prepareColumns method in the Magento\Cms\Block\Adminhtml\Page\Grid class?
I see that the grid structure is defined in app/code/Magento/Cms/view/adminhtml/layout/cms_page_listing.xml.
Even if I remove the _prepareColumns method everything gets rendered properly. Is this unfinished business? It will be removed? Or it serves a different purpose?

tzyganu avatar Nov 05 '14 09:11 tzyganu

"Magento\Cms\Block\Adminhtml\Page\Grid" is really unrequired for main CMS Pages grid, but yet used as a parent for "Magento\UrlRewrite\Block\Cms\Page\Grid". So, once that grid will be refactored to use new UI component the class will be removed.

vkorotun avatar Nov 13 '14 09:11 vkorotun

We assume this question was answered, thus are closing this ticket now.

verklov avatar Dec 09 '14 10:12 verklov