This patch updates the "Implementation of hook_NAME()." text in the code comments found in Drupal's core modules. Thanks to Morbus and chx for Drupal Tough Love, where I've learned that no coding style violation is too small to go unnoticed.

For the most part all I did here was add a period to end the line. "Implementation of hook_theme()" was the most common string missing a period.

Why do user.module and node.module sometimes include "Implementation of a Drupal action" in the code comments and not include the function name?

Comments

morbus iff’s picture

Status: Needs review » Reviewed & tested by the community

I'd like to point out that most of these errors are the direct result of new hooks inside Drupal 6. It's just something that wasn't caught before, but it does indicate that core has been pretty careful about following the suggested guideline of a period at the end.

catch’s picture

Status: Reviewed & tested by the community » Needs work

No longer applies.

dmitrig01’s picture

Status: Needs work » Needs review
StatusFileSize
new8.12 KB

Re-rolled

cburschka’s picture

Status: Needs review » Reviewed & tested by the community

Looks like that takes care of all of them.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Yay.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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