* Note that for performance reasons, this method is only invoked for forms,
   * which receive the entity_type as first argument. Thus any forms added, must
   * follow that pattern.

The comma after 'forms' is crucial to meaning. Right now the sentence means ALL forms -- I assume what it's trying to say is ONLY the forms which receive the entity_type as first argument. For it to mean that, remove the comma. With the comma, you are adding information (like saying "for forms, which by the way..."), but without it you are specifying.

The comma after 'added' is incorrect too, but doesn't affect meaning.

Patch coming.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joachim’s picture

Status: Active » Needs review
FileSize
686 bytes

Here's the patch.

Status: Needs review » Needs work

The last submitted patch, 977372.entity.hook_forms-commas.patch, failed testing.

joachim’s picture

Bot is clearly on crack today :/

joachim’s picture

Status: Needs work » Needs review

Back to review.

klausi’s picture

Status: Needs review » Needs work

Make sure that you create your patches with git diff --no-prefix

jacob.embree’s picture

Issue summary: View changes
Status: Needs work » Needs review
FileSize
696 bytes

Reroll but fixes a misplaced modifier in the same sentence.

joachim’s picture

Status: Needs review » Reviewed & tested by the community

Looks good. Thanks for the reroll!

fago’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, committed.

  • jacob.embree authored a9790ee on 7.x-1.x
    Issue #977372 by joachim, jacob.embree: grammar in docs - stray commas
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.