Remove BlockComponent::componentIdFromBlockPluginId
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3561267. -->
Reported by: [phenaproxima](https://www.drupal.org/user/205645)
Related to !387
>>>
<h3 id="overview">Overview</h3>
<p>See <a href="https://git.drupalcode.org/project/canvas/-/merge_requests/378#note_634026">https://git.drupalcode.org/project/canvas/-/merge_requests/378#note_634026</a></p>
<p><code>\Drupal\canvas\Plugin\Canvas\ComponentSource\BlockComponent::componentIdFromBlockPluginId()</code> is a useless alias for <code>\Drupal\canvas\Plugin\Canvas\ComponentSource\BlockComponentDiscovery::getComponentConfigEntityId()</code>. </p>
<h3 id="proposed-resolution">Proposed resolution</h3>
<p>Replace calls to <code>BlockComponent::componentIdFromBlockPluginId()</code> with <code>BlockComponentDiscovery::getComponentConfigEntityId()</code>.</p>
<h3 id="ui-changes">User interface changes</h3>
<p>None.</p>
issue