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.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\CheckoutAgreements\Controller\Adminhtml
;
7
8
use
Magento\Backend\App\Action
;
9
use
Magento\Backend\App\Action\Context
;
10
use
Magento\Framework\Registry
;
11
12
abstract
class
Agreement
extends
Action
13
{
19
const
ADMIN_RESOURCE
=
'Magento_CheckoutAgreements::checkoutagreement'
;
20
26
protected
$_coreRegistry
=
null
;
27
33
public
function
__construct
(
34
Context
$context,
35
Registry
$coreRegistry
36
) {
37
$this->_coreRegistry = $coreRegistry;
38
parent::__construct($context);
39
}
40
46
protected
function
_initAction
()
47
{
48
$this->_view->loadLayout();
49
$this->_setActiveMenu(
50
'Magento_CheckoutAgreements::sales_checkoutagreement'
51
)->_addBreadcrumb(
52
__
(
'Sales'
),
53
__
(
'Sales'
)
54
)->_addBreadcrumb(
55
__
(
'Checkout Conditions'
),
56
__
(
'Checkout Terms and Conditions'
)
57
);
58
return
$this;
59
}
60
}
Magento\CheckoutAgreements\Controller\Adminhtml\Agreement\ADMIN_RESOURCE
const ADMIN_RESOURCE
Definition:
Agreement.php:19
Magento\CheckoutAgreements\Controller\Adminhtml\Agreement
Definition:
Agreement.php:12
Magento\CheckoutAgreements\Controller\Adminhtml
Magento\CheckoutAgreements\Controller\Adminhtml\Agreement\_initAction
_initAction()
Definition:
Agreement.php:46
__
__()
Definition:
__.php:13
Magento\CheckoutAgreements\Controller\Adminhtml\Agreement\__construct
__construct(Context $context, Registry $coreRegistry)
Definition:
Agreement.php:33
Magento\Backend\App\Action
Definition:
Action.php:17
Magento\Backend\App\Action\Context
Definition:
Context.php:25
Magento\Framework\Registry
Definition:
Registry.php:18
Magento\Backend\App\Action
Definition:
Context.php:6
Magento\CheckoutAgreements\Controller\Adminhtml\Agreement\$_coreRegistry
$_coreRegistry
Definition:
Agreement.php:26