I'm looking into template files for theming purposes, and often at the beginning of the file there is a // $Id$ mark.

Could you explain me what it mean, and what the purpose of it is?

1 Answer 1


It is a placeholder, that is automatically replaced by CVS and then contains information about CVS version, author and so on of the file. For more information, see http://badgertronics.com/writings/cvs/keywords.html.

Since Drupal.org recently switched to Git as the version control system, this tag is now completely irrelevant so it can and should be removed. In fact, it has been removed automatically during the CVS -> Git migration for all modules on drupal.org

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.