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-sales
Ui
Component
Control
PdfAction.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Sales\Ui\Component\Control
;
7
8
use
Magento\Ui\Component\Control\Action
;
9
13
class
PdfAction
extends
Action
14
{
20
public
function
prepare
()
21
{
22
$config
= $this->
getConfiguration
();
23
$context
= $this->
getContext
();
24
$config
[
'url'
] =
$context
->getUrl(
25
$config
[
'pdfAction'
],
26
[
'order_id'
=>
$context
->getRequestParam(
'order_id'
)]
27
);
28
$this->
setData
(
'config'
, (array)
$config
);
29
parent::prepare();
30
}
31
}
Magento\Ui\Component\Control\Action
Definition:
Action.php:14
$config
$config
Definition:
fraud_order.php:17
Magento\Sales\Ui\Component\Control\PdfAction\prepare
prepare()
Definition:
PdfAction.php:20
Magento\Ui\Component\AbstractComponent\setData
setData($key, $value=null)
Definition:
AbstractComponent.php:252
Magento\Ui\Component\AbstractComponent\getContext
getContext()
Definition:
AbstractComponent.php:71
Magento\Sales\Ui\Component\Control\PdfAction
Definition:
PdfAction.php:13
Magento\Sales\Ui\Component\Control
Definition:
PdfAction.php:6
Magento\Ui\Component\AbstractComponent\$context
$context
Definition:
AbstractComponent.php:31
Magento\Ui\Component\AbstractComponent\getConfiguration
getConfiguration()
Definition:
AbstractComponent.php:224