Don't document the state.event function aliases
Fix incorrect function name in event state module example
Merge pull request #15017 from whiteinge/doc-state-event

Documentation cleanup and fix for the event state module