Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Jan 2016 at 21:00 UTC
Updated:
22 Jan 2016 at 16:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dsnopekHere's a patch that implements this!
This way any display variant (for example, the PanelsDisplayVariant) can simply set its type to
ctools.block_display_variantand omit any of the configuration properties that come fromBlockDisplayVariant, like:This is exactly what I'm going to do on #2631854: Create PanelsDisplayManager and improve API for making working with PanelsDisplayVariants easier once this issue is committed (I've already tested that it works!).
Comment #3
eclipsegc commentedI think I'd prefer to see this as just ctools.block_plugin.*:
I feel like we should probably address this in #2646286: Remove selection logic/conditions from the BlockDisplayVariant
Comment #4
dsnopekThis patch addresses #3.1. Per IRC discussion, we're going to defer handling #3.2 to #2646286: Remove selection logic/conditions from the BlockDisplayVariant
Comment #6
dsnopekComment #8
dsnopekSilly testbot! You can't apply a patch after it's been committed! :-)