In line numbers 1961, 1962 in modules/system/system.api.php:

1961: * hook_form_FORM_ID_alter() is called at the right time, you will have to
1962: * have to change the order of hook_form_alter() implementation in

the

1961: ... have to
1962: * have to change ...

should be just

1961: ... have to
1962: * change ...

Please correct.

CommentFileSizeAuthor
#1 doc_fix_repeating_have_to-1802844-1.patch650 bytesantojose
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

antojose’s picture

Assigned: antojose » Unassigned
Status: Active » Needs review
FileSize
650 bytes

Submitting patch for fixing the same.
Patch doc_fix_repeating_have_to-1802844-1.patch attached.

Here's the listing:

diff --git a/modules/system/system.api.php b/modules/system/system.api.php
index 7bf637e..fe08741 100644
--- a/modules/system/system.api.php
+++ b/modules/system/system.api.php
@@ -1980,7 +1980,7 @@ function hook_mail_alter(&$message) {
  * purposes of hook_module_implements_alter(), these variants are treated as
  * a single hook. Thus, to ensure that your implementation of
  * hook_form_FORM_ID_alter() is called at the right time, you will have to
- * have to change the order of hook_form_alter() implementation in
+ * change the order of hook_form_alter() implementation in
  * hook_module_implements_alter().
  *
  * @param $implementations
webchick’s picture

Version: 7.15 » 8.x-dev
Status: Needs review » Fixed
Issue tags: +Needs backport to D7

Ohhh, but you REALLY have to have to! :D

Nice catch! Committed and pushed to 8.x and 7.x. Thanks!

antojose’s picture

;)

antojose’s picture

Status: Fixed » Closed (fixed)

The fix has gone into the repositories.

Marking the ticket as 'Closed(fixed)'. Please correct me if otherwise.

webchick’s picture

Sure, there's nothing wrong with doing that, but note that the "System message" bot will do so automatically after a fixed issue hasn't been followed-up on after 2 weeks. :)

antojose’s picture

Thank You! :)

antojose’s picture

Issue summary: View changes

Added formatting to the code.