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-configurable-product
Controller
Adminhtml
Product
Wizard.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\ConfigurableProduct\Controller\Adminhtml\Product
;
7
8
use
Magento\Framework\App\Action\HttpGetActionInterface
;
9
use
Magento\Framework\App\Action\HttpPostActionInterface
as HttpPostActionInterface;
10
use
Magento\Backend\App\Action
;
11
use
Magento\Framework\Controller\ResultFactory
;
12
use
Magento\Catalog\Controller\Adminhtml\Product\Builder
;
13
use
Magento\Backend\App\Action\Context
;
14
18
class
Wizard
extends
Action
implements HttpPostActionInterface,
HttpGetActionInterface
19
{
25
const
ADMIN_RESOURCE
=
'Magento_Catalog::products'
;
26
30
protected
$productBuilder
;
31
36
public
function
__construct
(
Context
$context,
Builder
$productBuilder
)
37
{
38
parent::__construct($context);
39
$this->productBuilder =
$productBuilder
;
40
}
41
45
public
function
execute
()
46
{
47
$this->productBuilder->build($this->
getRequest
());
48
50
$resultLayout = $this->resultFactory->create(
ResultFactory::TYPE_LAYOUT
);
51
return
$resultLayout;
52
}
53
}
Magento\ConfigurableProduct\Controller\Adminhtml\Product\Wizard
Definition:
Wizard.php:18
Magento\ConfigurableProduct\Controller\Adminhtml\Product\Wizard\__construct
__construct(Context $context, Builder $productBuilder)
Definition:
Wizard.php:36
Magento\Framework\App\Action\HttpGetActionInterface
Definition:
HttpGetActionInterface.php:16
Magento\Catalog\Controller\Adminhtml\Product\Builder
Definition:
Builder.php:18
Magento\Framework\Controller\ResultFactory
Definition:
ResultFactory.php:17
Magento\ConfigurableProduct\Controller\Adminhtml\Product\Wizard\$productBuilder
$productBuilder
Definition:
Wizard.php:30
Magento\Framework\App\Action\AbstractAction\getRequest
getRequest()
Definition:
AbstractAction.php:60
Magento\Framework\App\ActionInterface\execute
execute()
Magento\Backend\App\Action
Definition:
Action.php:17
Magento\ConfigurableProduct\Controller\Adminhtml\Product\Wizard\ADMIN_RESOURCE
const ADMIN_RESOURCE
Definition:
Wizard.php:25
Magento\Backend\App\Action\Context
Definition:
Context.php:25
Magento\Framework\App\Action\HttpPostActionInterface
Definition:
HttpPostActionInterface.php:16
Magento\ConfigurableProduct\Controller\Adminhtml\Product
Definition:
AddAttribute.php:7
Magento\Framework\Controller\ResultFactory\TYPE_LAYOUT
const TYPE_LAYOUT
Definition:
ResultFactory.php:26
Magento\Backend\App\Action
Definition:
Context.php:6