theme.inc
theme.inc
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.
File
core/includes/theme.incFunctions
Name | Description |
---|---|
drupal_common_theme | Provides theme registration for themes across .inc files. |
drupal_find_theme_functions | Allows themes and/or theme engines to discover overridden theme functions. |
drupal_find_theme_templates | Allows themes and/or theme engines to easily discover overridden templates. |
drupal_theme_rebuild | Forces the system to rebuild the theme registry. |
template_preprocess | Adds a default set of helper variables for preprocessors and templates. |
template_preprocess_breadcrumb | Prepares variables for breadcrumb templates. |
template_preprocess_container | Prepares variables for container templates. |
template_preprocess_datetime_form | Prepares variables for datetime form element templates. |
template_preprocess_datetime_wrapper | Prepares variables for datetime form wrapper templates. |
template_preprocess_field | Prepares variables for field templates. |
template_preprocess_field_multiple_value_form | Prepares variables for individual form element templates. |
template_preprocess_html | Prepares variables for HTML document templates. |
template_preprocess_image | Prepares variables for image templates. |
template_preprocess_install_page | Prepares variables for install page templates. |
template_preprocess_item_list | Prepares variables for item list templates. |
template_preprocess_links | Prepares variables for links templates. |
template_preprocess_maintenance_page | Prepares variables for maintenance page templates. |
template_preprocess_maintenance_task_list | Prepares variables for maintenance task list templates. |
template_preprocess_page | Prepares variables for the page template. |
template_preprocess_region | Prepares variables for region templates. |
template_preprocess_table | Prepares variables for table templates. |
template_preprocess_time | Prepares variables for time templates. |
theme_get_registry | Gets the theme registry. |
theme_get_setting | Retrieves a setting for the current theme or for a given theme. |
theme_get_suggestions | Generate an array of suggestions from path arguments. |
theme_render_and_autoescape | Escapes and renders variables for theme functions. |
theme_settings_convert_to_config | Converts theme settings to configuration. |
_field_multiple_value_form_sort_helper | Callback for usort() within template_preprocess_field_multiple_value_form(). |
_system_default_theme_features | Returns an array of default theme features. |
_template_preprocess_default_variables | Returns hook-independent variables to template_preprocess(). |
Constants
Name | Description |
---|---|
MARK_NEW | Mark content as being new. |
MARK_READ | Mark content as read. |
MARK_UPDATED | Mark content as being updated. |
RESPONSIVE_PRIORITY_LOW | A responsive table class; only show table cell on wide devices. |
RESPONSIVE_PRIORITY_MEDIUM | A responsive table class; hide table cell on narrow devices. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!includes!theme.inc/8.1.x