Skip to content

Commit 12accc2

Browse files
committed
ACP2E-3529: Feature Request for Export function activity to be included in the action log output
1 parent 2d62730 commit 12accc2

File tree

1 file changed

+5
-2
lines changed
  • app/code/Magento/ImportExport/Controller/Adminhtml/Export

1 file changed

+5
-2
lines changed

app/code/Magento/ImportExport/Controller/Adminhtml/Export/Export.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2014 Adobe
4+
* All Rights Reserved.
55
*/
66
declare(strict_types=1);
77

@@ -104,6 +104,9 @@ public function execute()
104104
);
105105

106106
$this->messagePublisher->publish('import_export.export', $dataObject);
107+
$this->_eventManager->dispatch('log_admin_export', [
108+
'exportObject' => $dataObject
109+
]);
107110
$this->messageManager->addSuccessMessage(
108111
__(
109112
'Message is added to queue, wait to get your file soon.'

0 commit comments

Comments
 (0)