_controller = 'weltpixelbackend_debugger'; $this->_blockGroup = 'WeltPixel_Backend'; parent::_construct(); $this->removeButton('add'); $this->addButton( 'only-custom', [ 'label' => __("Only Custom Modules"), 'onclick' => 'setLocation(\'' . $this->getUrl('*/*/rewritescustom') . '\')', 'class' => 'primary' ] ); $this->addButton( 'all-core', [ 'label' => __("All Magento Modules"), 'onclick' => 'setLocation(\'' . $this->getUrl('*/*/rewritesall') . '\')', 'class' => 'secondary' ] ); } }