Problem/Motivation

#3559976: Support Layout plugin configuration added form capability.

Sadly, the layouts *without* forms now do not work.

We're unable to have a layout that uses our custom PintoLayout class (which needs to implement PluginWithFormsInterface) while having some layouts that use this class which do not have a form.

This is because PluginFormFactory::createInstance throws an exception even though hasFormClass says something hasnt got a form class. Kinda suss.

Command icon 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

dpi created an issue. See original summary.

dpi’s picture

Issue summary: View changes

  • dpi committed d593e2fe on main
    feat: #3560219 Layouts without forms crash due to core bug
    
    By: dpi
    

  • dpi committed 89b8e32c on legacy
    feat: #3560219 Layouts without forms crash due to core bug (Drupal 10)...
dpi’s picture

Assigned: dpi » Unassigned
Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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