Updated: Comment #N

Problem/Motivation

On ViewExecutable there are two methods for returning data about the various plugins a view uses. One if getPluginTypes() and the other is viewsHandlerTypes(). This is not very consistent. Let's rename.

Proposed resolution

Rename viewsHandlerTypes method to getHandlerTypes(). This is more in line with getPluginTypes, and other naming in core.

Remaining tasks

Do it.

User interface changes

None

API changes

ViewExecutable::viewsHandlerTypes() will be renaming, although this is mostly going to be used by views itself.

Comments

damiankloip’s picture

StatusFileSize
new20.19 KB

Status: Needs review » Needs work

The last submitted patch, 1: 2219661.patch, failed testing.

damiankloip’s picture

Status: Needs work » Needs review
StatusFileSize
new20.85 KB
new678 bytes

Thanks phpstorm.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

This should be pretty straightforward.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 3: 2219661-3.patch, failed testing.

damiankloip’s picture

3: 2219661-3.patch queued for re-testing.

dawehner’s picture

Status: Needs work » Reviewed & tested by the community

really?

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 3: 2219661-3.patch, failed testing.

damiankloip’s picture

Status: Needs work » Needs review
StatusFileSize
new20.88 KB

Rerolled.

Status: Needs review » Needs work

The last submitted patch, 9: 2219661-9.patch, failed testing.

damiankloip’s picture

HEAD is failing?

damiankloip’s picture

Status: Needs work » Needs review

9: 2219661-9.patch queued for re-testing.

Status: Needs review » Needs work

The last submitted patch, 9: 2219661-9.patch, failed testing.

dawehner’s picture

Issue tags: +Needs reroll
damiankloip’s picture

Status: Needs work » Needs review
Issue tags: -Needs reroll
StatusFileSize
new21.5 KB
new1.31 KB

Gah, config dependencies stuffs happened.

ParisLiakos’s picture

Status: Needs review » Reviewed & tested by the community

consistency++

catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.x, thanks!

  • Commit 021900b on 8.x by catch:
    Issue #2219661 by damiankloip: Rename ViewExecutable::viewsHandlerTypes...

Status: Fixed » Closed (fixed)

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