Support webprofiler version 10
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3326270. -->
Reported by: [jurgenhaas](https://www.drupal.org/user/168924)
Related to !280
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>The eca_ui submodule provides the <code>webprofiler.eca_ui</code> service which is a DataCollector plugin, extended from the webprofiler module.</p>
<p>Now, webprofiler version 9 only runs with Drupal 8 and 9.</p>
<p>Webprofiler version 10 only runs with Drupal 10.</p>
<p>In version 10 they have changed a lot of class names, so that our DataCollector in ECA UI doesn't work with both, webprofiler 9 and 10.</p>
<p>Is there a way that we could provide 2 alternative implementations or work with class name aliases?</p>
issue