Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Just like with hook_nodeapi() and other hooks, we should remove $op from hook_link().
Comments
Comment #1
XanoI meant $type. My bad.
Comment #2
Pasquallehook_link has been removed from Drupal 7
https://www.drupal.org/update/modules/6/7#node_links