Problems with detecting and linking in module invokes
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3059981. -->
Reported by: [jhodgdon](https://www.drupal.org/user/155601)
>>>
<p>I noticed today that at least some module invocations are not being recognized and/or displayed on api.drupal.org.</p>
<p>Examples:<br>
<a href="https://api.drupal.org/api/drupal/modules%21aggregator%21aggregator.api.php/function/hook_aggregator_parse/7.x">https://api.drupal.org/api/drupal/modules%21aggregator%21aggregator.api.php/function/hook_aggregator_parse/7.x</a></p>
<p>This shows 1 invocation, but there's another one that isn't displayed in<br>
<a href="https://api.drupal.org/api/drupal/modules%21aggregator%21aggregator.module/function/aggregator_refresh/7.x">https://api.drupal.org/api/drupal/modules%21aggregator%21aggregator.module/function/aggregator_refresh/7.x</a><br>
You can see that the call to<br>
module_invoke($parser, 'aggregator_parse', $feed)<br>
makes aggregator_parse into a link to the hook, but on the hook page, it isn't shown as an invocation.</p>
<p>Also in Drupal 8.x branches, if you look up various hooks, you cannot see where they are invoked, even though they definitely are being invoked. </p>
<p>So, this needs to be investigated.</p>
> Related issue: [Issue #2217105](https://www.drupal.org/node/2217105)
issue