Add ActionsRegistry.get_action() for convenient action lookup.

Review Request #14662 — Created Oct. 31, 2025 and updated

Information

Review Board
release-7.1.x

Reviewers

The new get_action() takes the action's ID and returns either the
instance or None, depending on whether the ID matched an action in the
registry. This is less verbose than the .get() call, which was
performed in various places throughout the codebase.

All current call sites have been updated to use the new method.

Unit tests pass.

Summary ID
Add ActionsRegistry.get_action() for convenient action lookup.
The new `get_action()` takes the action's ID and returns either the instance or `None`, depending on whether the ID matched an action in the registry. This is less verbose than the `.get()` call, which was performed in various places throughout the codebase. All current call sites have been updated to use the new method.
993452a4766caa559637b92089719040ae813449
Checks run (2 succeeded)
flake8 passed.
JSHint passed.