Load the ContextNormalizer as a service in tools
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3546571. -->
Reported by: [marcus_johansson](https://www.drupal.org/user/385947)
Related to !185
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>The ContextNormalizer has a service and it will start loading dependency injections from 1.2.x. See <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai/issues/3544954" title="Status: Closed (fixed)">#3544954: Allow ContextDefinitionNormalizer::normalize properties to be hook/altered.</a></span>.</p>
<p>However in the tools that override the base, its currently being loaded using direct class instantiation. We should move this to be created via the container.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>* Switch over to the issue above.<br>
* Try to use one of the tools.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Switch to load the class via the container in all tools.</p>
issue