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
hook_views_plugins_sort_alter function core/modules/views/views.api.php Modify the list of available views sort handler plugins.
hook_views_plugins_style_alter function core/modules/views/views.api.php Modify the list of available views style plugins.
hook_views_plugins_wizard_alter function core/modules/views/views.api.php Modify the list of available views wizard plugins.
hook_views_post_build function core/modules/views/views.api.php Act on the view immediately after the query is built.
hook_views_post_execute function core/modules/views/views.api.php Act on the view immediately after the query has been executed.
hook_views_post_render function core/modules/views/views.api.php Post-process any rendered data.
hook_views_preview_info_alter function core/modules/views/views.api.php Alter the view preview information.
hook_views_pre_build function core/modules/views/views.api.php Act on the view before the query is built, but after displays are attached.
hook_views_pre_execute function core/modules/views/views.api.php Act on the view after the query is built and just before it is executed.
hook_views_pre_render function core/modules/views/views.api.php Act on the view immediately before rendering it.
hook_views_pre_view function core/modules/views/views.api.php Alter a view at the very beginning of Views processing.
hook_views_query_alter function core/modules/views/views.api.php Alter the query before it is executed.
hook_views_query_substitutions function core/modules/views/views.api.php Replace special strings in the query before it is executed.
hook_views_ui_display_tab_alter function core/modules/views_ui/views_ui.api.php Alter the renderable array representing the edit page for one display.
hook_views_ui_display_top_alter function core/modules/views_ui/views_ui.api.php Alter the top of the display for the Views UI.
hook_views_ui_display_top_links_alter function core/modules/views_ui/views_ui.api.php Alter the links displayed at the top of the view edit form.
HtmlRenderer::invokePageAttachmentHooks function core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php Invokes the page attachment hooks.
InfoHookDecorator class core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php Allows info hook implementations to enhance discovered plugin definitions.
InfoHookDecorator.php file core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php
InfoHookDecorator::$decorated property core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php The Discovery object being decorated.
InfoHookDecorator::$hook property core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php The name of the info hook that will be implemented by this discovery instance.
InfoHookDecorator::getDefinitions function core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php Gets the definition of all plugins for this type.
InfoHookDecorator::__call function core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php Passes through all unknown calls onto the decorated object.
InfoHookDecorator::__construct function core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php Constructs a InfoHookDecorator object.
InstallerExistingConfigProfileHookInstall class core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstall.php Verifies that profiles with hook_install() can't be installed from config.
InstallerExistingConfigProfileHookInstall.php file core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstall.php
InstallerExistingConfigProfileHookInstall::$profile property core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstall.php This is set by the profile in the core.extension extracted.
InstallerExistingConfigProfileHookInstall::getConfigTarball function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstall.php Gets the filepath to the configuration tarball.
InstallerExistingConfigProfileHookInstall::setUpSettings function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstall.php Installer step: Configure settings.
InstallerExistingConfigProfileHookInstall::setUpSite function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstall.php Final installer step: Configure site.
InstallerExistingConfigProfileHookInstall::testConfigSync function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstall.php Confirms the installation has failed and the expected error is displayed.
InstallerExistingConfigProfileHookInstall::visitInstaller function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstall.php Visits the interactive installer.
InstallerExistingConfigSyncDirectoryProfileHookInstall class core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstall.php Verifies that profiles with hook_install() can't be installed from config.
InstallerExistingConfigSyncDirectoryProfileHookInstall.php file core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstall.php
InstallerExistingConfigSyncDirectoryProfileHookInstall::$defaultTheme property core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstall.php The theme to install as the default for testing.
InstallerExistingConfigSyncDirectoryProfileHookInstall::$existingSyncDirectory property core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstall.php @todo
InstallerExistingConfigSyncDirectoryProfileHookInstall::$profile property core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstall.php This is set by the profile in the core.extension extracted.
InstallerExistingConfigSyncDirectoryProfileHookInstall::getConfigTarball function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstall.php Gets the filepath to the configuration tarball.
InstallerExistingConfigSyncDirectoryProfileHookInstall::setUpProfile function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstall.php Installer step: Select installation profile.
InstallerExistingConfigSyncDirectoryProfileHookInstall::setUpRequirementsProblem function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstall.php Installer step: Requirements problem.
InstallerExistingConfigSyncDirectoryProfileHookInstall::setUpSettings function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstall.php Installer step: Configure settings.
InstallerExistingConfigSyncDirectoryProfileHookInstall::setUpSite function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstall.php Final installer step: Configure site.
InstallerExistingConfigSyncDirectoryProfileHookInstall::testConfigSync function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstall.php Tests installing from config is not available due to hook_INSTALL().
InstallerExistingConfigSyncDirectoryProfileHookInstall::visitInstaller function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstall.php Visits the interactive installer.
InstallerProfileRequirementsTest::testHookRequirementsFailure function core/tests/Drupal/FunctionalTests/Installer/InstallerProfileRequirementsTest.php Assert that the profile failed hook_requirements().
InvalidUpdateHookTest class core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php Tests that a module implementing hook_update_8000() causes an error to be
displayed on update.
InvalidUpdateHookTest.php file core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php
InvalidUpdateHookTest::$defaultTheme property core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php The theme to install as the default for testing.
InvalidUpdateHookTest::$modules property core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php Modules to enable.
InvalidUpdateHookTest::$updateUrl property core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php URL for the upgrade script.

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