Search for hook

  1. Search 7.x for hook
  2. Search 8.9.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
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
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 an 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
InstallerExistingConfigProfileHookInstall::getConfigTarball function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstall.php
InstallerExistingConfigProfileHookInstall::setUpRequirementsProblem function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstall.php
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
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
InstallerExistingConfigSyncDirectoryProfileHookInstall::$existingSyncDirectory property core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstall.php
InstallerExistingConfigSyncDirectoryProfileHookInstall::$profile property core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstall.php
InstallerExistingConfigSyncDirectoryProfileHookInstall::getConfigTarball function core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryProfileHookInstall.php
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
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 hook_update_8000() is disallowed.
InvalidUpdateHookTest.php file core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php
InvalidUpdateHookTest::$defaultTheme property core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php
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.
InvalidUpdateHookTest::$updateUser property core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php A user account with upgrade permission.
InvalidUpdateHookTest::setUp function core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php
InvalidUpdateHookTest::testInvalidUpdateHook function core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php
JsonApiRegressionTest::testGetNodeCollectionWithHookNodeGrantsImplementationsFromIssue2984964 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensures GETting node collection + hook_node_grants() implementations works.
LanguageEntityFieldAccessHookTest class core/modules/language/tests/src/Functional/LanguageEntityFieldAccessHookTest.php Tests language picker compatibility with hook_entity_field_access.
LanguageEntityFieldAccessHookTest.php file core/modules/language/tests/src/Functional/LanguageEntityFieldAccessHookTest.php
LanguageEntityFieldAccessHookTest::$defaultTheme property core/modules/language/tests/src/Functional/LanguageEntityFieldAccessHookTest.php The theme to install as the default for testing.
LanguageEntityFieldAccessHookTest::$modules property core/modules/language/tests/src/Functional/LanguageEntityFieldAccessHookTest.php Modules to enable.
LanguageEntityFieldAccessHookTest::testHookEntityFieldAccess function core/modules/language/tests/src/Functional/LanguageEntityFieldAccessHookTest.php Tests compatibility with hook_entity_field_access().
Layout::$theme_hook property core/lib/Drupal/Core/Layout/Annotation/Layout.php The theme hook used to render this layout.
LayoutDefinition::$theme_hook property core/lib/Drupal/Core/Layout/LayoutDefinition.php The theme hook used to render this layout.
LayoutDefinition::getThemeHook function core/lib/Drupal/Core/Layout/LayoutDefinition.php Gets the theme hook.
LayoutDefinition::setThemeHook function core/lib/Drupal/Core/Layout/LayoutDefinition.php Sets the theme hook.
LibraryDiscoveryIntegrationTest::testHookLibraryInfoByTheme function core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php Tests that hook_library_info is invoked and the cache is cleared.
LinkGenerationTest::testHookLinkAlter function core/tests/Drupal/KernelTests/Core/Url/LinkGenerationTest.php Tests how hook_link_alter() can affect escaping of the link text.
LinkGeneratorTest::testGenerateWithAlterHook function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests altering the URL object using hook_link_alter().
MediaTemplateSuggestionsTest::testMediaThemeHookSuggestions function core/modules/media/tests/src/Functional/MediaTemplateSuggestionsTest.php Tests template suggestions from media_theme_suggestions_media().

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