Skip to content

Commit

Permalink
Merge pull request #7 from adamzero1/main
Browse files Browse the repository at this point in the history
feat: including 'AWS Event Bridge' in 'Notifiers'
  • Loading branch information
gowrizrh authored Sep 18, 2024
2 parents 876c522 + 3c1c2e6 commit 2c9d2fa
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php
namespace MageOS\AsyncEventsAWS\Plugin\MageOS\AsyncEventsAdminUi;

use MageOS\AsyncEventsAdminUi\Ui\Source\Notifiers as Subject;

class UiSourceNotifiers
{
public function afterToOptionArray(Subject $subject, $result)
{
$result[] = [
'value' => 'event_bridge',
'label' => 'AWS Event Bridge',
];
return $result;
}
}
4 changes: 4 additions & 0 deletions MageOS/AsyncEventsAWS/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@
</argument>
</arguments>
</type>

<type name="MageOS\AsyncEventsAdminUi\Ui\Source\Notifiers">
<plugin name="mageos_async_events_aws" type="MageOS\AsyncEventsAWS\Plugin\MageOS\AsyncEventsAdminUi\UiSourceNotifiers" sortOrder="1" disabled="false" />
</type>
</config>

0 comments on commit 2c9d2fa

Please sign in to comment.