This is a #2512702: Implement configuration UI follow-up. Configuration UI was added to the module, but it is responsibility of individual plugins to provide forms for their part of configuration.
See \Drupal\entity_browser\Plugin\EntityBrowser\Display\IFrame for example implementation.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | 2671816-8-config-form.patch | 2.05 KB | DeFr |
| #10 | 2671816-6-8-interdiff.txt | 1.27 KB | DeFr |
Comments
Comment #2
slashrsm commentedComment #3
DeFr commentedLet's fix this, given that it produces a Fatal error that's rather easy to run into.
Comment #4
marcoscanoJust stumbled on #2721827: Configuration form is missing for the View selection display plugin with the same mis-configured plugin ("View selection display") and had the fatal error mentioned there.
I can confirm that without the patch the error is reproducible and that the patch in #3 solves the issue.
Marking as RTBC
Comment #5
DeFr commented@slashrsm pointed out that Media ID was only correct for Entity Browser used to reference media entities, and that the actual field name depends on the entity type, which is a good point.
Attached patch tweaks the wording a bit, to try to get something more generic while still providing examples.
Comment #8
DeFr commentedSame as #5 but without the parse error.
Comment #9
slashrsm commentedWhile this is needed for the view widget it is not in this case. Any view display can theoretically be used here.
Otherwise looks great. Thanks!
Comment #10
DeFr commentedLet's list all views display then. I think there's a few display in there that are going to cause some weirdness if chosen (Feed and REST Export for example will make the entity browser look strange), but as long as the site builder picks up an appropriate display it should work.
Comment #11
slashrsm commentedCommitted. Thanks!