Updated: Comment #N

Problem/Motivation

We have this like in ViewsPluginManager:

$this->setCacheBackend($cache_backend, $language_manager, "views:{$type}_plugins");

We don't really need that. Plus ViewsHandlerManager just has the prefix of "views$handler_type".

Proposed resolution

Remove it!

Remaining tasks

User interface changes

API changes

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue category Task, because it "just" improves consistency
Issue priority Minor, because the effect is really small
Disruption Not disruptive at all, people with sites will just fetch from the different named cache entry, fail, and rebuild it, done.
CommentFileSizeAuthor
#7 2226629-7.patch645 bytesrpayanm
#1 2226629.patch657 bytesdamiankloip

Comments

damiankloip’s picture

Issue summary: View changes
StatusFileSize
new657 bytes
damiankloip’s picture

Issue summary: View changes
damiankloip’s picture

Status: Active » Needs review
dawehner’s picture

Mh I kinda like these prefixes so it is quite clear what this cache entry is about, if you ever would look it up in the db for example.

damiankloip’s picture

ok, then we should go the other way, and be explicit all the time?

jhedstrom’s picture

Category: Bug report » Task
Priority: Normal » Minor
Status: Needs review » Needs work
Issue tags: +Needs reroll

Reclassifying--not strictly a bug.

rpayanm’s picture

Status: Needs work » Needs review
StatusFileSize
new645 bytes
rpayanm’s picture

Issue tags: -Needs reroll
damiankloip’s picture

Do we want this? I am for, dawehner is against :)

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Damian knows much more about caching than I do, so let's be fair here.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 7: 2226629-7.patch, failed testing.

Status: Needs work » Needs review

dawehner queued 7: 2226629-7.patch for re-testing.

jhedstrom’s picture

Status: Needs review » Reviewed & tested by the community

Back to RTBC.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 7: 2226629-7.patch, failed testing.

Status: Needs work » Needs review

jhedstrom queued 7: 2226629-7.patch for re-testing.

Status: Needs review » Needs work

The last submitted patch, 7: 2226629-7.patch, failed testing.

Status: Needs work » Needs review

jhedstrom queued 7: 2226629-7.patch for re-testing.

Status: Needs review » Needs work

The last submitted patch, 7: 2226629-7.patch, failed testing.

Status: Needs work » Needs review

isntall queued 7: 2226629-7.patch for re-testing.

Status: Needs review » Needs work

The last submitted patch, 7: 2226629-7.patch, failed testing.

Status: Needs work » Needs review

rpayanm queued 7: 2226629-7.patch for re-testing.

jhedstrom’s picture

Status: Needs review » Reviewed & tested by the community

And again.

alexpott’s picture

Status: Reviewed & tested by the community » Needs work

This issue is a minor task so we need to outline how it fits within the allowable Drupal 8 beta criteria. Can someone add Drupal 8 beta phase evaluation template to the issue summary.

This patch has zero disruption and increases consistency between ViewsHandlerManager and ViewsPluginManager.

dawehner’s picture

Issue summary: View changes
Status: Needs work » Reviewed & tested by the community

Sure

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Thanks @dawehner.

Committed f98c96a and pushed to 8.0.x. Thanks!

  • alexpott committed f98c96a on 8.0.x
    Issue #2226629 by damiankloip, rpayanm: Remove '_plugins' suffix from...

Status: Fixed » Closed (fixed)

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