Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There are currently 'pre' hooks for build, execute and render, in addition to overridable methods of the same. However, their post equivalents are not all present: only hook_views_post_render
exists. This is a request to create 'post' hooks and methods for both build and execute, as this will significantly simplify programming handlers that perform their functionality with PHP code instead of SQL.
Comment | File | Size | Author |
---|---|---|---|
#5 | 935388-more_hooks-5.patch | 3.29 KB | infojunkie |
#1 | 935388-more_hooks.patch | 1.5 KB | dawehner |
Comments
Comment #1
dawehnerHere is a patch
Comment #2
bojanz CreditAttribution: bojanz commentedEasy & nice.
Comment #3
infojunkieSorry for the delayed response and thanks dereine for the quick turnaround!
Comment #4
merlinofchaos CreditAttribution: merlinofchaos commentedI should not commit these without documentation.
Comment #5
infojunkieAdded documentation to docs/docs.php.
Comment #6
dawehnerLooks fine. What about creating a gci task for example code in docs/docs.php?
Comment #7
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted to all branches.