Skip to main content
6 events
when toggle format what by license comment
Sep 1, 2019 at 14:55 vote accept kenS
Aug 31, 2019 at 13:19 comment added Clive Yes I think that sounds fair. I’ve seen plenty of examples like what you’re describing in contrib/custom land too
Aug 31, 2019 at 1:29 comment added kenS Could be more correctly rewritten as "Implements hook_preprocess_HOOK() for views_view templates" then?
Aug 31, 2019 at 1:28 comment added kenS Thanks for this detailed and helpful answer! Looking in core I do see a lot of "implements hook_preprocess_HOOK() for xxx templates" comments. I think part of my confusion has been coming from the fact that in the project I'm working on all of the equivalent comments take the forms "implements hook_preprocess_xxx" instead. It also seems common in contrib modules. Is it accurate that docblocks like this one: ``` /** * Implements hook_preprocess_views_view(). */ function media_entity_browser_preprocess_views_view(&$variables) { // code... ```
Aug 30, 2019 at 19:17 history edited Clive CC BY-SA 4.0
deleted 38 characters in body
Aug 30, 2019 at 18:49 history answered Clive CC BY-SA 4.0