Functions

Primary tabs

Name Location Description Direct usessort descending Strings
hook_hook_info drupal/core/modules/system/system.api.php Defines one or more hooks that are exposed by a module.
hook_admin_paths drupal/core/modules/system/system.api.php Define administrative paths.
hook_admin_paths_alter drupal/core/modules/system/system.api.php Redefine administrative paths defined by other modules.
hook_cron drupal/core/modules/system/system.api.php Perform periodic actions.
hook_data_type_info drupal/core/modules/system/system.api.php Defines available data types for the typed data API.
hook_data_type_info_alter drupal/core/modules/system/system.api.php Alter available data types for typed data wrappers.
hook_queue_info drupal/core/modules/system/system.api.php Declare queues holding items that need to be run periodically.
hook_queue_info_alter drupal/core/modules/system/system.api.php Alter cron queue information before cron runs.
hook_element_info drupal/core/modules/system/system.api.php Allows modules to declare their own Form API element types and specify their default values.
hook_element_info_alter drupal/core/modules/system/system.api.php Alter the element type information returned from modules.
hook_js_alter drupal/core/modules/system/system.api.php Perform necessary alterations to the JavaScript before it is presented on the page.
hook_library_info drupal/core/modules/system/system.api.php Registers JavaScript/CSS libraries associated with a module.
hook_library_info_alter drupal/core/modules/system/system.api.php Alters the JavaScript/CSS library registry.
hook_css_alter drupal/core/modules/system/system.api.php Alter CSS files before they are output on the page.
hook_ajax_render_alter drupal/core/modules/system/system.api.php Alter the commands that are sent to the user through the Ajax framework.
hook_page_build drupal/core/modules/system/system.api.php Add elements to a page before it is rendered.
hook_menu_get_item_alter drupal/core/modules/system/system.api.php Alter a menu router item right after it has been retrieved from the database or cache.
hook_menu drupal/core/modules/system/system.api.php Define menu items and page callbacks.
hook_local_actions drupal/core/modules/system/system.api.php Define route-based local actions.
hook_menu_alter drupal/core/modules/system/system.api.php Alter the data being saved to the {menu_router} table after hook_menu is invoked.
hook_menu_local_tasks drupal/core/modules/system/system.api.php Alter tabs and actions displayed on the page before they are rendered.
hook_menu_local_tasks_alter drupal/core/modules/system/system.api.php Alter tabs and actions displayed on the page before they are rendered.
hook_menu_breadcrumb_alter drupal/core/modules/system/system.api.php Alter links in the active trail before it is rendered as the breadcrumb.
hook_menu_contextual_links_alter drupal/core/modules/system/system.api.php Alter contextual links before they are rendered.
hook_page_alter drupal/core/modules/system/system.api.php Perform alterations before a page is rendered.
hook_form_alter drupal/core/modules/system/system.api.php Perform alterations before a form is rendered.
hook_form_FORM_ID_alter drupal/core/modules/system/system.api.php Provide a form-specific alteration instead of the global hook_form_alter().
hook_form_BASE_FORM_ID_alter drupal/core/modules/system/system.api.php Provide a form-specific alteration for shared ('base') forms.
hook_forms drupal/core/modules/system/system.api.php Map form_ids to form builder functions.
hook_mail_alter drupal/core/modules/system/system.api.php Alter an email message created with the drupal_mail() function.
hook_module_implements_alter drupal/core/modules/system/system.api.php Alter the registry of modules implementing a hook.
hook_system_theme_info drupal/core/modules/system/system.api.php Return additional themes provided by modules.
hook_system_info_alter drupal/core/modules/system/system.api.php Alter the information parsed from module and theme .info.yml files
hook_permission drupal/core/modules/system/system.api.php Define user permissions.
hook_theme drupal/core/modules/system/system.api.php Register a module (or theme's) theme implementations.
hook_theme_registry_alter drupal/core/modules/system/system.api.php Alter the theme registry information returned from hook_theme().
hook_template_preprocess_default_variables_alter drupal/core/modules/system/system.api.php Alter the default, hook-independent variables for all templates.
hook_custom_theme drupal/core/modules/system/system.api.php Return the machine-readable name of the theme to use for the current page.
hook_watchdog drupal/core/modules/system/system.api.php Log an event message.
hook_mail drupal/core/modules/system/system.api.php Prepare a message based on parameters; called from drupal_mail().
hook_cache_flush drupal/core/modules/system/system.api.php Flush all persistent and static caches.
hook_rebuild drupal/core/modules/system/system.api.php Rebuild data based upon refreshed caches.
hook_modules_preinstall drupal/core/modules/system/system.api.php Perform necessary actions before modules are installed.
hook_modules_preenable drupal/core/modules/system/system.api.php Perform necessary actions before modules are enabled.
hook_modules_installed drupal/core/modules/system/system.api.php Perform necessary actions after modules are installed.
hook_modules_enabled drupal/core/modules/system/system.api.php Perform necessary actions after modules are enabled.
hook_modules_disabled drupal/core/modules/system/system.api.php Perform necessary actions after modules are disabled.
hook_modules_uninstalled drupal/core/modules/system/system.api.php Perform necessary actions after modules are uninstalled.
hook_stream_wrappers drupal/core/modules/system/system.api.php Registers PHP stream wrapper implementations associated with a module.
hook_stream_wrappers_alter drupal/core/modules/system/system.api.php Alters the list of PHP stream wrapper implementations.

Pages

Other projects