Add moderation workflow support for context items like nodes
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3563361. -->
Reported by: [kristen pol](https://www.drupal.org/user/8389)
Related to !29
>>>
<p>[Tracker]<br>
<strong>Update Summary: </strong>Add moderation workflow support for context items like nodes<br>
<strong>Additional Collaborators: </strong> @username1, @username2<br>
<em>Metadata is used by the <a href="https://www.drupalstarforge.ai/" title="AI Tracker">AI Tracker.</a> Docs and additional fields <a href="https://www.drupalstarforge.ai/ai-dashboard/docs" title="AI Issue Tracker Documentation">here</a>.</em><br>
[/Tracker]</p>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Drupal CMS allows content to be moderated with a workflow. We've discussed allowing context items to also support this. This would allow content editors to work on context items before publishing them, as well as archiving context items.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Install the scheduler module and configure it for the context item content entity, and add the config to the install.</p>
<h3 id="summary-remaining-tasks">Target date or deadline</h3>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<ul>
<li>Install content moderation and add to dependencies</li>
<li>Configure as needed and export config</li>
<li>Save config to config/install</li>
<li>Review and test by uninstalling and reinstalling</li>
<li>Merge</li>
</ul>
<h3 id="summary-ai-usage">AI usage</h3>
<p>The code associated with this issue was developed with the use of AI tools.</p>
<p>A human worked with the AI tool to:</p>
<ul>
<li>Define the requirements</li>
<li>Spec out the plan and architecture</li>
<li>Create the code</li>
</ul>
<p>The human:</p>
<ul>
<li>Reviewed the code</li>
<li>Manually tested the functionality</li>
<li>Requested adjustments from AI</li>
<li>Adjust the code themselves when necessary</li>
</ul>
<p>Issue credit is still relevant for the human working with AI as they are using AI as a tool and not to do everything for them. It takes human expertise and oversight to use AI to solve these issues efficiently and effectively.</p>
> Related issue: [Issue #3563360](https://www.drupal.org/node/3563360)
issue