Skip to content

Commit

Permalink
Add IsFlowEventAware (#1617)
Browse files Browse the repository at this point in the history
  • Loading branch information
Isengo1989 authored Dec 17, 2024
1 parent 8f3eb4e commit fd41147
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ To create a custom flow action, firstly you have to make a plugin and install it
<?php declare(strict_types=1);
namespace Swag\ExamplePlugin\Core\Framework\Event;
use Shopware\Core\Framework\Event\FlowEventAware;
use Shopware\Core\Framework\Event\IsFlowEventAware;

#[IsFlowEventAware]
interface TagAware extends FlowEventAware
{
...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ class ExampleEvent extends Event implements CustomExampleDataAware
Aware:

```php
#[IsFlowEventAware]
interface CustomExampleDataAware extends FlowEventAware
{
public const CUSTOM_EXAMPLE_DATA = 'customExampleData';
Expand Down

0 comments on commit fd41147

Please sign in to comment.