Drupal\Core\Plugin\PluginFormInterface was added to core since the search plugin patch was first devised. Because that wasn't available during the initial plugin conversion, one-off form methods were added to SearchInterface instead.
We should remove the one-off form methods and use this now-standard interface for greater consistency.
User interface changes
- Two methods are removed from
- NodeSearch and SearchExtraTypeSearch methods are changed to conform to PluginFormInterface
- SearchSettingsForm only invokes form methods on plugins that implement PluginFormInterface
PASSED: [[SimpleTest]]: [MySQL] 58,837 pass(es).
PASSED: [[SimpleTest]]: [MySQL] 58,845 pass(es).
PASSED: [[SimpleTest]]: [MySQL] 59,365 pass(es).