Problem/Motivation
When upgrade on Drupal 11 with wsdata 3.0.4, I am encountering this issue :
PHP Fatal error: Declaration of Drupal\wsdata_field\Form\WSFieldAddFieldForm::buildForm(array $form, Drupal\Core\Form\FormStateInterface $form_state, $entity_type_id = null, $bundle = null) must be compatible with Drupal\field_ui\Form\FieldStorageAddForm::buildForm(array $form, Drupal\Core\Form\FormStateInterface $form_state, $entity_type_id = null, $bundle = null, $selected_field_type = null, $display_as_group = 'false')
Steps to reproduce
Upgrade core in drupal 11 and run the command drush updatedb : [warning] Drush command terminated abnormally
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3612034-buildform-signature-compat.patch | 760 bytes | dkmishra |
Issue fork wsdata-3612034
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 #4
dkmishra commentedPatch attached.
Comment #6
spotzero commentedLooks good, merged.
Thanks a lot!
Comment #8
dkmishra commentedHi @spotzero, thanks for committing the fix.
I noticed I wasn't credited for this issue. Would you mind adding issue credit for my contribution if you think it's appropriate?
Thank you!
Comment #9
spotzero commentedDone
Comment #10
dkmishra commentedThank you!