Theme functions are used to render UI elements in a consistent way. There are theme functions defined for over 200 elements in Backdrop core, and while many of them are only used for special purposes, many others are used widely; all are available to developers.
Note that you should never call a theme function directly; instead of
$output = theme_something($variables);
you should call
$output = theme('something', $variables);
to allow for setting of default values, overrides, and modifications. See Default theme implementations for more details.
Function | Location | Summary |
---|---|---|
theme_theme_test_foo |
core/ |
Theme function for testing theme('theme_test_foo'). |
theme_token_tree |
core/ |
Provide a 'tree' display of nested tokens. |
theme_token_tree_link |
core/ |
Theme a link to a token tree either as a regular link or a dialog. |
theme_update_last_check |
core/ |
Returns HTML for the last time we checked for update data. |
theme_update_manager_update_form |
core/ |
Returns HTML for the first page in the process of updating projects. |
theme_update_page |
core/ |
Returns HTML for the update page. |
theme_update_report |
core/ |
Returns HTML for the project status report. |
theme_update_status_label |
core/ |
Returns HTML for a label to display for a project's update status. |
theme_update_version |
core/ |
Returns HTML for the version display of a project. |
theme_url |
core/ |
Returns HTML for a URL form element. |
theme_username |
core/ |
Returns HTML for a username, potentially linked to the user's page. |
theme_user_admin_permissions |
core/ |
Returns HTML for the administer permissions page. |
theme_user_admin_roles |
core/ |
Returns HTML for the role order form. |
theme_user_list |
core/ |
Returns HTML for a list of users. |
theme_user_permission_description |
core/ |
Returns HTML for an individual permission description. |
theme_user_signature |
core/ |
Returns HTML for a user signature. |
theme_vertical_tabs |
core/ |
Returns HTML for an element's children fieldsets as vertical tabs. |
theme_views_container |
core/ |
Generic <div> container function. |
theme_views_form_views_form |
core/ |
Theme function for a View with form elements: replace the placeholders. |
theme_views_mini_pager |
core/ |
|
theme_views_ui_build_group_filter_form |
core/ |
Theme the build group filter form. |
theme_views_ui_expose_filter_form |
core/ |
Theme the expose filter form. |
theme_views_ui_rearrange_filter_form |
core/ |
Turn the rearrange form into a proper table |
theme_views_ui_rearrange_form |
core/ |
Turn the rearrange form into a proper table |
theme_views_ui_reorder_displays_form |
core/ |
Turn the reorder form into a proper table |
theme_views_ui_style_plugin_table |
core/ |
Theme the form for the table style plugin |
theme_views_ui_view_description |
core/ |
Display the view description, tags, and type (base table). |
theme_views_ui_view_name |
core/ |
Display the view name and its machine name. |
theme_views_ui_view_preview_section |
core/ |
Returns the HTML for a section of a View being previewed within the Views UI. |
theme_views_ui_view_storage |
core/ |
Display the storage status of the view. |
theme_views_view_field |
core/ |
Display a single views field. |
theme_views_view_grouping |
core/ |
Display a single views grouping. |
theme_views_view_mapping_test |
core/ |
Returns HTML for the Mapping Test style. |