Problem:
The Drupal.registerLpbMoveError function provides an API for registering functions that are used by dragula's accepts callback to prevent components from being dropped into particular containers.
Similarly, developers should have a way to register functions that are used by dragula's moves callback.
(See https://github.com/bevacqua/dragula for usage of both accepts and moves callbacks.)
Proposed solution:
Modify Drupal.registerLpbMoveError to accept a second parameter, specifying the callback to use (i.e. "accepts" or "moves"), with "accepts" being the default to support backwards compatibility.
Issue fork layout_paragraphs-3474006
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 #4
justin2pin commented