- Issue created by @D34dMan
- 🇩🇪Germany D34dMan Hamburg
Following is the status report.
- ✅ In flowdrop module, create a new plugin type FlowDropNodeProcessor.
- ❌ Define interface FlowDropNodeProcessorInterface with methods:
- ❌process(array $context): array – Core execution method for node logic.
- ❌getInputPorts(): array – Defines accepted input connections.
- ❌getOutputPorts(): array – Defines available output connections.
- ✅Use @FlowDropNodeProcessor attribute for discovery, allowing PHP 8+ attribute-based plugin registration.
- ✅Leverage Drupal’s DefaultPluginManager and AnnotatedClassDiscovery pattern.While trying to define FlowDropNodeProcessorInterface to be as close to the LangFlowComponent interface, I noticed that it doesn't fit to the model I have in mind. so for now am going with a slightly different interface which exposes input and output as schema.
Marking this as done.