function theme_theming_example_basic_content in Examples for Developers 6
Basic theme function.
This is the default function to handle `theme('theming_example_basic_content', $content)`. Other functions can override this, for example in a custom theme. For example: `function mythemename_theming_example_basic_content($content = NULL)`
1 theme call to theme_theming_example_basic_content()
- theming_example_basic_content in theming_example/
theming_example.module - Initial landing page explaining the use of the module.
File
- theming_example/
theming_example.module, line 80 - Explains how a module declares theme functions, preprocess functions, and templates.
Code
function theme_theming_example_basic_content($content = NULL) {
$content = '<h3>' . t('The Content') . ':</h3>' . check_plain($content);
return $content;
}