42 \
Magento\Framework\Registry $coreRegistry,
44 \
Magento\Framework\Stdlib\DateTime\Filter\Date $dateFilter
46 parent::__construct($context);
47 $this->_coreRegistry = $coreRegistry;
48 $this->_fileFactory = $fileFactory;
49 $this->_dateFilter = $dateFilter;
59 $this->_coreRegistry->register(
60 \
Magento\SalesRule\Model\RegistryConstants::CURRENT_SALES_RULE,
61 $this->_objectManager->create(\
Magento\SalesRule\Model\Rule::class)
70 $this->_coreRegistry->registry(\
Magento\SalesRule\Model\RegistryConstants::CURRENT_SALES_RULE)->load(
$id);
81 $this->_view->loadLayout();
82 $this->_setActiveMenu(
'Magento_SalesRule::promo_quote')->_addBreadcrumb(
__(
'Promotions'),
__(
'Promotions'));