ui_patterns icon indicating copy to clipboard operation
ui_patterns copied to clipboard

Add Display Suite dynamic fields source

Open christianwiedemann opened this issue 8 years ago • 3 comments

Display suites "dynamic fields" and "block fields" do not appear as "source field"

christianwiedemann avatar Aug 30 '17 12:08 christianwiedemann

A big +1 for this. UI Patterns and Display Suite Chained Fields would make a great combo for site builders, reducing the need for custom preprocess code.

aleksip avatar Mar 12 '18 14:03 aleksip

I noticed that a custom ds token field was also not recognized as a pattern source field - would this issue address that functionality as well?

jesconstantine avatar Nov 25 '18 00:11 jesconstantine

I answered my own question by testing out #136 - I see my ds token field as a source field when I configure a pattern field group -- thanks!

image

I don't see the value coming through in the template yet, though. Got this PHP Notice:

Notice: Undefined index: dynamic_token_field in Drupal\ui_patterns_field_group\Plugin\field_group\FieldGroupFormatter\PatternFormatter->preRender() (line 84 of modules/contrib/ui_patterns/modules/ui_patterns_field_group/src/Plugin/field_group/FieldGroupFormatter/PatternFormatter.php).

jesconstantine avatar Nov 26 '18 15:11 jesconstantine