Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-checkout-agreements
Controller
Adminhtml
Agreement
Index.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\CheckoutAgreements\Controller\Adminhtml\Agreement
;
8
9
use
Magento\Framework\App\Action\HttpGetActionInterface
as HttpGetActionInterface;
10
11
class
Index
extends
\Magento\CheckoutAgreements\Controller\Adminhtml\Agreement
implements
HttpGetActionInterface
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
}
Magento\CheckoutAgreements\Controller\Adminhtml\Agreement
Definition:
Agreement.php:12
Magento\Framework\App\Action\HttpGetActionInterface
Definition:
HttpGetActionInterface.php:16
Magento\CheckoutAgreements\Controller\Adminhtml\Agreement\Index\execute
execute()
Definition:
Index.php:16
Magento\CheckoutAgreements\Controller\Adminhtml\Agreement\_initAction
_initAction()
Definition:
Agreement.php:46
__
__()
Definition:
__.php:13
Magento\CheckoutAgreements\Controller\Adminhtml\Agreement\Index
Definition:
Index.php:11
Magento
Magento\CheckoutAgreements\Controller\Adminhtml\Agreement
Definition:
Delete.php:7