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-search
Controller
Adminhtml
Synonyms
NewAction.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Search\Controller\Adminhtml\Synonyms
;
7
8
class
NewAction
extends
\Magento\Backend\App\Action
9
{
15
const
ADMIN_RESOURCE
=
'Magento_Search::synonyms'
;
16
20
private
$forwardFactory;
21
28
public
function
__construct
(
29
\
Magento
\Backend\
App
\
Action
\
Context
$context,
30
\
Magento
\Backend\Model\View\Result\ForwardFactory $forwardFactory
31
) {
32
$this->forwardFactory = $forwardFactory;
33
parent::__construct($context);
34
}
35
41
public
function
execute
()
42
{
43
$forward = $this->forwardFactory->create();
44
$forward->forward(
'edit'
);
45
return
$forward;
46
}
47
}
Magento\Framework\App
Magento\Backend\App\Action
Definition:
Action.php:17
Magento\Search\Controller\Adminhtml\Synonyms\NewAction\__construct
__construct(\Magento\Backend\App\Action\Context $context, \Magento\Backend\Model\View\Result\ForwardFactory $forwardFactory)
Definition:
NewAction.php:28
Magento\Search\Controller\Adminhtml\Synonyms\NewAction\ADMIN_RESOURCE
const ADMIN_RESOURCE
Definition:
NewAction.php:15
Magento
Magento\Search\Controller\Adminhtml\Synonyms\NewAction\execute
execute()
Definition:
NewAction.php:41
Magento\Backend\App\Action\Context
Definition:
Context.php:25
Magento\Search\Controller\Adminhtml\Synonyms
Definition:
Delete.php:7
Magento\Search\Controller\Adminhtml\Synonyms\NewAction
Definition:
NewAction.php:8