Skip to content

Commit

Permalink
feat: including 'AWS Event Bridge' in 'Notifiers'
Browse files Browse the repository at this point in the history
  • Loading branch information
adamzero1 committed Aug 6, 2024
1 parent 876c522 commit d194075
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 d194075

Please sign in to comment.