Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
API page: https://api.drupal.org/api/drupal/core%21modules%21system%21system.api.p...
The documentation for hook_schema()
needs improvement. It has at least the following issues:
- It doesn't specify its
@return
types. - It doesn't
@see
closely-related functions. - It has minor comment formatting issues.
Patch to follow.
Comment | File | Size | Author |
---|---|---|---|
#3 | drupal8.documentation.2061843-2.patch | 2.64 KB | TravisCarden |
#3 | word-diff-do-not-test.diff | 1.9 KB | TravisCarden |
#1 | drupal8.documentation.2061843-1.patch | 2.64 KB | TravisCarden |
#1 | word-diff.diff | 1.9 KB | TravisCarden |
Comments
Comment #1
TravisCarden CreditAttribution: TravisCarden commentedMost of the changes in the attached patch are merely justifying text to fill the available line length. A word-diff makes it easier to see at a glance that the text itself is not being changed, so I'm attaching one. Other than that, I think this is pretty self-explanatory.
Comment #3
TravisCarden CreditAttribution: TravisCarden commentedMmm. I was afraid the testbot might want to test the word-diff. Let's try again.
Comment #4
TravisCarden CreditAttribution: TravisCarden commentedComment #5
jhodgdonThanks! good to go.
Comment #6
jhodgdonThanks again! Committed to 8.x.
Comment #7
jhodgdonCommitted it to 7.x too.