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-cms
Controller
Adminhtml
Page
NewAction.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Cms\Controller\Adminhtml\Page
;
8
9
class
NewAction
extends
\Magento\Backend\App\Action
10
{
16
const
ADMIN_RESOURCE
=
'Magento_Cms::save'
;
17
21
protected
$resultForwardFactory
;
22
27
public
function
__construct
(
28
\
Magento
\Backend\
App
\
Action
\
Context
$context,
29
\
Magento
\Backend\Model\View\Result\ForwardFactory
$resultForwardFactory
30
) {
31
$this->resultForwardFactory =
$resultForwardFactory
;
32
parent::__construct($context);
33
}
34
40
public
function
execute
()
41
{
43
$resultForward = $this->resultForwardFactory->create();
44
return
$resultForward->forward(
'edit'
);
45
}
46
}
Magento\Framework\App
Magento\Cms\Controller\Adminhtml\Page\NewAction
Definition:
NewAction.php:9
Magento\Cms\Controller\Adminhtml\Page\NewAction\__construct
__construct(\Magento\Backend\App\Action\Context $context, \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory)
Definition:
NewAction.php:27
Magento\Framework\App\ActionInterface\execute
execute()
Magento\Cms\Controller\Adminhtml\Page\NewAction\$resultForwardFactory
$resultForwardFactory
Definition:
NewAction.php:21
Magento\Backend\App\Action
Definition:
Action.php:17
Magento
Magento\Backend\App\Action\Context
Definition:
Context.php:25
Magento\Cms\Controller\Adminhtml\Page
Definition:
Delete.php:7
Magento\Cms\Controller\Adminhtml\Page\NewAction\ADMIN_RESOURCE
const ADMIN_RESOURCE
Definition:
NewAction.php:16