Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Index.php
Go to the documentation of this file.
1 <?php
8 
9 use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
10 
12 {
16  public function execute()
17  {
18  $this->_initAction()->_addContent(
19  $this->_view->getLayout()->createBlock(\Magento\CheckoutAgreements\Block\Adminhtml\Agreement::class)
20  );
21  $this->_view->getPage()->getConfig()->getTitle()->prepend(__('Terms and Conditions'));
22  $this->_view->renderLayout();
23  }
24 }
__()
Definition: __.php:13