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
Block
NewAction.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Cms\Controller\Adminhtml\Block
;
8
9
use
Magento\Framework\App\Action\HttpGetActionInterface
as HttpGetActionInterface;
10
11
class
NewAction
extends
\Magento\Cms\Controller\Adminhtml\Block
implements HttpGetActionInterface
12
{
16
protected
$resultForwardFactory
;
17
23
public
function
__construct
(
24
\
Magento
\Backend\
App
\Action\
Context
$context,
25
\
Magento
\Framework\
Registry
$coreRegistry,
26
\
Magento
\Backend\Model\View\Result\ForwardFactory
$resultForwardFactory
27
) {
28
$this->resultForwardFactory =
$resultForwardFactory
;
29
parent::__construct($context, $coreRegistry);
30
}
31
37
public
function
execute
()
38
{
40
$resultForward = $this->resultForwardFactory->create();
41
return
$resultForward->forward(
'edit'
);
42
}
43
}
Magento\Framework\App
Magento\Cms\Controller\Adminhtml\Block\NewAction\$resultForwardFactory
$resultForwardFactory
Definition:
NewAction.php:16
Magento\Framework\App\Action\HttpGetActionInterface
Definition:
HttpGetActionInterface.php:16
Magento\Cms\Controller\Adminhtml\Block
Definition:
Delete.php:7
Magento\Cms\Controller\Adminhtml\Block\NewAction\__construct
__construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\Registry $coreRegistry, \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory)
Definition:
NewAction.php:23
Magento\Framework\App\ActionInterface\execute
execute()
Magento\Cms\Controller\Adminhtml\Block\NewAction
Definition:
NewAction.php:11
Magento\Cms\Controller\Adminhtml\Block
Definition:
Block.php:8
Magento
Magento\Backend\App\Action\Context
Definition:
Context.php:25
Magento\Framework\Registry
Definition:
Registry.php:18