$ grep -rn views_preprocess_page .
./core/modules/views/views.module:362: * @see views_preprocess_page()

Comments

Chi created an issue. See original summary.

deepalim13’s picture

vishalkhode’s picture

StatusFileSize
new613 bytes

Updated file. Please review patch.

vishalkhode’s picture

Status: Active » Needs review
msankhala’s picture

I can confirm the patch applies cleanly and removes the non-existing function views_preprocess_page() mention in @see. Waiting for test bot to pass. once passed ready for RTBC.

msankhala’s picture

Status: Needs review » Reviewed & tested by the community
alexpott’s picture

Status: Reviewed & tested by the community » Needs review

#2352155: Remove HtmlFragment/HtmlPage replaced views_preprocess_page() with views_preprocess_html() and #2476947: Convert "title" page element into a block removed views_preprocess_html()

So should we replace the @see with anything?

alexpott’s picture

Status: Needs review » Reviewed & tested by the community

I guess the replacement is the call to views_add_contextual_links() in \Drupal\views\Routing\ViewPageController::handle() - so there's no need for an @see there because it's a direct call so IDEs and api docs builders can work that out anyway.

alexpott’s picture

Crediting @Chi for creating the issue. Other reviewers if you can look at the history like #7/ #8 then you would be credited. You can use git log -S to do this, for example git log -S "function views_preprocess_page"

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed 3b6be4d7c7 to 8.6.x and eb2b500938 to 8.5.x. Thanks!

  • alexpott committed 3b6be4d on 8.6.x
    Issue #2978596 by visshu007, Chi: views_add_contextual_links()...

  • alexpott committed eb2b500 on 8.5.x
    Issue #2978596 by visshu007, Chi: views_add_contextual_links()...
msankhala’s picture

Sorry late on this. I am fine if I am not credited on this. I am happy @visshu007 got his first d8 commit mention.

Status: Fixed » Closed (fixed)

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