Needs work
Project:
Bean (for Drupal 7)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Jul 2011 at 17:12 UTC
Updated:
1 May 2012 at 21:07 UTC
Jump to comment: Most recent file
Comments
Comment #1
mrfelton commentedJust found this http://drupal.org/project/blockcache_alter. However it may still be good to allow people to specify the default type of caching for custom block types.
Comment #2
indytechcook commentedCheckout this patch. It's pretty much untested
Comment #3
indytechcook commentedClosing in favor of #1164056: Add module to override core block add
Comment #4
indytechcook commentedI'm reopening this because it's a small step in the core block add replacement.
Comment #5
alexweber commentedPatch doesn't apply anymore against 7.x-1.x
Comment #6
alexweber commentedPatch re-rolled to apply cleanly on 7.x-1.x, not sure whether it works at all.
Comment #7
barrapontoCan't we provide an optional dependency on http://drupal.org/project/blockcache_alter ? Maybe we can integrate the interface, but I don't think we should reinvent the wheel (unless core blocks are the wheel).
Comment #8
indytechcook commented@barraponto,
I do like the idea of not repeating ourselves. I took a look at blockcache_alter and it just does form_alters on the block configure form. There really isn't an API to hook into.
@alexweber, THanks!
Comment #9
alexweber commented@indytechcook np! :) The patch actually applies but doesn't work as advertised, it seems the original patch was a work in progress...