Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
block.module
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Nov 2012 at 19:18 UTC
Updated:
29 Jul 2014 at 21:35 UTC
#1535868: Convert all blocks into plugins does not include a CacheDecorator.
This is because right now, blocks are created on the fly under several different circumstances:
All of the above would need to call something like drupal_container()->get('plugin.manager.block')->clearCachedDefinitions();
Comments
Comment #1
xjmComment #2
xjmComment #3
xjmThe following blocks will need the definition cache invalidated when there are changes in the data that provides their definitions:
Comment #4
xjmThis has now been added to the main patch.