Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
PdfAction.php
Go to the documentation of this file.
1 <?php
7 
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 }
$config
Definition: fraud_order.php:17