Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 301636

[backport] node_views_analyze() is never executed because it is in the wrong inc file

$
0
0

Problem/Motivation

In views_hook_info() the hook_views_analyze is assigned to the group => 'views', therefore all the implementation of hook_views_analyze should be declared in a .module file or in a .views.inc file. Node module implementation of hook_views_analyze is located in node.views_execution.inc, so it never executed

Proposed resolution

Move node_views_analyze() in node.views.inc

Remaining tasks

Write a patch


Viewing all articles
Browse latest Browse all 301636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>