laryn's picture

How can I add a custom contextual link when extending the Block class?

Accepted answer

This Drupal documentation is helpful here.

Here's an example where I got it working using both hook_menu() and hook_block_view_alter().

Comments