Functions - 11.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
user_template_preprocess_default_variables_alter core/modules/user/user.module Implements hook_template_preprocess_default_variables_alter().
user_theme core/modules/user/user.module Implements hook_theme().
user_tokens core/modules/user/user.tokens.inc Implements hook_tokens().
user_token_info core/modules/user/user.tokens.inc Implements hook_token_info().
user_toolbar core/modules/user/user.module Implements hook_toolbar().
user_update_last_removed core/modules/user/user.install Implements hook_update_last_removed().
user_user_login core/modules/user/user.module Implements hook_user_login().
user_user_logout core/modules/user/user.module Implements hook_user_logout().
user_user_presave core/modules/user/user.module Implements hook_ENTITY_TYPE_presave() for user entities.
user_user_role_delete core/modules/user/user.module Implements hook_ENTITY_TYPE_delete() for user_role entities.
user_user_role_insert core/modules/user/user.module Implements hook_ENTITY_TYPE_insert() for user_role entities.
user_user_view core/modules/user/user.module Implements hook_ENTITY_TYPE_view() for user entities.
user_user_view_alter core/modules/user/user.module Implements hook_ENTITY_TYPE_view_alter() for user entities.
user_validate_name

in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal\user\UserNameValidator::validateName() instead.

core/modules/user/user.module Verify the syntax of the given name. 1
user_views_plugins_argument_validator_alter core/modules/user/user.views.inc Implements hook_views_plugins_argument_validator_alter().
user_views_query_substitutions core/modules/user/user.views_execution.inc Implements hook_views_query_substitutions().
views_add_contextual_links core/modules/views/views.module Adds contextual links associated with a view display to a renderable array. 3 2
views_base_field_override_delete core/modules/views/views.module Implements hook_ENTITY_TYPE_delete().
views_base_field_override_insert core/modules/views/views.module Implements hook_ENTITY_TYPE_insert().
views_base_field_override_update core/modules/views/views.module Implements hook_ENTITY_TYPE_update().
views_disable_view core/modules/views/views.module Disables and saves a view. 1
views_element_validate_tags core/modules/views/views.module Validation callback for query tags. 1
views_embed_view core/modules/views/views.module Embed a view using a PHP snippet. 1
views_enable_view core/modules/views/views.module Enables and saves a view. 1
views_entity_field_label core/modules/views/views.views.inc Returns the label of a certain field. 5
views_entity_test_entity_base_field_info core/modules/views/tests/modules/views_entity_test/views_entity_test.module Implements hook_entity_bundle_field_info().
views_entity_test_entity_field_access core/modules/views/tests/modules/views_entity_test/views_entity_test.module Implements hook_entity_field_access().
views_entity_test_entity_load core/modules/views/tests/modules/views_entity_test/views_entity_test.module Implements hook_entity_load().
views_field_config_delete core/modules/views/views.module Implements hook_ENTITY_TYPE_delete() for 'field_config'.
views_field_config_insert core/modules/views/views.module Implements hook_ENTITY_TYPE_insert() for 'field_config'.
views_field_config_update core/modules/views/views.module Implements hook_ENTITY_TYPE_update() for 'field_config'.
views_field_default_views_data core/modules/views/views.views.inc Default views data implementation for a field. 7
views_field_views_data core/modules/views/views.views.inc Implements hook_field_views_data().
views_form_test_form_views_form_media_media_page_list_alter core/modules/views/tests/modules/views_form_test/views_form_test.module Implements hook_form_BASE_FORM_ID_alter().
views_form_views_exposed_form_alter core/modules/views/views.module Implements hook_form_alter() for the exposed form.
views_get_current_view core/modules/views/views.module Find out what, if any, current view is currently in use. 1
views_get_view_result core/modules/views/views.module Get the result of a view.
views_help core/modules/views/views.module Implements hook_help().
views_hook_info core/modules/views/views.module Implements hook_hook_info().
views_install core/modules/views/views.install Implements hook_install().
views_invalidate_cache core/modules/views/views.module Invalidate the views cache, forcing a rebuild on the next grab of table data. 4 1
views_local_tasks_alter core/modules/views/views.module Implements hook_local_tasks_alter().
views_post_update_views_data_argument_plugin_id core/modules/views/views.post_update.php Post update configured views for entity reference argument plugin IDs.
views_preprocess_comment core/modules/views/views.module Allows view-based comment templates if called from a view.
views_preprocess_node core/modules/views/views.module Allows view-based node templates if called from a view.
views_query_views_alter core/modules/views/views.module Implements hook_query_TAG_alter(). 1
views_removed_post_updates core/modules/views/views.post_update.php Implements hook_removed_post_updates().
views_set_current_view core/modules/views/views.module Set the current view. 3
views_test_checkboxes_theme_form_views_exposed_form_alter core/modules/views/tests/themes/views_test_checkboxes_theme/views_test_checkboxes_theme.theme Changes an exposed "type" filter from a multi-select to checkboxes.
views_test_config_views_plugins_area_alter core/modules/views/tests/modules/views_test_config/views_test_config.module

Other projects


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