Functions - main - drupal
| Title | Deprecated | File name | Summary | Direct uses | Strings |
|---|---|---|---|---|---|
| hook_options_list_alter | core/ |
Alters the list of options to be displayed for a field. | |||
| hook_page_attachments | core/ |
Add attachments (typically assets) to a page before it is rendered. | 1 | ||
| hook_page_attachments_alter | core/ |
Alter attachments (typically assets) to a page before it is rendered. | 1 | ||
| hook_page_bottom | core/ |
Add a renderable array to the bottom of the page. | |||
| hook_page_top | core/ |
Add a renderable array to the top of the page. | |||
| hook_plugin_filter_TYPE_alter | core/ |
Alter the filtering of plugin definitions for a specific plugin type. | |||
| hook_plugin_filter_TYPE__CONSUMER_alter | core/ |
Alter the filtering of plugin definitions for a specific type and consumer. | |||
| hook_post_update_NAME | core/ |
Executes an update which is intended to update data, like entities. | |||
| hook_preprocess | core/ |
Preprocess theme variables for templates. | |||
| hook_preprocess_HOOK | core/ |
Preprocess theme variables for a specific theme hook. | |||
| hook_query_alter | core/ |
Perform alterations to a structured query. | |||
| hook_query_TAG_alter | core/ |
Perform alterations to a structured query for a given tag. | |||
| hook_queue_info_alter | core/ |
Alter cron queue information before cron runs. | |||
| hook_rebuild | core/ |
Rebuild data based upon refreshed caches. | |||
| hook_removed_post_updates | core/ |
Return an array of removed hook_post_update_NAME() function names. | |||
| hook_render_template | core/ |
Render a template using the theme engine. | |||
| hook_requirements | core/ |
Check installation requirements and do status reporting. | |||
| hook_requirements_alter | core/ |
Alters requirements data. | |||
| hook_rest_resource_alter | core/ |
Alter the resource plugin definitions. | |||
| hook_runtime_requirements | core/ |
Check runtime requirements and do status reporting. | |||
| hook_runtime_requirements_alter | core/ |
Alters runtime requirements data. | |||
| hook_schema | core/ |
Define the current version of the database schema. | |||
| hook_search_plugin_alter | core/ |
Alter search plugin definitions. | |||
| hook_search_preprocess | core/ |
Preprocess text for search. | |||
| hook_shortcut_default_set | core/ |
Return the name of a default shortcut set for the provided user account. | |||
| hook_system_breadcrumb_alter | core/ |
Perform alterations to the breadcrumb built by the BreadcrumbManager. | |||
| hook_system_info_alter | core/ |
Alter the information parsed from module and theme .info.yml files. | |||
| hook_system_themes_page_alter | core/ |
Alters theme operation links. | |||
| hook_template_preprocess_default_variables_alter | core/ |
Alter the default variables for all templates. | |||
| hook_theme | core/ |
Register a module or theme's theme implementations. | |||
| hook_themes_installed | core/ |
Respond to themes being installed. | |||
| hook_themes_uninstalled | core/ |
Respond to themes being uninstalled. | |||
| hook_theme_registry_alter | core/ |
Alter the theme registry information returned from hook_theme(). | |||
| hook_theme_suggestions_alter | core/ |
Alters named suggestions for all theme hooks. | |||
| hook_theme_suggestions_HOOK | core/ |
Provides alternate named suggestions for a specific theme hook. | |||
| hook_theme_suggestions_HOOK_alter | core/ |
Alters named suggestions for a specific theme hook. | |||
| hook_tokens | core/ |
Provide replacement values for placeholder tokens. | |||
| hook_tokens_alter | core/ |
Alter replacement values for placeholder tokens. | |||
| hook_token_info | core/ |
Provide information about available placeholder tokens and token types. | |||
| hook_token_info_alter | core/ |
Alter the metadata about available placeholder tokens and token types. | |||
| hook_toolbar | core/ |
Add items to the toolbar menu. | |||
| hook_toolbar_alter | core/ |
Alter the toolbar menu after hook_toolbar() is invoked. | |||
| hook_transliteration_overrides_alter | core/ |
Provide language-specific overrides for transliteration. | |||
| hook_uninstall | core/ |
Remove any information that the module sets. | |||
| hook_update_dependencies | core/ |
Return an array of information about module update dependencies. | |||
| hook_update_last_removed | core/ |
Return a number which is no longer available as hook_update_N(). | |||
| hook_update_N | core/ |
Perform a single update between minor versions. | |||
| hook_update_projects_alter | core/ |
Alter the list of projects before fetching data and comparing versions. | |||
| hook_update_requirements | core/ |
Check requirements before running database updates. | |||
| hook_update_requirements_alter | core/ |
Alters update requirements data. |
Pagination
- Previous page
- Page 8
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.