Guest User

Untitled

a guest
Oct 4th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. <?php
  2. namespace Vendor\Namespace\Block\Adminhtml\Select;
  3. class Edit extends \Magento\Backend\Block\Widget\Form\Container
  4. {
  5. protected $_coreRegistry = null;
  6.  
  7. public function __construct(
  8. \Magento\Backend\Block\Widget\Context $context,
  9. \Magento\Framework\Registry $registry,
  10. array $data = []
  11. ) {
  12. $this->_coreRegistry = $registry;
  13. parent::__construct($context, $data);
  14. }
  15.  
  16. protected function _construct()
  17. {
  18. $this->_objectId = 's_no';
  19. $this->_controller = 'adminhtml_select';
  20. $this->_blockGroup = 'Vendor_Namespace';
  21.  
  22. parent::_construct();
  23.  
  24. }
  25. }
Add Comment
Please, Sign In to add comment