Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
After being applied to the 8.x branch, it should be considered for backport to the 7.x branch. Note: This tag should generally remain even after the backport has been written, approved, and committed.
Here'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()
I 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. :)
+++ b/profiles/minimal/minimal.installundefined
@@ -1,9 +1,16 @@
+/**
+ * @file
+ * Install, update and uninstall functions for the the minimal install profile.
+ */
+
This actually adds one more newline than we need.
+++ b/profiles/minimal/minimal.profileundefined
@@ -1,7 +1,12 @@
+ * Enables modules and site configuration for a minimal site installation.
+ **/
Comments
Comment #1
bartlantz commentedHere's a patch to clean up API docs in the profiles directory.
Thanks,
Bart
Comment #2
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 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 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 commentedYes, I still do, here it is.
Comment #9
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 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 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 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! :)