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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Needs review
FileSize
1.5 KB

Here is a patch

bojanz’s picture

Status: Needs review » Reviewed & tested by the community

Easy & nice.

infojunkie’s picture

Sorry for the delayed response and thanks dereine for the quick turnaround!

merlinofchaos’s picture

Status: Reviewed & tested by the community » Needs work

I should not commit these without documentation.

infojunkie’s picture

Status: Needs work » Needs review
FileSize
3.29 KB

Added documentation to docs/docs.php.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Looks fine. What about creating a gci task for example code in docs/docs.php?

merlinofchaos’s picture

Status: Reviewed & tested by the community » Fixed

Committed to all branches.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.