We need to be able to add custom fields and not always show all possible attributes for the current field.
Also the allowed attributes change dependant on what type of tag we're outputting.

Here's an example to a use case scenario: #2008692: setting the semantic_panels_attributes variable?

Comments

timbrandin’s picture

Issue summary: View changes

Log message?

ergophobe’s picture

Issue summary: View changes

Something that would go a long way to solving the problem in the use case you link to, would be simply to have a variable_set() call in the .install file.

That would make the variable available and thus easy to override in the settings.php file.

One could then later create a UI for that, but to have the UI you need the variable in the DB, so that seems like a simple first step.

It sounds like you're envisioning something more complex which would allow setting available attributes on a field-by-field basis, so my idea doesn't help there. If you're interested in my little incremental improvement, though, I'd be happy to create a patch.