1.3.1. Create Plugin Type Definition
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3538812. -->
Reported by: [d34dman](https://www.drupal.org/user/751698)
>>>
<ul>
<li>In <strong>flowdrop</strong> module, create a new plugin type <code>FlowDropNodeProcessor</code>.</li>
<li>Define interface <code>FlowDropNodeProcessorInterface</code> with methods:
<ul>
<li><<del>process(array $context): array – Core execution method for node logic.</del></li>
<li><del>getInputPorts(): array – Defines accepted input connections.</del></li>
<li><del>getOutputPorts(): array – Defines available output connections.</del></li>
</ul>
</li>
<li>Use <code>@FlowDropNodeProcessor</code> attribute for discovery, allowing PHP 8+ attribute-based plugin registration.</li>
<li>Leverage Drupal’s <code>DefaultPluginManager</code> and <code>AnnotatedClassDiscovery</code> pattern.</li>
</ul>
issue