@@ -348,6 +348,7 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity
348
348
* @param Product\Type\Factory $_typeFactory
349
349
* @param \Magento\Catalog\Model\Product\LinkTypeProvider $linkTypeProvider
350
350
* @param \Magento\CatalogImportExport\Model\Export\RowCustomizerInterface $rowCustomizer
351
+ * @param array $dateAttrCodes
351
352
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
352
353
*/
353
354
public function __construct (
@@ -366,7 +367,8 @@ public function __construct(
366
367
\Magento \Catalog \Model \ResourceModel \Product \Attribute \CollectionFactory $ attributeColFactory ,
367
368
\Magento \CatalogImportExport \Model \Export \Product \Type \Factory $ _typeFactory ,
368
369
\Magento \Catalog \Model \Product \LinkTypeProvider $ linkTypeProvider ,
369
- \Magento \CatalogImportExport \Model \Export \RowCustomizerInterface $ rowCustomizer
370
+ \Magento \CatalogImportExport \Model \Export \RowCustomizerInterface $ rowCustomizer ,
371
+ array $ dateAttrCodes = []
370
372
) {
371
373
$ this ->_entityCollectionFactory = $ collectionFactory ;
372
374
$ this ->_exportConfig = $ exportConfig ;
@@ -381,6 +383,7 @@ public function __construct(
381
383
$ this ->_typeFactory = $ _typeFactory ;
382
384
$ this ->_linkTypeProvider = $ linkTypeProvider ;
383
385
$ this ->rowCustomizer = $ rowCustomizer ;
386
+ $ this ->dateAttrCodes = array_merge ($ this ->dateAttrCodes , $ dateAttrCodes );
384
387
385
388
parent ::__construct ($ localeDate , $ config , $ resource , $ storeManager );
386
389
0 commit comments