3 users online. Create an account or sign in to join them.Users
Working with EventPreSaveFilter Delegate
This is an open discussion with 3 replies, filed under General.
Search
Hmmm, $context['event']::getSource() works but according to the docs $context['event'] should be a string, but it's an object. Either way, we can get the source.
Docs need an update, or is Symphony code incorrect?
P.S. glad brendo made getSource() static! Cheers mate.
The docs are wrong, $context['event'] in the EventPreSaveFilter delegate context should return an Event object, not a string.
Create an account or sign in to comment.
I need to determine field type of each of the posted values. Any creative ideas? My first thought was to figure out how to get the section ID but that doesn't seem to be passed in
$context.