[ticket/11241] Add events & var for extensions to dropdown.

PHPBB3-11241