Functions - 7.x-1.x - examples

Primary tabs

Title Deprecated File name Summary Direct uses Strings
token_example_example_form_submit token_example/token_example.module Submit callback; store the submitted values into storage.
token_example_menu token_example/token_example.module Implements hook_menu().
token_example_tokens token_example/token_example.tokens.inc Implements hook_tokens().
token_example_token_info token_example/token_example.tokens.inc Implements hook_token_info().
trigger_example_form trigger_example/trigger_example.module Trigger example test form. 1
trigger_example_form_submit trigger_example/trigger_example.module Submit handler for the trigger_example_form().
trigger_example_help trigger_example/trigger_example.module Implements hook_help().
trigger_example_menu trigger_example/trigger_example.module Implements hook_menu().
trigger_example_triggersomething trigger_example/trigger_example.module Trigger: triggersomething. Run actions associated with an arbitrary event. 1
trigger_example_trigger_info trigger_example/trigger_example.module Implements hook_trigger_info().
trigger_example_trigger_info_alter trigger_example/trigger_example.module Implements hook_trigger_info_alter().
trigger_example_user_login trigger_example/trigger_example.module Implements hook_user_login().
vertical_tabs_example_form_alter vertical_tabs_example/vertical_tabs_example.module Implements hook_form_alter().
vertical_tabs_example_menu vertical_tabs_example/vertical_tabs_example.module Implements hook_menu().
xmlrpc_example_alter_form xmlrpc_example/xmlrpc_example.module Present a form to enable/disable the code implemented in hook_xmlrpc_alter. 1
xmlrpc_example_client_add_submit xmlrpc_example/xmlrpc_example.module Submit handler to query xmlrpc_example.add. 1
xmlrpc_example_client_form xmlrpc_example/xmlrpc_example.module Returns a form array to take input for two arguments. 1
xmlrpc_example_client_multicall_submit xmlrpc_example/xmlrpc_example.module Submit a multicall request. 1
xmlrpc_example_client_request_methods_submit xmlrpc_example/xmlrpc_example.module Submit handler to query system.listMethods. 1
xmlrpc_example_client_subtract_submit xmlrpc_example/xmlrpc_example.module Submit handler to query xmlrpc_example.subtract. 1
xmlrpc_example_info xmlrpc_example/xmlrpc_example.module A simple landing-page information function. 1
xmlrpc_example_menu xmlrpc_example/xmlrpc_example.module Implements hook_menu().
xmlrpc_example_server_form xmlrpc_example/xmlrpc_example.module Returns form array to configure the service options. 1
xmlrpc_example_xmlrpc xmlrpc_example/xmlrpc_example.module Implements hook_xmlrpc().
xmlrpc_example_xmlrpc_alter xmlrpc_example/xmlrpc_example.module Implements hook_xmlrpc_alter().
_action_example_page action_example/action_example.module A simple page to explain to the developer what to do. 1
_ajax_example_get_first_dropdown_options ajax_example/ajax_example.module Helper function to populate the first dropdown. 2
_ajax_example_get_second_dropdown_options ajax_example/ajax_example.module Helper function to populate the second dropdown. 2
_batch_example_get_http_requests batch_example/batch_example.module Utility function to count the HTTP requests in a session variable. 1
_batch_example_update_http_requests batch_example/batch_example.module Utility function to increment HTTP requests in a session variable. 2
_field_example_page field_example/field_example.module A simple page to explain to the developer what to do. 1
_field_permission_example_page field_permission_example/field_permission_example.module A simple page to explain to the developer what to do. 1
_filter_example_filter_foo_process filter_example/filter_example.module Foo filter process callback. 1
_filter_example_filter_foo_settings filter_example/filter_example.module Settings callback for foo filter. 1
_filter_example_filter_foo_tips filter_example/filter_example.module Filter tips callback for foo filter. 1
_filter_example_filter_time_prepare filter_example/filter_example.module Time filter prepare callback. 1
_filter_example_filter_time_process filter_example/filter_example.module Time filter process callback. 1
_filter_example_filter_time_tips filter_example/filter_example.module Filter tips callback for time filter. 1
_filter_example_information filter_example/filter_example.module Simply returns a little bit of information about the example. 1 1
_form_example_element_info form_example/form_example_elements.inc Utility function providing data for form_example_element_info(). 1
_form_example_element_theme form_example/form_example_elements.inc Called by form_example_theme() to provide hook_theme(). 1
_form_example_steps form_example/form_example_wizard.inc Returns the list of steps and their associated forms. 1
_menu_example_basic_instructions menu_example/menu_example.module Page callback for the simplest introduction menu entry. 1
_menu_example_mappings menu_example/menu_example.module Utility function to provide mappings from integers to some strings. 2
_menu_example_menu_page menu_example/menu_example.module Page callback for use with most of the menu entries. 1
_menu_example_simple_title_callback menu_example/menu_example.module Title callback to rewrite the '/user' menu link. 1
_node_example_installed_fields node_example/node_example.module Define the fields for our content type. 1
_node_example_installed_instances node_example/node_example.module Define the field instances for our content type. 2
_rdf_example_installed_fields rdf_example/rdf_example.install Return a structured array defining the fields created by this content type. 1
_rdf_example_installed_instances rdf_example/rdf_example.install Return a structured array defining the instances for this content type. 1

Other projects