Functions - 7.x-1.x - examples

Primary tabs

Title Deprecated File name Summary Direct uses Strings
node_example_form node_example/node_example.module Implements hook_form().
node_example_help node_example/node_example.module Implements hook_help().
node_example_menu node_example/node_example.module Implements hook_menu().
node_example_node_info node_example/node_example.module Implements hook_node_info().
node_example_node_type_insert node_example/node_example.module Implements hook_node_type_insert().
node_example_page node_example/node_example.module Callback that builds our content and returns it to the browser. 1
node_example_theme node_example/node_example.module Implements hook_theme().
pager_example_help pager_example/pager_example.module Implements hook_help().
pager_example_menu pager_example/pager_example.module Implements hook_menu().
pager_example_page pager_example/pager_example.module Build the pager query. 1
page_example_arguments page_example/page_example.module A more complex page callback that takes arguments. 1
page_example_description page_example/page_example.module Constructs a descriptive page. 1
page_example_help page_example/page_example.module Implements hook_help().
page_example_menu page_example/page_example.module Implements hook_menu().
page_example_permission page_example/page_example.module Implements hook_permission().
page_example_simple page_example/page_example.module Constructs a simple page. 1
queue_example_add_remove_form queue_example/queue_example.module Form generator for managing the queue. 1
queue_example_add_remove_form_claim queue_example/queue_example.module Submit function for the "claim" button. 1
queue_example_add_remove_form_clear_queue queue_example/queue_example.module Submit handler for clearing/deleting the queue. 1
queue_example_add_remove_form_delete queue_example/queue_example.module Submit function for "Claim and delete" button. 1
queue_example_add_remove_form_insert queue_example/queue_example.module Submit function for the insert-into-queue button. 1
queue_example_add_remove_form_run_cron queue_example/queue_example.module Submit function for "run cron" button. 1
queue_example_menu queue_example/queue_example.module Implements hook_menu().
queue_example_retrieve_queue queue_example/queue_example.module Retrieves the queue from the database for display purposes only. 2
queue_example_show_queue queue_example/queue_example.module Submit function for the show-queue button. 1
queue_example_theme queue_example/queue_example.module Implements hook_theme().
rdf_example_help rdf_example/rdf_example.module Implements hook_help().
rdf_example_install rdf_example/rdf_example.install Implements hook_install().
rdf_example_rdf_mapping rdf_example/rdf_example.module Implements hook_rdf_mapping().
rdf_example_rdf_namespaces rdf_example/rdf_example.module Implements hook_rdf_namespaces().
rdf_example_uninstall rdf_example/rdf_example.install Implements hook_uninstall().
render_example_add_hr render_example/render_example.module Alter the rendered output after all other theming. 1
render_example_add_prefix render_example/render_example.module A '#post_render' function to add a little markup onto the end markup. 1
render_example_add_suffix render_example/render_example.module A '#pre_render' function. 1
render_example_arrays render_example/render_example.module Provides a number of render arrays and show what they do. 1
render_example_cache_expensive render_example/render_example.module A potentially expensive function. 1
render_example_cache_pre_render render_example/render_example.module A '#pre_render' function. 1
render_example_change_to_ol render_example/render_example.module Adds a #type to the element before it gets rendered. 1
render_example_demo_form render_example/render_example.module Builds the form that offers options of what items to show. 1
render_example_embedded_form render_example/render_example.module Utility function to build a named form given a set of form elements. 1
render_example_info render_example/render_example.module Simple basic information about the module; an entry point. 1
render_example_menu render_example/render_example.module Implements hook_menu().
render_example_page_alter render_example/render_example.module Implements hook_page_alter().
render_example_theme render_example/render_example.module Implements hook_theme().
render_example_uninstall render_example/render_example.install Implements hook_uninstall().
simpletest_example_empty_mysql_date simpletest_example/simpletest_example.module A simple self-contained function used to demonstrate unit tests. 1
simpletest_example_form simpletest_example/simpletest_example.module Implements hook_form().
simpletest_example_install simpletest_example/simpletest_example.install Implements hook_install().
simpletest_example_menu simpletest_example/simpletest_example.module Implements hook_menu().
simpletest_example_node_access simpletest_example/simpletest_example.module Implements hook_node_access().

Other projects