Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In accordance to changes of Entity Browser we need to use entityTypeManager instead of entityManager: #2639706: Replace the entity manager with the entity type manager and remove unused imports in code base.
Error message for googlers:
Error: Call to a member function getStorage() on null in Drupal\file_entity\Plugin\Field\FieldWidget\FileEntityBrowser->settingsSummary() (line 88 of modules/contrib/file_entity/src/Plugin/Field/FieldWidget/FileEntityBrowser.php).
Comment | File | Size | Author |
---|---|---|---|
#6 | 2769717-06-settings_summary_fix_STANDALONE.patch | 683 bytes | dmsmidt |
#3 | 2769717-03-settings_summary_fix.patch | 713 bytes | dmsmidt |
Comments
Comment #2
dmsmidtComment #3
dmsmidtComment #6
dmsmidtPatch #3 only works in combination with #2769695: Update/Rename "FileEntityBrowser" class to correctly extend "EntityReferenceBrowserWidget" instead of "EntityReference", which is the preferred way to patch.
Attach patch is to test without the other patch (#2769695), but with the reference fix of it.
Comment #10
BerdirAnd is now a duplicate of #2767185: [Follow-up] Deprecate file/image field widgets which were moved in the Entity browser.