Skip to content

How to cancel an action using a plugin? #1945

Discussion options

You must be logged in to vote

This was a leftover from the past, it was removed due to the conflict of having multiple $onAction() not being able to decide whether an action should be canceled or not (4dc1f1b).

Technically, one should be able to add the property in a plugin (similar to devtools plugin wrapping each action) and do the check within the wrapped action to completely skip calling the action. That would prevent you from changing actions at all.

I updated the docs at 5bc44d3 (in the docs branch).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ikar1234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants