/** * Set title and a hack for tabs container * * @return \Magento\RecurringPayment\Block\Adminhtml\Payment\View */ protected function _beforeToHtml() { $payment = $this->_coreRegistry->registry('current_recurring_payment'); $this->_headerText = __('Recurring Payment # %1', $payment->getReferenceId()); $this->setViewHtml('<div id="' . $this->getDestElementId() . '"></div>'); return parent::_beforeToHtml(); }