Search for hook_
- Search 7.x for hook_
- Search 9.5.x for hook_
- Search 10.3.x for hook_
- Search 11.x for hook_
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
HookDiscoveryTest::setUp | function | core/ |
|
HookDiscoveryTest::testGetDefinition | function | core/ |
Tests the getDefinition method with some plugins. |
HookDiscoveryTest::testGetDefinitions | function | core/ |
Tests the getDefinitions() method with some plugins. |
HookDiscoveryTest::testGetDefinitionsWithoutPlugins | function | core/ |
Tests the getDefinitions() method without any plugins. |
HookDiscoveryTest::testGetDefinitionWithUnknownID | function | core/ |
Tests the getDefinition method with an unknown plugin ID. |
HookHelpSection | class | core/ |
Provides the module topics list section for the help page. |
HookHelpSection.php | file | core/ |
|
HookHelpSection::$moduleHandler | property | core/ |
The module handler. |
HookHelpSection::create | function | core/ |
|
HookHelpSection::listTopics | function | core/ |
|
HookHelpSection::__construct | function | core/ |
Constructs a HookHelpSection object. |
HookRequirementsTest | class | core/ |
Attempts enabling a module that fails hook_requirements('install'). |
HookRequirementsTest.php | file | core/ |
|
HookRequirementsTest::$defaultTheme | property | core/ |
|
HookRequirementsTest::testHookRequirementsFailure | function | core/ |
Assert that a module cannot be installed if it fails hook_requirements(). |
Hooks | group | core/ |
Define functions that alter the behavior of Drupal core. |
hook_aggregator_fetcher_info_alter | function | core/ |
Perform alterations on the available fetchers. |
hook_aggregator_parser_info_alter | function | core/ |
Perform alterations on the available parsers. |
hook_aggregator_processor_info_alter | function | core/ |
Perform alterations on the available processors. |
hook_ajax_render_alter | function | core/ |
Alter the Ajax command data that is sent to the client. |
hook_archiver_info_alter | function | core/ |
Alter archiver information declared by other modules. |
hook_batch_alter | function | core/ |
Alter batch information before a batch is processed. |
hook_block_access | function | core/ |
Control access to a block instance. |
hook_block_build_alter | function | core/ |
Alter the result of \Drupal\Core\Block\BlockBase::build(). |
hook_block_build_BASE_BLOCK_ID_alter | function | core/ |
Provide a block plugin specific block_build alteration. |
hook_block_view_alter | function | core/ |
Alter the result of \Drupal\Core\Block\BlockBase::build(). |
hook_block_view_BASE_BLOCK_ID_alter | function | core/ |
Provide a block plugin specific block_view alteration. |
hook_cache_flush | function | core/ |
Flush all persistent and static caches. |
hook_ckeditor_css_alter | function | core/ |
Modify the list of CSS files that will be added to a CKEditor instance. |
hook_ckeditor_plugin_info_alter | function | core/ |
Modify the list of available CKEditor plugins. |
hook_comment_links_alter | function | core/ |
Alter the links of a comment. |
hook_config_import_steps_alter | function | core/ |
Alter the configuration synchronization steps. |
hook_config_schema_info_alter | function | core/ |
Alter config typed data definitions. |
hook_config_translation_info | function | core/ |
Introduce dynamic translation tabs for translation of configuration. |
hook_config_translation_info_alter | function | core/ |
Alter existing translation tabs for translation of configuration. |
hook_contextual_links_alter | function | core/ |
Alter contextual links before they are rendered. |
hook_contextual_links_plugins_alter | function | core/ |
Alter the plugin definition of contextual links. |
hook_contextual_links_view_alter | function | core/ |
Alter a contextual links element before it is rendered. |
hook_countries_alter | function | core/ |
Alter the default country list. |
hook_cron | function | core/ |
Perform periodic actions. |
hook_css_alter | function | core/ |
Alter CSS files before they are output on the page. |
hook_data_type_info_alter | function | core/ |
Alter available data types for typed data wrappers. |
hook_display_variant_plugin_alter | function | core/ |
Alter display variant plugin definitions. |
hook_editor_info_alter | function | core/ |
Performs alterations on text editor definitions. |
hook_editor_js_settings_alter | function | core/ |
Modifies JavaScript settings that are added for text editors. |
hook_editor_xss_filter_alter | function | core/ |
Modifies the text editor XSS filter that will used for the given text format. |
hook_element_info_alter | function | core/ |
Alter the element type information returned from modules. |
hook_element_plugin_alter | function | core/ |
Alter Element plugin definitions. |
hook_entity_access | function | core/ |
Control entity operation access. |
hook_entity_base_field_info | function | core/ |
Provides custom base field definitions for a content entity type. |
Pagination
- Previous page
- Page 4
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.