Problem/Motivation
There is an exception when adding a new storage entity type if field_ui is disabled.
Error: Class "Drupal\field_ui\FieldUI" not found in storage_form_storage_type_add_form_submit() (line 90 of modules/contrib/storage/storage.module).
Steps to reproduce
- Disable field_ui
- Create a new storage entity type
- Save
Proposed resolution
Add a check if field_ui module exists.
Issue fork storage-3304864
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
matthieuscarset commentedComment #6
mxh commentedSorry for the very late reply. Looks good, committed. Thanks!