function contextual_links_example_block_info in Examples for Developers 7
Implements hook_block_info().
Related topics
File
- contextual_links_example/
contextual_links_example.module, line 177 - Shows how to use Drupal's contextual links functionality.
Code
function contextual_links_example_block_info() {
// Define the block that will display our module's content.
$blocks['example']['info'] = t('Contextual links example block');
return $blocks;
}