Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
All Data Structures Namespaces Files Functions Variables Pages
After.php
Go to the documentation of this file.
1 <?php
11 
17 {
21  protected $_registry;
22 
28  public function __construct(
29  \Magento\Backend\Block\Template\Context $context,
30  \Magento\Framework\Registry $registry,
31  array $data = []
32  ) {
33  $this->_registry = $registry;
34  parent::__construct($context, $data);
35  }
36 
42  public function getOperation()
43  {
44  return $this->_registry->registry('current_operation');
45  }
46 }
__construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, array $data=[])
Definition: After.php:28