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.
Part of meta-issue #1310084: [meta] API documentation cleanup sprint
Part of meta-issue #1310084: [meta] API documentation cleanup sprint
Comments
Comment #1
bartlantz CreditAttribution: bartlantz commentedHere's a patch to clean up API docs in the profiles directory.
Thanks,
Bart
Comment #2
bartlantz CreditAttribution: bartlantz commentedHere's a better patch, in the previous one I didn't document the hook definitions correctly. This patch replaces the one above and adds this line to the hook definitions:
Implements hook_form_FORM_ID_alter() for install_configure_form()
Thanks,
Bart
Comment #3
tstoecklerThat's not correct. It's more the other way around.
"Installation profile for tests."
-11 days to next Drupal core point release.
Comment #4
bartlantz CreditAttribution: bartlantz commentedAha, that makes more sense! Okay, I fixed the description of the testing.profile. It now says, "Installation profile for tests."
Comment #5
tstoecklerCool stuff!
Thanks for the quick re-roll.
Comment #6
aspilicious CreditAttribution: aspilicious commentedI can't open the last patch o_O
Comment #7
jhodgdonuh oh, me neither. bartlantz I hope you still have a copy of it...
Comment #8
bartlantz CreditAttribution: bartlantz commentedYes, I still do, here it is.
Comment #9
bartlantz CreditAttribution: bartlantz commentedwhoops, forgot to change status to needs review. Was the file unavailable on drupal or is there a problem with the patch?
Comment #10
aspilicious CreditAttribution: aspilicious commentedYou don't need to upload it again when you forgot to change the status, it will test the last patch after changing the status.
Comment #11
jhodgdonbarlantz: it looks like Drupal.org lost the previous upload. Not sure why. Thanks for re-uploading.
Comment #12
jhodgdonThis looks fine, thanks!
Comment #13
webchickI found a couple of minor things, which I could just fix on commit, but since this is your first(?) core patch, I wanted to give you the opportunity to do so. :)
This actually adds one more newline than we need.
one too many *s on the */ line.
Here you've left a newline between <?php and /** but elsewhere you don't. It should be consistent.
Comment #14
bartlantz CreditAttribution: bartlantz commentedCool, thanks! Here's a patch with the fixes.
Comment #15
jhodgdonLooks good, thanks! The three issues identified in #13 (which I missed, sorry!) are fixed.
Comment #16
webchickMoving to Jennifer's RTBC pile. :)
Comment #17
jhodgdonCommitted to 8.x! Moving to 7.x for backport.
Comment #18
xjmBackporting this would be a good novice issue. Should be simple; I didn't see any D8-specific changes on a quick skim.
Comment #19
bartlantz CreditAttribution: bartlantz commentedHere's the patch backported to 7.x.
thanks,
Bart
Comment #20
xjmBackport looks fine too. Thanks @bartlantz!
Comment #21
jhodgdonCommitted to 7.x -- Another API docs cleanup done! :)