I did this as part of #1788266: Access the different views related properties on the right object, but it wasn't complete and should be its own issue.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tim.plunkett’s picture

Status: Active » Needs review
Issue tags: +Novice, +VDC
FileSize
44.83 KB

Here's what I had so far.

Status: Needs review » Needs work

The last submitted patch, views-1792454-1.patch, failed testing.

dawehner’s picture

Lars Toomre’s picture

Looking at the patch in #1, I see several &$view pass by reference were changed to pass by value. Was that intentional?

I also noticed that a number of docblocks are missing and/or incomplete. I believe that the type hints should be added to the appropriate @param directives as well.

tim.plunkett’s picture

This is PHP 5, objects don't need to be passed by reference.
The docblocks are missing in the original code, that's a separate issue and unrelated to this patch, which will be big enough on its own.

Lars Toomre’s picture

Thanks @tim. Is there an issue for the missing docblocks? I did not see one when I looked. Would you like me to open such as issue?

tim.plunkett’s picture

Opening and issue and submitting a patch would be great.

Lars Toomre’s picture

@tim What sandbox and which branch should I use to roll a path for missing docblocks from? I need to the edits locally and then upload a patch. Thanks in advance.

dawehner’s picture

It is all happening in the 8.x-3.x branch of views itself

tim.plunkett’s picture

Status: Needs work » Needs review
FileSize
44.86 KB

Getting back to the actual issue...

dawehner’s picture

Status: Needs review » Fixed

Committed with the knowledge to have to do another rerole. I hate wasting time :(

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