Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
template_preprocess_breadcrumb

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/theme.inc Prepares variables for breadcrumb templates.
template_preprocess_checkboxes

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/form.inc Prepares variables for checkboxes templates.
template_preprocess_container

in drupal:11.2.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/theme.inc Prepares variables for container templates.
template_preprocess_datetime_form

in drupal:11.2.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/theme.inc Prepares variables for datetime form element templates.
template_preprocess_datetime_wrapper

in drupal:11.2.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/theme.inc Prepares variables for datetime form wrapper templates.
template_preprocess_details

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/form.inc Prepares variables for details element templates.
template_preprocess_entity_add_list

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/system/system.module Prepares variables for the list of available bundles.
template_preprocess_field

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/theme.inc Prepares variables for field templates.
template_preprocess_fieldset

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/form.inc Prepares variables for fieldset element templates.
template_preprocess_field_multiple_value_form

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/theme.inc Prepares variables for individual form element templates.
template_preprocess_field_ui_table

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/field_ui/field_ui.module Prepares variables for field UI overview table templates.
template_preprocess_file_link

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/file/file.module Prepares variables for file link templates.
template_preprocess_file_managed_file

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/file/file.module Prepares variables for file form widget templates.
template_preprocess_file_upload_help

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/file/file.module Prepares variables for file upload help text templates.
template_preprocess_file_widget_multiple

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/file/file.module Prepares variables for multi file form widget templates.
template_preprocess_filter_guidelines

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/filter/filter.module Prepares variables for text format guideline templates.
template_preprocess_filter_tips

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/filter/filter.module Prepares variables for filter tips templates.
template_preprocess_form

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/form.inc Prepares variables for form templates.
template_preprocess_form_element

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/form.inc Returns HTML for a form element.
template_preprocess_form_element_label

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/form.inc Prepares variables for form label templates.
template_preprocess_html

in drupal:11.2.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/theme.inc Prepares variables for HTML document templates.
template_preprocess_image

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/theme.inc Prepares variables for image templates.
template_preprocess_image_anchor

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/image/image.module Prepares variables for image anchor templates.
template_preprocess_image_formatter

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/image/image.module Prepares variables for image formatter templates.
template_preprocess_image_style

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/image/image.module Prepares variables for image style templates.
template_preprocess_image_style_preview

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/image/image.module Prepares variables for image style preview templates.
template_preprocess_image_widget

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/image/image.module Prepares variables for image widget templates.
template_preprocess_input

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/form.inc Prepares variables for input templates.
template_preprocess_install_page

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/theme.inc Prepares variables for install page templates.
template_preprocess_item_list

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/theme.inc Prepares variables for item list templates.
template_preprocess_language_content_settings_table

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/language/language.module Prepares variables for language content settings table templates.
template_preprocess_language_negotiation_configure_form

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/language/language.module Prepares variables for language negotiation configuration form.
template_preprocess_links

in drupal:11.2.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/theme.inc Prepares variables for links templates.
template_preprocess_link_formatter_link_separate

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/link/link.module Prepares variables for separated link field templates.
template_preprocess_locale_translation_last_check

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/locale/locale.module Prepares variables for most recent translation update templates.
template_preprocess_locale_translation_update_info

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/locale/locale.module Prepares variables for translation status information templates.
template_preprocess_maintenance_page

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/theme.inc Prepares variables for maintenance page templates.
template_preprocess_maintenance_task_list

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/theme.inc Prepares variables for maintenance task list templates.
template_preprocess_media

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/media/media.module Prepares variables for media templates.
template_preprocess_media_library_item

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/media_library/media_library.module Prepares variables for a selected media item.
template_preprocess_media_library_wrapper

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/modules/media_library/media_library.module Prepares variables for the media library modal dialog.
template_preprocess_menu_local_action

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/theme.inc Prepares variables for single local action link templates.
template_preprocess_menu_local_task

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/theme.inc Prepares variables for single local task link templates.
template_preprocess_module_test_procedural_preprocess_includes core/modules/system/tests/modules/module_test_procedural_preprocess/module_test_procedural_preprocess.additional.inc Template preprocess function for module_test_procedural_preprocess_includes. 1
template_preprocess_module_test_procedural_preprocess_theme core/modules/system/tests/modules/module_test_procedural_preprocess/module_test_procedural_preprocess.theme.inc Template preprocess function for module_test_procedural_preprocess_theme. 1
template_preprocess_node

in drupal:11.3.0 and is removed from drupal:12.0.0. Use \Drupal::service(NodeThemeHooks::class)->preprocessNode($variables) instead.

core/modules/node/node.module Prepares variables for node templates.
template_preprocess_node_add_list

in drupal:11.3.0 and is removed from drupal:12.0.0. Use \Drupal::service(NodeThemeHooks::class)->preprocessNodeAddList($variables) instead.

core/modules/node/node.module Prepares variables for list of available node type templates.
template_preprocess_page

in drupal:11.2.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/theme.inc Prepares variables for the page template.
template_preprocess_pager

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/theme.inc Prepares variables for pager templates.
template_preprocess_radios

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

core/includes/form.inc Prepares variables for radios templates.

Other projects


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.