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. Other projects
Title Object type File name Summary
ViewsEntityTestHooks::entityLoad function core/modules/views/tests/modules/views_entity_test/src/Hook/ViewsEntityTestHooks.php Implements hook_entity_load().
ViewsFormTestHooks class core/modules/views/tests/modules/views_form_test/src/Hook/ViewsFormTestHooks.php Hook implementations for views_form_test.
ViewsFormTestHooks.php file core/modules/views/tests/modules/views_form_test/src/Hook/ViewsFormTestHooks.php
ViewsFormTestHooks::formViewsFormMediaMediaPageListAlter function core/modules/views/tests/modules/views_form_test/src/Hook/ViewsFormTestHooks.php Implements hook_form_BASE_FORM_ID_alter().
ViewsHandlerManagerTest::testAlterHookInvocation function core/modules/views/tests/src/Unit/ViewsHandlerManagerTest.php Tests that hook_views_plugins_TYPE_alter() is invoked for a handler type.
ViewsHooks class core/modules/views/src/Hook/ViewsHooks.php Hook implementations for views.
ViewsHooks.php file core/modules/views/src/Hook/ViewsHooks.php
ViewsHooks::baseFieldOverrideDelete function core/modules/views/src/Hook/ViewsHooks.php Implements hook_ENTITY_TYPE_delete().
ViewsHooks::baseFieldOverrideInsert function core/modules/views/src/Hook/ViewsHooks.php Implements hook_ENTITY_TYPE_insert().
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::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().
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.

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