PluginSelectorInterface's form methods need matching $form and $form_state parameters. This is not documented as such, which can lead people to believe passing the global/complete form state is fine.

When #2537732: PluginFormInterface must have access to the complete $form_state (introduce SubFormState for embedded forms) is committed, it will provide an out-of-the-box solution to implementing this interface.

CommentFileSizeAuthor
#2 plugin_2745645_2.patch1.76 KBxano

Comments

Xano created an issue. See original summary.

xano’s picture

Status: Active » Needs review
StatusFileSize
new1.76 KB
xano’s picture

Status: Needs review » Fixed

  • Xano committed 03b37aa on 8.x-2.x
    Issue #2745645 by Xano: Document that PluginSelectorInterface's form...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.