After upgrading a site I am working on to the new 1.3 release, I'm getting a bunch of notices on my node forms:
Notice: Undefined index: type in Drupal\pluginformalter\Plugin\InlineEntityFormAlterManager->getInstance() (line 45 of modules/contrib/pluginformalter/src/Plugin/InlineEntityFormAlterManager.php)
It appears that is coming from the check on $definition['type'] . I think type is set in the InlineEntityFormAlter but not the standard FormAlter annotation definition.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | pluginformalter-type_warning-3316945-2.patch | 668 bytes | floydm |
Comments
Comment #2
floydm commentedThe attached patch makes the notices go away, but I'm not sure if this is the right solution or if type needs to get set in all definitions.
Comment #3
floydm commentedComment #4
floydm commentedComment #6
aronne commentedHi @floydm
and thank you for the patch.