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 main for hook_
  6. Other projects
Title Object type File name Summary
ViewsHooks::baseFieldOverrideUpdate function core/modules/views/src/Hook/ViewsHooks.php Implements hook_ENTITY_TYPE_update().
ViewsHooks::blockPresave function core/modules/views/src/Hook/ViewsHooks.php Implements hook_ENTITY_TYPE_presave() for blocks.
ViewsHooks::fieldConfigDelete function core/modules/views/src/Hook/ViewsHooks.php Implements hook_ENTITY_TYPE_delete() for 'field_config'.
ViewsHooks::fieldConfigInsert function core/modules/views/src/Hook/ViewsHooks.php Implements hook_ENTITY_TYPE_insert() for 'field_config'.
ViewsHooks::fieldConfigUpdate function core/modules/views/src/Hook/ViewsHooks.php Implements hook_ENTITY_TYPE_update() for 'field_config'.
ViewsHooks::formViewsExposedFormAlter function core/modules/views/src/Hook/ViewsHooks.php Implements hook_form_FORM_ID_alter() for the exposed form.
ViewsHooks::help function core/modules/views/src/Hook/ViewsHooks.php Implements hook_help().
ViewsHooks::localTasksAlter function core/modules/views/src/Hook/ViewsHooks.php Implements hook_local_tasks_alter().
ViewsHooks::preRender function core/themes/admin/src/Hook/ViewsHooks.php Implements hook_views_pre_render().
ViewsHooks::queryViewsAlter function core/modules/views/src/Hook/ViewsHooks.php Implements hook_query_TAG_alter().
ViewsHooks::themeSuggestionsCommentAlter function core/modules/views/src/Hook/ViewsHooks.php Implements hook_theme_suggestions_HOOK_alter().
ViewsHooks::themeSuggestionsContainerAlter function core/modules/views/src/Hook/ViewsHooks.php Implements hook_theme_suggestions_HOOK_alter().
ViewsHooks::themeSuggestionsNodeAlter function core/modules/views/src/Hook/ViewsHooks.php Implements hook_theme_suggestions_HOOK_alter().
ViewsHooks::viewPresave function core/modules/views/src/Hook/ViewsHooks.php Implements hook_ENTITY_TYPE_presave().
ViewsHooks::viewsPreRender function core/modules/views/src/Hook/ViewsHooks.php Implements hook_views_pre_render().
ViewsHooks::viewsUiDisplayTabAlter function core/themes/admin/src/Hook/ViewsHooks.php Implements hook_views_ui_display_tab_alter().
ViewsHooks::viewsUiDisplayTopAlter function core/themes/admin/src/Hook/ViewsHooks.php Implements hook_views_ui_display_top_alter().
ViewsHooksTest class core/modules/views/tests/src/Kernel/ViewsHooksTest.php Tests that views hooks are registered when defined in $module.views.inc.
ViewsHooksTest.php file core/modules/views/tests/src/Kernel/ViewsHooksTest.php
ViewsHooksTest::$hooks property core/modules/views/tests/src/Kernel/ViewsHooksTest.php An array of available views hooks to test.
ViewsHooksTest::$moduleHandler property core/modules/views/tests/src/Kernel/ViewsHooksTest.php The module handler to use for invoking hooks.
ViewsHooksTest::$testViews property core/modules/views/tests/src/Kernel/ViewsHooksTest.php Views used by this test.
ViewsHooksTest::$viewStorage property core/modules/views/tests/src/Kernel/ViewsHooksTest.php The view storage.
ViewsHooksTest::setUp function core/modules/views/tests/src/Kernel/ViewsHooksTest.php
ViewsHooksTest::testHooks function core/modules/views/tests/src/Kernel/ViewsHooksTest.php Tests the hooks.
ViewsHooksTest::testViewsFormMainFormPreRender function core/modules/views/tests/src/Kernel/ViewsHooksTest.php Tests how hook_views_form_substitutions() makes substitutions.
ViewsHooksTest::testViewsInvalidateCacheOnDelete function core/modules/views/tests/src/Kernel/ViewsHooksTest.php Test that hook_views_invalidate_cache() is called when a view is deleted.
ViewsLocalTaskTest::testGetDerivativeDefinitionsWithoutHookMenuViews function core/modules/views/tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php Tests fetching the derivatives on no view with hook menu.
ViewsTestConfigHooks class core/modules/views/tests/modules/views_test_config/src/Hook/ViewsTestConfigHooks.php Hook implementations for views_test_config.
ViewsTestConfigHooks.php file core/modules/views/tests/modules/views_test_config/src/Hook/ViewsTestConfigHooks.php
ViewsTestConfigHooks::disableBrokenHandler function core/modules/views/tests/modules/views_test_config/src/Hook/ViewsTestConfigHooks.php Helper method to remove broken handler.
ViewsTestConfigHooks::viewLoad function core/modules/views/tests/modules/views_test_config/src/Hook/ViewsTestConfigHooks.php Implements hook_ENTITY_TYPE_load().
ViewsTestConfigHooks::viewsPluginsAreaAlter function core/modules/views/tests/modules/views_test_config/src/Hook/ViewsTestConfigHooks.php Implements hook_views_plugins_area_alter().
ViewsTestConfigHooks::viewsPluginsArgumentAlter function core/modules/views/tests/modules/views_test_config/src/Hook/ViewsTestConfigHooks.php Implements hook_views_plugins_argument_alter().
ViewsTestConfigHooks::viewsPluginsFieldAlter function core/modules/views/tests/modules/views_test_config/src/Hook/ViewsTestConfigHooks.php Implements hook_views_plugins_field_alter().
ViewsTestConfigHooks::viewsPluginsFilterAlter function core/modules/views/tests/modules/views_test_config/src/Hook/ViewsTestConfigHooks.php Implements hook_views_plugins_filter_alter().
ViewsTestConfigHooks::viewsPluginsRelationshipAlter function core/modules/views/tests/modules/views_test_config/src/Hook/ViewsTestConfigHooks.php Implements hook_views_plugins_relationship_alter().
ViewsTestConfigHooks::viewsPluginsSortAlter function core/modules/views/tests/modules/views_test_config/src/Hook/ViewsTestConfigHooks.php Implements hook_views_plugins_sort_alter().
ViewsTestConfigHooks::viewsPostRender function core/modules/views/tests/modules/views_test_config/src/Hook/ViewsTestConfigHooks.php Implements hook_views_post_render().
ViewsTestConfigUpdaterHooks class core/modules/views/tests/modules/views_test_config_updater/src/Hook/ViewsTestConfigUpdaterHooks.php Hooks for the views_test_config_updater module.
ViewsTestConfigUpdaterHooks.php file core/modules/views/tests/modules/views_test_config_updater/src/Hook/ViewsTestConfigUpdaterHooks.php
ViewsTestConfigUpdaterHooks::viewPresave function core/modules/views/tests/modules/views_test_config_updater/src/Hook/ViewsTestConfigUpdaterHooks.php Implements hook_ENTITY_TYPE_presave().
ViewsTestConfigUpdaterHooks::__construct function core/modules/views/tests/modules/views_test_config_updater/src/Hook/ViewsTestConfigUpdaterHooks.php
ViewsTestDataHooks class core/modules/views/tests/modules/views_test_data/src/Hook/ViewsTestDataHooks.php Hook implementations for views_test_data.
ViewsTestDataHooks.php file core/modules/views/tests/modules/views_test_data/src/Hook/ViewsTestDataHooks.php
ViewsTestDataHooks::formViewsFormTestFormMultipleDefaultAlter function core/modules/views/tests/modules/views_test_data/src/Hook/ViewsTestDataHooks.php Implements hook_form_BASE_FORM_ID_alter().
ViewsTestDataHooks::viewUpdate function core/modules/views/tests/modules/views_test_data/src/Hook/ViewsTestDataHooks.php Implements hook_ENTITY_TYPE_update() for the 'view' entity type.
ViewsTestDataThemeHooks class core/modules/views/tests/modules/views_test_data/src/Hook/ViewsTestDataThemeHooks.php Hook implementations for views_test_data.
ViewsTestDataThemeHooks.php file core/modules/views/tests/modules/views_test_data/src/Hook/ViewsTestDataThemeHooks.php
ViewsTestDataThemeHooks::preprocessViewsViewMappingTest function core/modules/views/tests/modules/views_test_data/src/Hook/ViewsTestDataThemeHooks.php Prepares variables for the mapping row style test templates.

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