Search for %s

  1. Search 7.x for %s
  2. Search 8.9.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
hook_ENTITY_TYPE_translation_insert function core/lib/Drupal/Core/Entity/entity.api.php Respond to creation of a new entity translation of a particular type.
hook_entity_view_display_alter function core/lib/Drupal/Core/Entity/entity.api.php Alter the settings used for displaying an entity.
hook_extension function core/lib/Drupal/Core/Render/theme.api.php Declare a template file extension to be used with a theme engine.
hook_field_formatter_settings_summary_alter function core/modules/field_ui/field_ui.api.php Alters the field formatter settings summary.
hook_field_formatter_third_party_settings_form function core/modules/field_ui/field_ui.api.php Allow modules to add settings to field formatters provided by other modules.
hook_field_purge_field_storage function core/modules/field/field.api.php Acts when a field storage definition is being purged.
hook_field_storage_config_update_forbid function core/modules/field/field.api.php Forbid a field storage update from occurring.
hook_field_ui_preconfigured_options_alter function core/modules/field/field.api.php Perform alterations on preconfigured field options.
hook_field_views_data function core/modules/views/views.api.php Override the default Views data for a Field API field.
hook_field_views_data_alter function core/modules/views/views.api.php Alter the Views data for a single Field API field.
hook_field_views_data_views_data_alter function core/modules/views/views.api.php Alter the Views data on a per field basis.
hook_field_widget_settings_summary_alter function core/modules/field_ui/field_ui.api.php Alters the field widget settings 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_filetransfer_info function core/lib/Drupal/Core/File/file.api.php Register information about FileTransfer classes provided by a module.
hook_filetransfer_info_alter function core/lib/Drupal/Core/File/file.api.php Alter the FileTransfer class registry.
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_topics/help_topics.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_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_implements_alter function core/lib/Drupal/Core/Extension/module.api.php Alter the registry of modules implementing a hook.
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.

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