This example demonstrates how to implement contextual links.

Parent topics

File

modules/examples/contextual_links_example/contextual_links_example.module, line 7
Hooks implementations for the Contextual Links Example module.

Functions

Namesort descending Location Description
contextual_links_example_block_info modules/examples/contextual_links_example/contextual_links_example.module Implements hook_block_info().
contextual_links_example_block_view modules/examples/contextual_links_example/contextual_links_example.module Implements hook_block_view().
contextual_links_example_menu modules/examples/contextual_links_example/contextual_links_example.module Implements hook_menu().
contextual_links_example_node_action_form modules/examples/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 modules/examples/contextual_links_example/contextual_links_example.module Submit handler for contextual_links_example_node_action_form().
contextual_links_example_object_edit_form modules/examples/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 modules/examples/contextual_links_example/contextual_links_example.module Submit handler for contextual_links_example_object_edit_form().
contextual_links_example_object_load modules/examples/contextual_links_example/contextual_links_example.module Menu loader callback for the object defined by this module.
contextual_links_example_object_page modules/examples/contextual_links_example/contextual_links_example.module Menu callback; displays an object defined by this module on its own page.
contextual_links_example_theme modules/examples/contextual_links_example/contextual_links_example.module Implements hook_theme().
contextual_links_overview_page modules/examples/contextual_links_example/contextual_links_example.module Menu callback; displays a listing of objects defined by this module.
template_preprocess_contextual_links_example_object modules/examples/contextual_links_example/contextual_links_example.module Process variables for contextual-links-example-object.tpl.php.

Classes

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