Version 1.630 (checked in on 2011/02/19 at 01:07:00 by dries)
The theme system, which controls the output of Drupal.
The theme system allows for nearly all output of the Drupal system to be customized by user themes.
| Name | Description |
|---|---|
| drupal_find_theme_functions | Allow themes and/or theme engines to easily discover overridden theme functions. |
| drupal_find_theme_templates | Allow themes and/or theme engines to easily discover overridden templates. |
| drupal_theme_access | Determines if a theme is available to use. |
| drupal_theme_initialize | Initialize the theme system by loading the theme. |
| drupal_theme_rebuild | Force the system to rebuild the theme registry; this should be called when modules are added to the system, or when a dynamic system needs to add more theme hooks. |
| list_themes | Return a list of all currently available themes. |
| path_to_theme | Return the path to the current themed element. |
| template_preprocess | Adds a default set of helper variables for variable processors and templates. This comes in before any other preprocess function which makes it possible to be used in default theme implementations (non-overridden theme functions). |
| template_preprocess_html | Preprocess variables for html.tpl.php |
| template_preprocess_maintenance_page | The variables array generated here is a mirror of template_preprocess_page(). This preprocessor will run its course when theme_maintenance_page() is invoked. |
| template_preprocess_page | Preprocess variables for page.tpl.php |
| template_preprocess_region | Preprocess variables for region.tpl.php |
| template_preprocess_username | Preprocesses variables for theme_username(). |
| template_process | A default process function used to alter variables as late as possible. |
| template_process_html | Process variables for html.tpl.php |
| template_process_maintenance_page | The variables array generated here is a mirror of template_process_html(). This processor will run its course when theme_maintenance_page() is invoked. |
| template_process_page | Process variables for page.tpl.php |
| template_process_username | Processes variables for theme_username(). |
| theme | Generates themed output. |
| theme_breadcrumb | Returns HTML for a breadcrumb trail. |
| theme_disable | Disable a given list of themes. |
| theme_enable | Enable a given list of themes. |
| theme_feed_icon | Returns HTML for a feed icon. |
| theme_get_registry | Get the theme registry. |
| theme_get_setting | Retrieve a setting for the current theme or for a given theme. |
| theme_get_suggestions | Generate an array of suggestions from path arguments. |
| theme_html_tag | Returns HTML for a generic HTML tag with attributes. |
| theme_image | Returns HTML for an image. |
| theme_indentation | Returns HTML for an indentation div; used for drag and drop tables. |
| theme_item_list | Returns HTML for a list or nested list of items. |
| theme_link | Returns HTML for a link. |
| theme_links | Returns HTML for a set of links. |
| theme_mark | Returns HTML for a marker for new or updated content. |
| theme_more_help_link | Returns HTML for a "more help" link. |
| theme_more_link | Returns HTML for a "more" link, like those used in blocks. |
| theme_progress_bar | Returns HTML for a progress bar. |
| theme_render_template | Render a system default template, which is essentially a PHP template. |
| theme_status_messages | Returns HTML for status and/or error messages, grouped by type. |
| theme_table | Returns HTML for a table. |
| theme_tablesort_indicator | Returns HTML for a sort icon. |
| theme_username | Returns HTML for a username, potentially linked to the user's page. |
| _drupal_theme_access | Helper function for determining access to a theme. |
| _drupal_theme_initialize | Initialize the theme system given already loaded information. This function is useful to initialize a theme when no database is present. |
| _template_preprocess_default_variables | Returns hook-independant variables to template_preprocess(). |
| _theme_build_registry | Rebuild the theme registry cache. |
| _theme_load_registry | Get the theme_registry cache from the database; if it doesn't exist, build it. |
| _theme_process_registry | Process a single implementation of hook_theme(). |
| _theme_registry_callback | Set the callback that will be used by theme_get_registry() to fetch the registry. |
| _theme_save_registry | Write the theme_registry cache into the database. |
| _theme_table_cell | Returns HTML output for a single table cell for theme_table(). |
| Name | Description |
|---|---|
| MARK_NEW | Mark content as being new. |
| MARK_READ | Mark content as read. |
| MARK_UPDATED | Mark content as being updated. |