Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Search 11.x for %s
  6. Other projects
Title Object type File name Summary
hook_field_widget_single_element_form_alter function core/modules/field/field.api.php Alter forms for field widgets provided by other modules.
hook_field_widget_single_element_WIDGET_TYPE_form_alter function core/modules/field/field.api.php Alter widget forms for a specific widget provided by another module.
hook_field_widget_third_party_settings_form function core/modules/field_ui/field_ui.api.php Allow modules to add settings to field widgets provided by other modules.
hook_filter_format_disable function core/modules/filter/filter.api.php Perform actions when a text format has been disabled.
hook_filter_secure_image_alter function core/modules/filter/filter.api.php Alters images with an invalid source.
hook_form_BASE_FORM_ID_alter function core/lib/Drupal/Core/Form/form.api.php Provide a form-specific alteration for shared ('base') forms.
hook_form_system_theme_settings_alter function core/lib/Drupal/Core/Render/theme.api.php Allow themes to alter the theme-specific settings form.
hook_help_section_info_alter function core/modules/help/help.api.php Perform alterations on help page section plugin definitions.
hook_help_topics_info_alter function core/modules/help/help.api.php Perform alterations on help topic definitions.
hook_image_style_flush function core/modules/image/image.api.php Respond to image style flushing.
hook_install function core/lib/Drupal/Core/Extension/module.api.php Perform setup tasks when the module is installed.
hook_install_tasks function core/lib/Drupal/Core/Extension/module.api.php Return an array of tasks to be performed by an installation profile.
hook_install_tasks_alter function core/lib/Drupal/Core/Extension/module.api.php Alter the full list of installation tasks.
hook_jsonapi_entity_field_filter_access function core/modules/jsonapi/jsonapi.api.php Restricts filtering access to the given field.
hook_jsonapi_entity_filter_access function core/modules/jsonapi/jsonapi.api.php Controls access when filtering by entity data via JSON:API.
hook_jsonapi_ENTITY_TYPE_filter_access function core/modules/jsonapi/jsonapi.api.php Controls access to filtering by entity data via JSON:API.
hook_js_alter function core/lib/Drupal/Core/Render/theme.api.php Alters JavaScript before it is presented on the page.
hook_js_settings_alter function core/lib/Drupal/Core/Render/theme.api.php Perform necessary alterations to the JavaScript settings (drupalSettings).
hook_js_settings_build function core/lib/Drupal/Core/Render/theme.api.php Modify the JavaScript settings (drupalSettings).
hook_language_fallback_candidates_alter function core/modules/language/language.api.php Allow modules to alter the language fallback candidates.
hook_language_fallback_candidates_OPERATION_alter function core/modules/language/language.api.php Allow modules to alter the fallback candidates for specific operations.
hook_language_switch_links_alter function core/lib/Drupal/Core/Language/language.api.php Perform alterations on language switcher links.
hook_language_types_info function core/modules/language/language.api.php Define language types.
hook_language_types_info_alter function core/modules/language/language.api.php Perform alterations on language types.
hook_loader_test.info.yml file core/modules/system/tests/modules/HookLoader/hook_loader_test/hook_loader_test.info.yml core/modules/system/tests/modules/HookLoader/hook_loader_test/hook_loader_test.info.yml
hook_locale_translation_projects_alter function core/modules/locale/locale.api.php Alter the list of projects to be updated by locale's interface translation.
hook_local_tasks_alter function core/lib/Drupal/Core/Menu/menu.api.php Alter local tasks plugins.
hook_media_source_info_alter function core/modules/media/media.api.php Alters the information provided in \Drupal\media\Annotation\MediaSource.
hook_menu_links_discovered_alter function core/lib/Drupal/Core/Menu/menu.api.php Alters all the menu links discovered by the menu link plugin manager.
hook_menu_local_actions_alter function core/lib/Drupal/Core/Menu/menu.api.php Alter local actions plugins.
hook_menu_local_tasks_alter function core/lib/Drupal/Core/Menu/menu.api.php Alter local tasks displayed on the page before they are rendered.
hook_migration_plugins_alter function core/modules/migrate/migrate.api.php Allows altering the list of discovered migration plugins.
hook_modules_installed function core/lib/Drupal/Core/Extension/module.api.php Perform necessary actions after modules are installed.
hook_modules_uninstalled function core/lib/Drupal/Core/Extension/module.api.php Perform necessary actions after modules are uninstalled.
hook_module_preinstall function core/lib/Drupal/Core/Extension/module.api.php Perform necessary actions before a module is installed.
hook_module_preuninstall function core/lib/Drupal/Core/Extension/module.api.php Perform necessary actions before a module is uninstalled.
hook_navigation_defaults function core/modules/navigation/navigation.api.php Provides default content for the Navigation bar.
hook_node_access_records function core/modules/node/node.api.php Set permissions for a node to be written to the database.
hook_node_access_records_alter function core/modules/node/node.api.php Alter permissions for a node before it is written to the database.
hook_node_grants function core/modules/node/node.api.php Inform the node access system what permissions the user has.
hook_node_grants_alter function core/modules/node/node.api.php Alter user access rules when trying to view, edit or delete a node.
hook_node_links_alter function core/modules/node/node.api.php Alter the links of a node.
hook_node_search_ranking function core/modules/node/node.api.php Provide additional methods of scoring for core search results for nodes.
hook_node_search_result function core/modules/node/node.api.php Act on a node being displayed as a search result.
hook_oembed_resource_url_alter function core/modules/media/media.api.php Alters an oEmbed resource URL before it is fetched.
hook_options_list_alter function core/modules/options/options.api.php Alters the list of options to be displayed for a field.
hook_page_attachments function core/lib/Drupal/Core/Render/theme.api.php Add attachments (typically assets) to a page before it is rendered.
hook_page_attachments_alter function core/lib/Drupal/Core/Render/theme.api.php Alter attachments (typically assets) to a page before it is rendered.
hook_plugin_filter_TYPE__CONSUMER_alter function core/lib/Drupal/Core/Plugin/plugin.api.php Alter the filtering of plugin definitions for a specific type and consumer.
hook_post_update_NAME function core/lib/Drupal/Core/Extension/module.api.php Executes an update which is intended to update data, like entities.

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