Changing directory structure for Composer compatibility
This commit is contained in:
17
etc/di.xml
Normal file
17
etc/di.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0"?>
|
||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
|
||||
|
||||
<!-- Plugin for the main Template model -->
|
||||
<type name="Amasty\PDFCustom\Model\Template">
|
||||
<plugin name="shopkeeper_pdf_cost_template"
|
||||
type="Shopkeeper\PDFingPO\Plugin\Amasty\TemplatePlugin"/>
|
||||
</type>
|
||||
|
||||
<!-- Plugin for the Filter if it exists -->
|
||||
<type name="Magento\Email\Model\Template\Filter">
|
||||
<plugin name="shopkeeper_pdf_cost_filter"
|
||||
type="Shopkeeper\PDFingPO\Plugin\Amasty\FilterPlugin"/>
|
||||
</type>
|
||||
|
||||
</config>
|
||||
Reference in New Issue
Block a user