Unverified Commit 07d85163 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3085343 by peterkokot: Hooks page wrong system.api.php link

parent e86eeda5
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1595,10 +1595,10 @@
 *   files, by defining functions whose name starts with "hook_" (these
 *   files and their functions are never loaded by Drupal -- they exist solely
 *   for documentation). The function should have a documentation header, as
 *   well as a sample function body. For example, in the core file
 *   system.api.php, you can find hooks such as hook_batch_alter(). Also, if
 *   you are viewing this documentation on an API reference site, the Core
 *   hooks will be listed in this topic.
 *   well as a sample function body. For example, in the core file form.api.php,
 *   you can find hooks such as hook_batch_alter(). Also, if you are viewing
 *   this documentation on an API reference site, the Core hooks will be listed
 *   in this topic.
 * - Copy the function to your module's .module file.
 * - Change the name of the function, substituting your module's short name
 *   (name of the module's directory, and .info.yml file without the extension)