Search for hook

  1. Search 7.x for hook
  2. Search 9.5.x for hook
  3. Search 10.3.x for hook
  4. Search 11.x for hook
  5. Other projects
Title Object type File name Summary
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::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::testViewsPreRenderViewsFormViewsForm function core/modules/views/tests/src/Kernel/ViewsHooksTest.php Tests views_pre_render_views_form_views_form() deprecation.
ViewsLocalTaskTest::testGetDerivativeDefinitionsWithoutHookMenuViews function core/modules/views/tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php Tests fetching the derivatives on no view with hook menu.
views_hook_info function core/modules/views/views.module Implements hook_hook_info().
_entity_test_record_hooks function core/modules/system/tests/modules/entity_test/entity_test.module Helper function to be used to record hook invocations.

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