_coreRegistry = $coreRegistry; $this->_rowFactory = $rowFactory; $this->_settlementFactory = $settlementFactory; $this->_logger = $logger; parent::__construct($context); } /** * Initialize titles, navigation * * @return $this */ protected function _initAction() { $this->_view->loadLayout(); $this->_setActiveMenu( 'Magento_Paypal::report_salesroot_paypal_settlement_reports' )->_addBreadcrumb( __('Reports'), __('Reports') )->_addBreadcrumb( __('Sales'), __('Sales') )->_addBreadcrumb( __('PayPal Settlement Reports'), __('PayPal Settlement Reports') ); $this->_view->getPage()->getConfig()->getTitle()->prepend(__('PayPal Settlement Reports')); return $this; } }