Closed (fixed)
Project:
DraggableViews
Version:
2.1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2025 at 17:12 UTC
Updated:
21 Nov 2025 at 18:59 UTC
Jump to comment: Most recent
DraggableViews includes one hook, hook_draggableviews_join_withargs(), though others are proposed and have been useful in previous versions (#3518723: Add hook draggableviews_sorted after view is saved).
Documenting all hooks in a standard file, draggableviews.api.php will make hooks more discoverable.
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
calebtr commentedThe merge request pipeline indicates failures, but they do not look related to the code changes here.
Comment #4
istryker commentedI cannot find that hook in 2.1.x. I believe you are referencing D7
Comment #5
calebtr commentedIn the 2.1.x branch,
hook_draggableviews_join_withargs()is invoked fromDrupal\draggableviews\Plugin\views\join\WithArgs::buildJoin()on line 29:Comment #6
calebtr commentedComment #8
istryker commentedAwesome, done! I remove the example as Drupal.org specifies there shouldn't examples....though I added it to the comment.