Functions - 7.x-1.x - examples

Primary tabs

Title Deprecated File name Summary Direct uses Strings
simpletest_example_node_info simpletest_example/simpletest_example.module Implements hook_node_info().
simpletest_example_permission simpletest_example/simpletest_example.module Implements hook_permission().
simpletest_example_test_node_view simpletest_example/tests/simpletest_example_test.module Implements hook_node_view().
simpletest_example_update_7001 simpletest_example/simpletest_example.install Adds a body field to the simpletest_example node type.
tabledrag_example_get_tree tabledrag_example/tabledrag_example_parent_form.inc Recursively adds to the $itemtree array, ordered by parent/child/weight. 1
tabledrag_example_help tabledrag_example/tabledrag_example.module Implements hook_help().
tabledrag_example_install tabledrag_example/tabledrag_example.install Implements hook_install().
tabledrag_example_menu tabledrag_example/tabledrag_example.module Implements hook_menu().
tabledrag_example_parent_form tabledrag_example/tabledrag_example_parent_form.inc Build the parent-child example form. 1
tabledrag_example_parent_form_submit tabledrag_example/tabledrag_example_parent_form.inc Submit callback for the tabledrag_example_parent_form form.
tabledrag_example_parent_get_data tabledrag_example/tabledrag_example_parent_form.inc Retrives the tree structure from database, and sorts by parent/child/weight. 1
tabledrag_example_schema tabledrag_example/tabledrag_example.install Implements hook_schema().
tabledrag_example_simple_form tabledrag_example/tabledrag_example_simple_form.inc Build the tabledrag_simple_example_form form. 1
tabledrag_example_simple_form_submit tabledrag_example/tabledrag_example_simple_form.inc Submit callback for the tabledrag_example_simple_form form.
tabledrag_example_theme tabledrag_example/tabledrag_example.module Implements hook_theme().
tabledrag_example_uninstall tabledrag_example/tabledrag_example.install Implements hook_uninstall().
tablesort_example_help tablesort_example/tablesort_example.module Implements hook_help().
tablesort_example_install tablesort_example/tablesort_example.install Implements hook_install().
tablesort_example_menu tablesort_example/tablesort_example.module Implements hook_menu().
tablesort_example_page tablesort_example/tablesort_example.module Build the table render array. 1
tablesort_example_schema tablesort_example/tablesort_example.install Implements hook_schema().
tablesort_example_uninstall tablesort_example/tablesort_example.install Implements hook_uninstall().
template_preprocess_contextual_links_example_object contextual_links_example/contextual_links_example.module Process variables for contextual-links-example-object.tpl.php.
template_preprocess_theming_example_text_form theming_example/theming_example.module Implements template_preprocess().
theme_example_node_color node_example/node_example.module A custom theme function.
theme_form_example_checkbox form_example/form_example_elements.inc Themes a custom checkbox.
theme_form_example_inline_form_element form_example/form_example_elements.inc Formats child form elements as inline elements.
theme_image_example_colorize_summary image_example/image_example.module Formats a summary of an image colorize effect.
theme_image_example_image image_example/image_example.pages.inc Theme function displays an image rendered using the specified style.
theme_nodeapi_example_rating nodeapi_example/nodeapi_example.module A custom theme function.
theme_queue_items queue_example/queue_example.module Themes the queue display.
theme_render_array render_example/render_example.module Themes the render array (from the demonstration page).
theme_render_example_add_div render_example/render_example.module Wraps a div around the already-rendered #children.
theme_render_example_add_notes render_example/render_example.module Wraps a div and add a little text after the rendered #children.
theme_render_example_aggregate render_example/render_example.module A #theme function.
theme_tabledrag_example_parent_form tabledrag_example/tabledrag_example_parent_form.inc Theme callback for the tabledrag_example_parent_form form.
theme_tabledrag_example_simple_form tabledrag_example/tabledrag_example_simple_form.inc Theme callback for the tabledrag_example_simple_form form.
theme_theming_example_content_array theming_example/theming_example.module Theme a simple content array.
theme_theming_example_list theming_example/theming_example.module Theming a simple list.
theme_theming_example_select_form theming_example/theming_example.module Theming a simple form.
theming_example_list_page theming_example/theming_example.module The list page callback. 1
theming_example_menu theming_example/theming_example.module Implements hook_menu().
theming_example_page theming_example/theming_example.module Initial landing page explaining the use of the module. 1
theming_example_select_form theming_example/theming_example.module A simple form that displays a select box and submit button. 1
theming_example_select_form_submit theming_example/theming_example.module Submit handler for the select form.
theming_example_text_form theming_example/theming_example.module A simple form that displays a textfield and submit button. 1
theming_example_text_form_submit theming_example/theming_example.module Submit handler for the text form.
theming_example_theme theming_example/theming_example.module Implements hook_theme().
token_example_entity_info_alter token_example/token_example.module Implements hook_entity_info_alter().
token_example_example_form token_example/token_example.module Form builder; display lists of supported token entities and text to tokenize. 1

Other projects