1.2.1. Define Workflow Entity
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3538798. -->
Reported by: [d34dman](https://www.drupal.org/user/751698)
>>>
<ul>
<li>Create a <code>Workflow</code> content entity in <strong>flowdrop_workflow</strong> module.</li>
<li>Fields to include:
<ul>
<li><code>id</code> (machine name, primary key)</li>
<li><code>label</code> (human-readable name)</li>
<li><code>status</code> (enabled/disabled)</li>
<li><code>definition</code> (JSON for node graph representation)</li>
</ul>
</li>
<li>Provide CRUD UI using <code>EntityListBuilder</code> and <code>EntityForm</code>.</li>
<li>Implement <code>hook_entity_type_build()</code> if extra storage handlers are needed for future workflow versioning.</li>
</ul>
issue