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

(cherry picked from commit 07d8516387)
merge-requests/64/head
Alex Pott 2019-11-14 13:37:40 +00:00
parent 9ec0e09ccc
commit 5bc0e1bd55
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
1 changed files with 4 additions and 4 deletions

View File

@ -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)