Search.php 700 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. namespace Magento\Bundle\Controller\Adminhtml\Bundle\Selection;
  8. use Magento\Catalog\Controller\Adminhtml\Product;
  9. class Search extends Product
  10. {
  11. /**
  12. * @return mixed
  13. */
  14. public function execute()
  15. {
  16. return $this->getResponse()->setBody(
  17. $this->_view->getLayout()->createBlock(
  18. \Magento\Bundle\Block\Adminhtml\Catalog\Product\Edit\Tab\Bundle\Option\Search::class
  19. )->setIndex(
  20. $this->getRequest()->getParam('index')
  21. )->setFirstShow(
  22. true
  23. )->toHtml()
  24. );
  25. }
  26. }