Skip to content

Commit

Permalink
Remove usage of deprecated block event listener
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Jan 26, 2024
1 parent 9251c3c commit 2db2b63
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 18 deletions.
12 changes: 12 additions & 0 deletions src/Resources/config/app/config.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
imports:
- { resource: "@SetonoSyliusCalloutPlugin/Resources/config/grids/setono_sylius_callout_admin_callout.yaml" }

sylius_ui:
events:
setono_sylius_callout.admin.callout.create.javascripts:
blocks:
setono_sylius_callout_admin_javascript:
template: "@SetonoSyliusCalloutPlugin/Admin/_javascripts.html.twig"

setono_sylius_callout.admin.callout.update.javascripts:
blocks:
setono_sylius_callout_admin_javascript:
template: "@SetonoSyliusCalloutPlugin/Admin/_javascripts.html.twig"
1 change: 0 additions & 1 deletion src/Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<imports>
<import resource="services/batch_iterator.xml"/>
<import resource="services/block_event_listener.xml"/>
<import resource="services/checker.xml"/>
<import resource="services/command.xml"/>
<import resource="services/controller.xml"/>
Expand Down
17 changes: 0 additions & 17 deletions src/Resources/config/services/block_event_listener.xml

This file was deleted.

0 comments on commit 2db2b63

Please sign in to comment.