- 🇩🇰Denmark rimi@aarhus.dk
@dgaspara @nsalves, any hope that we can see this (or something similar) in the Webform REST module in the near future? It will make an excellent module even better.
- 🇵🇹Portugal nsalves
Hey everyone,
Had to do a couple of changes to make the patch work, some new responses were sent and there was need to change the order of the arguments in the dispatch method to support newer versions of Symfony. Nevertheless looks good and committed to the dev branch. A new release will be issue soon - Status changed to Fixed
about 1 year ago 9:32pm 9 December 2023 Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
11 months ago 11:21am 17 January 2024 - 🇵🇱Poland Pozi
By using "Drupal\Component\EventDispatcher\Event" minimum version requirement should not be "^8.7.7 || ^9 || ^10" but "^9.1 || ^10".
Or we can introduce similar apporach as web/modules/contrib/commerce/src/EventBase.php commerce module took:
<?php namespace Drupal\commerce; // Drupal\Component\EventDispatcher\Event was introduced in Drupal core 9.1 to // assist with deprecations and the transition to Symfony 5. // @todo Remove this when core 9.1 is the lowest supported version. // @see https://www.drupal.org/project/commerce/issues/3192056 if (!class_exists('Drupal\Component\EventDispatcher\Event')) { class_alias('Symfony\Component\EventDispatcher\Event', 'Drupal\Component\EventDispatcher\Event'); } use Drupal\Component\EventDispatcher\Event; /** * Provides a base event class for Commerce events. */ class EventBase extends Event {}