Functions - main - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
hook_update_status_alter core/modules/update/update.api.php Alter the information about available updates for projects.
hook_user_cancel core/modules/user/user.api.php Act on user account cancellations.
hook_user_cancel_methods_alter core/modules/user/user.api.php Modify account cancellation methods.
hook_user_format_name_alter core/modules/user/user.api.php Alter the username that is displayed for a user.
hook_user_login core/modules/user/user.api.php The user just logged in.
hook_user_logout core/modules/user/user.api.php The user just logged out.
hook_validation_constraint_alter core/core.api.php Alter validation constraint plugin definitions.
hook_views_analyze core/modules/views/views.api.php Analyze a view to provide warnings about its configuration.
hook_views_data core/modules/views/views.api.php Describe data tables and fields (or the equivalent) to Views.
hook_views_data_alter core/modules/views/views.api.php Alter the table and field information from hook_views_data().
hook_views_form_substitutions core/modules/views/views.api.php Replace special strings when processing a view with form elements.
hook_views_invalidate_cache core/modules/views/views.api.php Allow modules to respond to the invalidation of the Views cache.
hook_views_plugins_access_alter core/modules/views/views.api.php Modify the list of available views access plugins.
hook_views_plugins_area_alter core/modules/views/views.api.php Modify the list of available views area handler plugins.
hook_views_plugins_argument_alter core/modules/views/views.api.php Modify the list of available views argument handler plugins.
hook_views_plugins_argument_default_alter core/modules/views/views.api.php Modify the list of available views default argument plugins.
hook_views_plugins_argument_validator_alter core/modules/views/views.api.php Modify the list of available views argument validation plugins.
hook_views_plugins_cache_alter core/modules/views/views.api.php Modify the list of available views cache plugins.
hook_views_plugins_display_alter core/modules/views/views.api.php Modify the list of available views display plugins.
hook_views_plugins_display_extenders_alter core/modules/views/views.api.php Modify the list of available views display extender plugins.
hook_views_plugins_exposed_form_alter core/modules/views/views.api.php Modify the list of available views exposed form plugins.
hook_views_plugins_field_alter core/modules/views/views.api.php Modify the list of available views field handler plugins.
hook_views_plugins_filter_alter core/modules/views/views.api.php Modify the list of available views filter handler plugins.
hook_views_plugins_join_alter core/modules/views/views.api.php Modify the list of available views join plugins.
hook_views_plugins_pager_alter core/modules/views/views.api.php Modify the list of available views pager plugins.
hook_views_plugins_query_alter core/modules/views/views.api.php Modify the list of available views query plugins.
hook_views_plugins_relationship_alter core/modules/views/views.api.php Modify the list of available views relationship handler plugins.
hook_views_plugins_row_alter core/modules/views/views.api.php Modify the list of available views row plugins.
hook_views_plugins_sort_alter core/modules/views/views.api.php Modify the list of available views sort handler plugins.
hook_views_plugins_style_alter core/modules/views/views.api.php Modify the list of available views style plugins.
hook_views_plugins_wizard_alter core/modules/views/views.api.php Modify the list of available views wizard plugins.
hook_views_post_build core/modules/views/views.api.php Act on the view immediately after the query is built.
hook_views_post_execute core/modules/views/views.api.php Act on the view immediately after the query has been executed.
hook_views_post_render core/modules/views/views.api.php Post-process any render data.
hook_views_preview_info_alter core/modules/views/views.api.php Alter the view preview information.
hook_views_pre_build core/modules/views/views.api.php Act on the view before the query is built, but after displays are attached.
hook_views_pre_execute core/modules/views/views.api.php Act on the view after the query is built and just before it is executed.
hook_views_pre_render core/modules/views/views.api.php Act on the view immediately before rendering it.
hook_views_pre_view core/modules/views/views.api.php Alter a view at the very beginning of Views processing.
hook_views_query_alter core/modules/views/views.api.php Alter the query before it is executed.
hook_views_query_substitutions core/modules/views/views.api.php Replace special strings in the query before it is executed.
hook_views_ui_display_tab_alter core/modules/views_ui/views_ui.api.php Alter the renderable array representing the edit page for one display.
hook_views_ui_display_top_alter core/modules/views_ui/views_ui.api.php Alter the top of the display for the Views UI.
hook_views_ui_display_top_links_alter core/modules/views_ui/views_ui.api.php Alter the links displayed at the top of the view edit form.
image_install core/modules/image/image.install Implements hook_install().
image_path_flush

in drupal:11.4.0 and is removed from drupal:13.0.0. Use ImageDerivativeUtilities::pathFlush() instead.

core/modules/image/image.module Clears cached versions of a specific file in all styles.
image_removed_post_updates core/modules/image/image.post_update.php Implements hook_removed_post_updates().
image_style_options

in drupal:11.4.0 and is removed from drupal:13.0.0. Use ImageDerivativeUtilities::styleOptions() instead.

core/modules/image/image.module Gets an array of image styles suitable for using as select list options.
image_uninstall core/modules/image/image.install Implements hook_uninstall().
image_update_last_removed core/modules/image/image.install Implements hook_update_last_removed().

Other projects


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