21 protected $_template =
'Magento_Backend::page/header.phtml';
43 \
Magento\Backend\Model\Auth\Session $authSession,
44 \
Magento\Backend\Helper\Data $backendData,
47 $this->_backendData = $backendData;
48 $this->_authSession = $authSession;
49 parent::__construct($context,
$data);
57 return $this->_backendData->getHomePageUrl();
65 return $this->_authSession->getUser();
73 return $this->
getUrl(
'adminhtml/auth/logout');
83 return $this->_scopeConfig->getValue(
84 'web/browser_capabilities/javascript',
85 \
Magento\Store\Model\ScopeInterface::SCOPE_STORE
getUrl($route='', $params=[])