Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to append or prepend action #5471

Open
wants to merge 1 commit into
base: 4.x
Choose a base branch
from

Conversation

alexndlm
Copy link
Contributor

  • Add a new parameter $isAppend to the add() and addBatchAction() methods.
  • By default, $isAppend = false, so no BC, actions still adding to the beginning of the list.
  • Changed the behaviour of methods prependAction() and appendAction() to match their naming.
    • Now, prependAction() actually add action at the list beginning.
    • Now, appendAction() actually add action at the list ending.
    • Fix method usages not to provide any BC.

@alexndlm
Copy link
Contributor Author

alexndlm commented Jul 3, 2023

@javiereguiluz would you please check?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant