Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
template_preprocess_region

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 region templates.
template_preprocess_responsive_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/modules/responsive_image/responsive_image.module Prepares variables for a responsive image.
template_preprocess_responsive_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/responsive_image/responsive_image.module Prepares variables for responsive image formatter templates.
template_preprocess_search_result

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/search/search.module Prepares variables for individual search result templates.
template_preprocess_select

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 select element templates.
template_preprocess_system_admin_index

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 admin index templates.
template_preprocess_system_modules_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/modules/system/system.module Prepares variables for the module details templates.
template_preprocess_system_modules_uninstall

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 module uninstall templates.
template_preprocess_system_security_advisories_fetch_error_message

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 security advisories fetch error message templates.
template_preprocess_system_themes_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/modules/system/system.module Prepares variables for appearance page templates.
template_preprocess_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/includes/theme.inc Prepares variables for table templates.
template_preprocess_tablesort_indicator

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 tablesort indicators.
template_preprocess_taxonomy_term

in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal::service(TaxonomyThemeHooks::class)->preprocessTaxonomyTerm($variables) instead.

core/modules/taxonomy/taxonomy.module Prepares variables for taxonomy term templates.
template_preprocess_test core/modules/system/tests/modules/module_test_procedural_preprocess/module_test_procedural_preprocess.module
template_preprocess_textarea

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 textarea templates.
template_preprocess_text_format_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/filter/filter.module Prepares variables for text format wrapper templates.
template_preprocess_time

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 time templates.
template_preprocess_toolbar

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/toolbar/toolbar.module Prepares variables for administration toolbar templates.
template_preprocess_top_bar

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/navigation/navigation.module Prepares variables for navigation top bar template.
template_preprocess_user

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/user/user.module Prepares variables for user templates.
template_preprocess_username

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/user/user.module Prepares variables for username templates.
template_preprocess_vertical_tabs

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 vertical tabs templates.
template_preprocess_views_exposed_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/views/views.module Prepares variables for views exposed form templates.
template_preprocess_views_mini_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/modules/views/views.module Prepares variables for views mini-pager templates.
template_preprocess_views_ui_build_group_filter_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/views_ui/views_ui.module Prepares variables for Views UI build group filter form templates.
template_preprocess_views_ui_display_tab_bucket

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/views_ui/views_ui.module Prepares variables for Views UI display tab bucket templates.
template_preprocess_views_ui_display_tab_setting

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/views_ui/views_ui.module Prepares variables for Views UI display tab setting templates.
template_preprocess_views_ui_rearrange_filter_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/views_ui/views_ui.module Prepares variables for Views UI rearrange filter form templates.
template_preprocess_views_ui_style_plugin_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/views_ui/views_ui.module Prepares variables for style plugin table templates.
template_preprocess_views_ui_views_listing_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/views_ui/views_ui.module Prepares variables for Views UI view listing templates.
template_preprocess_views_ui_view_preview_section

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/views_ui/views_ui.module Prepares variables for views UI view preview section templates.
template_preprocess_views_view

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/views/views.module Prepares variables for view templates.
template_preprocess_views_view_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/modules/views/views.module Prepares variables for views field templates.
template_preprocess_views_view_fields

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/views/views.module Prepares variables for views fields templates.
template_preprocess_views_view_grid

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/views/views.module Prepares variables for views grid style templates.
template_preprocess_views_view_grid_responsive

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/views/views.module Prepares variables for views grid - responsive style templates.
template_preprocess_views_view_grouping

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/views/views.module Prepares variables for views single grouping templates.
template_preprocess_views_view_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/views/views.module Prepares variables for Views HTML list templates.
template_preprocess_views_view_opml

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/views/views.module Prepares variables for OPML feed templates.
template_preprocess_views_view_row_opml

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/views/views.module Prepares variables for views OPML item templates.
template_preprocess_views_view_row_rss

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/views/views.module Prepares variables for views RSS item templates.
template_preprocess_views_view_rss

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/views/views.module Prepares variables for RSS feed templates.
template_preprocess_views_view_summary

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/views/views.module Prepares variables for views summary templates.
template_preprocess_views_view_summary_unformatted

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/views/views.module Prepares variables for unformatted summary view templates.
template_preprocess_views_view_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/views/views.module Prepares variables for views table templates.
template_preprocess_views_view_unformatted

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/views/views.module Prepares variables for views unformatted rows templates.
testing_hooks_cache_flush core/profiles/tests/testing_hooks/testing_hooks.profile This implements cache_flush.
testing_site_config_install core/profiles/tests/testing_site_config/testing_site_config.install Implements hook_install().
test_access_arguments_resolver_access core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php
test_auto_include core/modules/system/tests/modules/module_implements_alter_test/module_implements_alter_test.module 1

Other projects


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