Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
additionalData
andcancelable
not documented as optional parameters, while they have default values.originalEvent
not documented as optional, and doesn't have default value. However, judging the contents of the function, it's actually also an optional parameter.
Proposed resolution
Document additionalData
and cancelable
as optional. Add default value for originalEvent
and document it as optional.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork a11y_autocomplete-3247142
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
lauriiiComment #5
nod_Comment #7
nod_