Example: Render
Same name in other branches
- 3.x modules/render_example/render_example.module \render_example
- 4.0.x modules/render_example/render_example.module \render_example
Demonstrate how render arrays are arranged and how they can be altered. This alters blocks and the page to show the actual render array that is being used to create each item.
See also
Parent topics
File
-
render_example/
render_example.module, line 8
Functions
Title Sort descending | File name | Summary |
---|---|---|
render_example_add_hr | render_example/ |
Alter the rendered output after all other theming. |
render_example_add_prefix | render_example/ |
A '#post_render' function to add a little markup onto the end markup. |
render_example_add_suffix | render_example/ |
A '#pre_render' function. |
render_example_arrays | render_example/ |
Provides a number of render arrays and show what they do. |
render_example_cache_expensive | render_example/ |
A potentially expensive function. |
render_example_cache_pre_render | render_example/ |
A '#pre_render' function. |
render_example_change_to_ol | render_example/ |
Adds a #type to the element before it gets rendered. |
render_example_demo_form | render_example/ |
Builds the form that offers options of what items to show. |
render_example_embedded_form | render_example/ |
Utility function to build a named form given a set of form elements. |
render_example_info | render_example/ |
Simple basic information about the module; an entry point. |
render_example_menu | render_example/ |
Implements hook_menu(). |
render_example_page_alter | render_example/ |
Implements hook_page_alter(). |
render_example_theme | render_example/ |
Implements hook_theme(). |
theme_render_array | render_example/ |
Themes the render array (from the demonstration page). |
theme_render_example_add_div | render_example/ |
Wraps a div around the already-rendered #children. |
theme_render_example_add_notes | render_example/ |
Wraps a div and add a little text after the rendered #children. |
theme_render_example_aggregate | render_example/ |
A #theme function. |
Classes
Title Sort descending | File name | Summary |
---|---|---|
RenderExampleTestCase | render_example/ |
Functional tests for the Render Example module. |