Search for hook_

  1. Search 7.x for hook_
  2. Search 9.5.x for hook_
  3. Search 8.9.x for hook_
  4. Search 10.3.x for hook_
  5. Search 11.x for hook_
  6. Other projects
Title Object type File name Summary
FilterHooks::help function core/modules/filter/src/Hook/FilterHooks.php Implements hook_help().
FilterHooksTest class core/modules/filter/tests/src/Functional/FilterHooksTest.php Tests hooks for text formats insert/update/disable.
FilterHooksTest.php file core/modules/filter/tests/src/Functional/FilterHooksTest.php
FilterHooksTest::$defaultTheme property core/modules/filter/tests/src/Functional/FilterHooksTest.php The theme to install as the default for testing.
FilterHooksTest::$modules property core/modules/filter/tests/src/Functional/FilterHooksTest.php Modules to install.
FilterHooksTest::testFilterHooks function core/modules/filter/tests/src/Functional/FilterHooksTest.php Tests hooks on format management.
FilterTestHooks class core/modules/filter/tests/filter_test/src/Hook/FilterTestHooks.php Hook implementations for filter_test.
FilterTestHooks.php file core/modules/filter/tests/filter_test/src/Hook/FilterTestHooks.php
FilterTestHooks::filterFormatDisable function core/modules/filter/tests/filter_test/src/Hook/FilterTestHooks.php Implements hook_filter_format_disable().
FilterTestHooks::filterFormatInsert function core/modules/filter/tests/filter_test/src/Hook/FilterTestHooks.php Implements hook_ENTITY_TYPE_insert().
FilterTestHooks::filterFormatUpdate function core/modules/filter/tests/filter_test/src/Hook/FilterTestHooks.php Implements hook_ENTITY_TYPE_update().
FilterThemeHooks class core/modules/filter/src/Hook/FilterThemeHooks.php Theme hooks for filter.
FilterThemeHooks.php file core/modules/filter/src/Hook/FilterThemeHooks.php
FilterThemeHooks::getFilterTips function core/modules/filter/src/Hook/FilterThemeHooks.php Retrieves the filter tips.
FilterThemeHooks::preprocessFilterGuidelines function core/modules/filter/src/Hook/FilterThemeHooks.php Prepares variables for text format guideline templates.
FilterThemeHooks::preprocessTextFormatWrapper function core/modules/filter/src/Hook/FilterThemeHooks.php Prepares variables for text format wrapper templates.
FilterThemeHooks::theme function core/modules/filter/src/Hook/FilterThemeHooks.php Implements hook_theme().
FilterThemeHooks::__construct function core/modules/filter/src/Hook/FilterThemeHooks.php
FormHooks class core/themes/admin/src/Hook/FormHooks.php Provides form related hook implementations.
FormHooks class core/themes/default_admin/src/Hook/FormHooks.php Provides form related hook implementations.
FormHooks.php file core/themes/admin/src/Hook/FormHooks.php
FormHooks.php file core/themes/default_admin/src/Hook/FormHooks.php
FormHooks::ensureAdvancedSettings function core/themes/admin/src/Hook/FormHooks.php Ensure correct settings for advanced, meta and revision form elements.
FormHooks::ensureAdvancedSettings function core/themes/default_admin/src/Hook/FormHooks.php Ensure correct settings for advanced, meta and revision form elements.
FormHooks::formAfterBuild function core/themes/admin/src/Hook/FormHooks.php Helper function to remember the form actions after form has been built.
FormHooks::formAfterBuild function core/themes/default_admin/src/Hook/FormHooks.php Helper function to remember the form actions after form has been built.
FormHooks::formAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_alter().
FormHooks::formAlter function core/themes/default_admin/src/Hook/FormHooks.php Implements hook_form_alter().
FormHooks::formMediaFormAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_BASE_FORM_ID_alter() for \Drupal\media\MediaForm.
FormHooks::formMediaFormAlter function core/themes/default_admin/src/Hook/FormHooks.php Implements hook_form_BASE_FORM_ID_alter() for \Drupal\media\MediaForm.
FormHooks::formMediaLibraryAddFormAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_BASE_FORM_ID_alter().
FormHooks::formMediaLibraryAddFormAlter function core/themes/default_admin/src/Hook/FormHooks.php Implements hook_form_BASE_FORM_ID_alter().
FormHooks::formMediaLibraryAddFormOembedAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_FORM_ID_alter().
FormHooks::formMediaLibraryAddFormOembedAlter function core/themes/default_admin/src/Hook/FormHooks.php Implements hook_form_FORM_ID_alter().
FormHooks::formMediaLibraryAddFormUploadAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_FORM_ID_alter().
FormHooks::formMediaLibraryAddFormUploadAlter function core/themes/default_admin/src/Hook/FormHooks.php Implements hook_form_FORM_ID_alter().
FormHooks::formMenuLinkContentFormAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_BASE_FORM_ID_alter() for MenuLinkContentForm.
FormHooks::formMenuLinkContentFormAlter function core/themes/default_admin/src/Hook/FormHooks.php Implements hook_form_BASE_FORM_ID_alter() for MenuLinkContentForm.
FormHooks::formMenuLinkEditAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_FORM_ID_alter() for MenuLinkEditForm.
FormHooks::formMenuLinkEditAlter function core/themes/default_admin/src/Hook/FormHooks.php Implements hook_form_FORM_ID_alter() for MenuLinkEditForm.
FormHooks::formNodeFormAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\Form\NodeForm.
FormHooks::formNodeFormAlter function core/themes/default_admin/src/Hook/FormHooks.php Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\Form\NodeForm.
FormHooks::formNodePreviewFormSelectAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_FORM_ID_alter().
FormHooks::formNodePreviewFormSelectAlter function core/themes/default_admin/src/Hook/FormHooks.php Implements hook_form_FORM_ID_alter().
FormHooks::formSystemModulesAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_FORM_ID_alter() for the system_modules form.
FormHooks::formSystemModulesAlter function core/themes/default_admin/src/Hook/FormHooks.php Implements hook_form_FORM_ID_alter() for the system_modules form.
FormHooks::formSystemThemeSettingsAlter function core/themes/admin/src/Hook/FormHooks.php Implement hook form_system_theme_settings_alter().
FormHooks::formSystemThemeSettingsAlter function core/themes/default_admin/src/Hook/FormHooks.php Implement hook form_system_theme_settings_alter().
FormHooks::formSystemThemeSettingsAlterSubmit function core/themes/admin/src/Hook/FormHooks.php Submit theme settings.
FormHooks::formSystemThemeSettingsAlterSubmit function core/themes/default_admin/src/Hook/FormHooks.php Submit theme settings.

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