Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
With the addition of per plugin config for the behavior plugins some of them will not need to show any field in the behavior form that is displayed while editing paragraphs.
With the current implementation a behavior plugin MUST provide at least one field for the behavior form, which won't be always the case, otherwise there will be a white display of error.
Proposed resolution
Allow behavior plugins not adding any behavior field.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#6 | allow_behavior_plugins-2843047-6.patch | 2.76 KB | johnchque |
#6 | allow_behavior_plugins-2843047-6-test-only.patch | 3.59 KB | johnchque |
#2 | allow_behavior_plugins-2843047-2.patch | 847 bytes | johnchque |
Comments
Comment #2
johnchqueThis actually fixes the bug, but we need tests.
Comment #3
johnchqueComment #4
miro_dietikerCommitted to allow us move forward with other issues...
Let's make sure we have test coverage for every bug we discover in future...
Comment #6
johnchqueAdding tests, the test-only patch reverts the change to show that it was broken before the fix. :)
Comment #10
miro_dietikerComment #11
miro_dietiker