Install
Works with Drupal: 8.xUsing Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
83.97 KB
MD5: 203aafa33c5d2c5e0edc92c779c1bca7
SHA-1: 4a50b3916ff56609fdc1df5ef2ba9fe35ea6c7e1
SHA-256: 606d1c7551a299070f6ba56599901bdc283e80351ace79fb28012d3e00cd5e0b
Download zip
171.96 KB
MD5: 9823634f656baf077ef0cd913696eb09
SHA-1: 5cb3d944a5cc10b0fa8cab28a454ee027bb764fa
SHA-256: 1ddcb3869fd39eacecff754316eced1570942b648599288fe8f3ae80b5acc194
Release notes
Entity browser 8.x-1.0-alpha7
This is one of the biggest releases of Entity browser so far (in terms of bigger changes). There are some changes that break backward compatibility:
- Function signatures of the display plugins chnaged. All modules that are providing widget plugins that implement
\Drupal\entity_browser\WidgetInterfaceshould chase the changes. Media entity image 8.x-1.2, Media entity audio 8.x-1.0-beta3 and DropzoneJS 8.x-1.0-alpha2 already include updated widgets. If you are using any of those modules you need to update them in order for your site to keep functioning correctly. - Entity browser is now displayed on parent forms via the form element. This affects Entity embed module integration and you should update to Entity embed 8.x-1.0-alpha3 if you are relying on this integration.
- Entity reference field widget class that comes with this module was renamed. Any modules that extend this widget should update their code. We are aware of the two such modules (File entity browser and File entity) and since their widgets for file and image fields were almost exactly the same we decided to merge them and move them to thi module. Widgets in those modules are now deprecated.
- Main submit button is now responsibility of widget plugins. To keep existing behaviour in any custom widget plugins you need to extend
\Drupal\entity_browser\WidgetBaseand rely on itsgetForm()function to provide the submit button.
A lot of significant changes happened in Javascript parts of the module too. Before reporting bugs please make sure that the browser isn't caching old versions of Javascript files.
If there are no critical bugs reported in two weeks since this release we're going to release first beta version of this module.
Changes since Entity browser 8.x-1.0-alpha6
- #2773043 by mtodor: Add missing library dependency.
- #2776317 by NerOcrO: Replace t() calls with $this->t().
- #2773043 by Leksat: Update the field widget after the Edit modal is closed
- #2768585 by s_leu, slashrsm: Add option for prepending of newly selected items.
- #2774661 by slashrsm, Berdir: Consistently use underscores for iframe names
- #2766907 by marcoscano: Fix View Selection display.
- #2769941 by samuel.mortenson: Modal display's "open_modal" button should not execute submit callback.
- #2769401 by phenaproxima, samuel.mortenson: Add relationship support to the Views bulk select field.
- #2767861 by slashrsm, harivenu_zyxware: Remove Upload::extractFiles() in favour of prepareEntities().
- #2766657 by slashrsm, samuel.mortenson: Make widgets resposnsible for the main submit button.
- #2624874 by slashrsm, Primsi, samuel.mortenson: Provide the Entity browser render element.
- #2767373 by slashrsm, samuel.mortenson: FileBrowserWidget improperly limits validation errors on the remove button
- #2763505 by samuel.mortenson, slashrsm, Berdir: Move file_entity and file_browser's Field Widget for Files and Images to Entity Browser
- #2766663 by Chandan Chaudhary, Ashish.Dalvi: Rename "EntityReference" widget class to "EntityReferenceBrowserWidget".
- #2766099 by slashrsm, marcoscano, sokru: Allow iFrame displays created trough the UI to have 100% width.
- #2766531 by slashrsm, samuel.mortenson: Allow users to toggle the visibility of their selection in the multi-step selection display
- #2764613 by slashrsm, marcoscano: Allow setting the form mode when adding an entity form widget to the entitybrowser widget. pt. 2
- #2766093 by marcoscano: Fix typo on user interface text of Browser Wizard UI (iFrame).
- #2764613 by slashrsm, marcoscano: Allow setting the form mode when adding an entity form widget to the entitybrowser widget.
- #2366335 by samuel.mortenson, Primsi, slashrsm, Berdir: Support defining conditions.