Problem/Motivation

All the hook_views_analyze implementations are existing in the $module.views.inc files so they are only executed
once the file is load.

Proposed resolution

Add hook_views_analyze into hook_hook_info.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Needs review
Issue tags: -Needs tests
FileSize
6.53 KB
1.99 KB

This adds a test, and shows that the node implementation is broken.

Let's fix it.

aspilicious’s picture

Status: Needs review » Reviewed & tested by the community

Ok nice :)

tim.plunkett’s picture

Issue tags: -VDC

#1: drupal-1827286-1.patch queued for re-testing.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, drupal-1827286-1.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review

#1: drupal-1827286-1.patch queued for re-testing.

dawehner’s picture

#1: drupal-1827286-1-test.patch queued for re-testing.

Status: Needs review » Needs work
Issue tags: +VDC

The last submitted patch, drupal-1827286-1.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review
FileSize
6.54 KB

Rerolled against the new protected properties on the View Entity.

damiankloip’s picture

FileSize
6.68 KB

Re rolled and just added a docblock for views_test_data.views.inc.

I think this is looking fine. I guess the only other implementation is in views_ui.module so it works. I guess we could move that too if we wanted to?

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Yeah let's fill a novice task to move this function to views.views.inc or even views_ui.views.inc

catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.x, thanks!

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