Problem/Motivation

When using Panelizer with Entitycache, Title module has a problem with setting the title in the correct language. See #2768857: Overwritten titles when using entitycache, panelizer and entity_translation modules for details. I believe the only way for Title module to solve this is to make sure that the entity title is always stored in the entity original language. For this we need a precache hook that allows us to make last modifications on the entity before saving it in the entitycache.

Proposed resolution

Provide hooks to change the entity just before and after caching it.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

czigor created an issue. See original summary.

czigor’s picture

Status: Active » Needs review
FileSize
2.15 KB
czigor’s picture

catch’s picture

czigor’s picture

Status: Needs review » Closed (duplicate)

Hmmm looks like it. I'll add my post-alter hook in that issue then.