martin-wessel-topfloor / Field-Markup

A Drupal 7 module that extends Display Suite by exposing the Expert field markup settings in a JSON file.
0 stars 0 forks source link

Add type: modifier #1

Open martin-wessel-topfloor opened 9 years ago

martin-wessel-topfloor commented 9 years ago

Much like bundle: and view-mode:, type: will allow targeting a field when it's a certain type. This will be most useful in templates but could be useful for specific field definitions in edge cases.

martin-wessel-topfloor commented 9 years ago

Actually, make it field-type. The other target keys will be view-mode and content-type to make things clearer in the JSON