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
framework
View
Asset
PreProcessor
Passthrough.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Framework\View\Asset\PreProcessor
;
8
9
use
Magento\Framework\View\Asset\PreProcessorInterface
;
10
14
class
Passthrough
implements
PreProcessorInterface
15
{
22
public
function
process
(
Chain
$chain)
23
{
24
$chain->
setContentType
($chain->
getTargetContentType
());
25
}
26
}
Magento\Framework\View\Asset\PreProcessor\Passthrough
Definition:
Passthrough.php:14
Magento\Framework\View\Asset\PreProcessor
Magento\Framework\View\Asset\PreProcessor\Passthrough\process
process(Chain $chain)
Definition:
Passthrough.php:22
Magento\Framework\View\Asset\PreProcessor\Chain\getTargetContentType
getTargetContentType()
Definition:
Chain.php:167
Magento\Framework\View\Asset\PreProcessor\Chain\setContentType
setContentType($contentType)
Definition:
Chain.php:157
Magento\Framework\View\Asset\PreProcessorInterface
Definition:
PreProcessorInterface.php:14
Magento\Framework\View\Asset\PreProcessor\Chain
Definition:
Chain.php:18