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-downloadable
Observer
InitOptionRendererObserver.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Downloadable\Observer
;
7
8
use
Magento\Framework\Event\ObserverInterface
;
9
10
class
InitOptionRendererObserver
implements
ObserverInterface
11
{
18
public
function
execute
(\
Magento
\Framework\Event\Observer
$observer
)
19
{
20
$block
=
$observer
->getBlock();
21
$block
->addOptionsRenderCfg(
'downloadable'
, \
Magento
\Downloadable\Helper\Catalog\Product\Configuration::class);
22
23
return
$this;
24
}
25
}
Magento\Framework\Event\ObserverInterface
Definition:
ObserverInterface.php:16
Magento\Downloadable\Observer\InitOptionRendererObserver\execute
execute(\Magento\Framework\Event\Observer $observer)
Definition:
InitOptionRendererObserver.php:18
$block
$block
Definition:
block.php:8
Magento\Downloadable\Observer
Definition:
InitOptionRendererObserver.php:6
$observer
$observer
Definition:
second_website_with_second_currency.php:38
Magento
Magento\Downloadable\Observer\InitOptionRendererObserver
Definition:
InitOptionRendererObserver.php:10