7 declare(strict_types=1);
66 $this->_localeDate = $context->getLocaleDate();
67 $this->_authorization = $context->getAuthorization();
68 $this->mathRandom = $context->getMathRandom();
69 $this->_backendSession = $context->getBackendSession();
70 $this->formKey = $context->getFormKey();
71 $this->nameBuilder = $context->getNameBuilder();
72 parent::__construct($context,
$data);
82 return $this->formKey->getFormKey();
101 if ($moduleName ===
null) {
105 return !$this->_scopeConfig->isSetFlag(
106 'advanced/modules_disable_output/' . $moduleName,
107 \
Magento\Store\Model\ScopeInterface::SCOPE_STORE
128 $this->_eventManager->dispatch(
'adminhtml_block_html_before', [
'block' => $this]);
129 return parent::_toHtml();
139 return $this->
getLayout()->getBlock(
'page.actions.toolbar');
isOutputEnabled($moduleName=null)
__construct(\Magento\Backend\Block\Template\Context $context, array $data=[])