When adding custom settings via views[settings] in a library’s .info file, they aren’t exported in the corresponding View. Adding to d3_views_plugin_style_d3::option_definition() seems to fix this.

CommentFileSizeAuthor
#4 2832802.diff622 bytesdrumm
#2 2832802.diff612 bytesdrumm

Comments

drumm created an issue. See original summary.

drumm’s picture

Status: Active » Needs review
StatusFileSize
new612 bytes

This patch uses PHP 5.4 array syntax, let me know if you’d like a 5.3-compatible version.

asherry’s picture

I'm not opposed to using 5.4+ syntax, but it's probably better to keep it consistent as the rest of the module doesn't use that. We'd also have to add the 5.4 php dependency into the .info file which seems kind of like overkill for something optional.

drumm’s picture

StatusFileSize
new622 bytes

Here is a copy with the old array syntax.

  • asherry committed ce4b0d4 on 7.x-1.x authored by drumm
    Issue #2832802 by drumm: Settings not exported
    
asherry’s picture

Assigned: drumm » Unassigned
Status: Needs review » Fixed
Issue tags: +7.x-1.0-alpha4

Thanks Neil, I also added in a fix for the tabbing on the line above it.

Status: Fixed » Closed (fixed)

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