Error: Call to undefined method Drupal\Core\Field\BaseFieldDefinition::get() in Drupal\entity_browser\Plugin\Field\FieldWidget\EntityReferenceBrowserWidget->settingsForm()
That's because it is using get('uuid') to get a unique value for the HTML ID, but that only exists when it is a config entity.
It should use getUniqueIdentifier() instead, which exists exactly for this reason.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | entity-browser-uuid-3071075-2.patch | 860 bytes | berdir |
Comments
Comment #2
berdirComment #3
oknateThanks for posting this fix. This is a duplicate of #3068557: Fatal error when using the entity browser widget on a base field although this one has a better issue summary.
Comment #4
oknate