Problem/Motivation
When I explored the InlineEntityFormSimple class in the FieldWidget folder, I found an error where the IDE (in my case PhpStorm) shows a critical warning "Member has protected visibility" on lines 52 and 56. Look at the image in the attachments.
Steps to reproduce
1. Open the InlineEntityFormSimple file, look at line 52 as an example, you will see a warning related to property visibility.
Proposed resolution
1. Just add the PhpStorm annotation.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | inline_entity_form-3318648-3.patch | 1002 bytes | chi |
| inline-form-warning.png | 36.33 KB | taraskorpach |
Comments
Comment #2
taraskorpachComment #3
chi commentedHopefully Drupal core will document this magic some day.
Comment #4
taraskorpachThanks, I had almost forgotten about this issue. The patch is successfully installed and the IDE error is gone. Setting RTBC here.