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.
Problem/Motivation
From #1315886: Clean up API docs for includes directory, files starting with A-C. There are optional parameters that are not documented correctly in the following files:
- actions.inc
- ajax.inc
- archiver.inc
- authorize.inc
- bootstrap.inc
- cache.inc
- common.inc
Proposed resolution
Clean up the documentation of optional parameters in these files.
Remaining tasks
Postponed for #1326456: Add missing @param in includes A-C, plus other corrections to some docblocks.
Comments
Comment #1
Lars Toomre CreditAttribution: Lars Toomre commentedThe patch now in #1333534-1: Further cleanup for documentation in core/includes files starting with A-G contains a number of fixes for '(optional)' formatting issues.
It does not include the missing '(optional)' indicator for those cases where one has to look at the function profile.
Since there appear to be fewer of those cases, I might suggest that we expand this issue for all A-G includes/ files?
My hope is that we can get #1315886: Clean up API docs for includes directory, files starting with A-C and includes/ D-G committed, then #1333534: Further cleanup for documentation in core/includes files starting with A-G and then we can turn to this issue.
Comment #2
xjmI deliberately made the scope and grouping match the sprint. Also, documentation cleanups might not go in right now, because we are over bug count thresholds.
Comment #3
xjmComment #3.0
xjmUpdated issue summary.
Comment #4
jhodgdonI'm closing very old coding standards fixup issues. They are being addressed on other issues mostly.