You are here

Example: Contextual Links in Examples for Developers 7

Example of implementing contextual links.

Parent topics

File

contextual_links_example/contextual_links_example.module, line 10
Shows how to use Drupal's contextual links functionality.

Functions

Namesort descending Location Description
contextual_links_example_block_info contextual_links_example/contextual_links_example.module Implements hook_block_info().
contextual_links_example_block_view contextual_links_example/contextual_links_example.module Implements hook_block_view().
contextual_links_example_menu contextual_links_example/contextual_links_example.module Implements hook_menu().
contextual_links_example_node_action_form contextual_links_example/contextual_links_example.module Form callback; display the form for performing an example action on a node.
contextual_links_example_node_action_form_submit contextual_links_example/contextual_links_example.module Submit handler for contextual_links_example_node_action_form().
contextual_links_example_object_edit_form contextual_links_example/contextual_links_example.module Form callback; display the form for editing our module's content.
contextual_links_example_object_edit_form_submit contextual_links_example/contextual_links_example.module Submit handler for contextual_links_example_object_edit_form().
contextual_links_example_object_load contextual_links_example/contextual_links_example.module Menu loader callback for the object defined by this module.
contextual_links_example_object_page contextual_links_example/contextual_links_example.module Menu callback; displays an object defined by this module on its own page.
contextual_links_example_theme contextual_links_example/contextual_links_example.module Implements hook_theme().
contextual_links_overview_page contextual_links_example/contextual_links_example.module Menu callback; displays a listing of objects defined by this module.
template_preprocess_contextual_links_example_object contextual_links_example/contextual_links_example.module Process variables for contextual-links-example-object.tpl.php.

Classes

Namesort descending Location Description
ContextualLinksExampleTestCase contextual_links_example/contextual_links_example.test Functional tests for the contextual_links_example module.