Get the event source

This replaces PR #13752