how to put lines inside comment in
.info file type.
Does it differ if file used in Drupal? I found these files generally found in Drupal.
how to put lines inside comment in
.info file type.
Does it differ if file used in Drupal? I found these files generally found in Drupal.
The character used as comment delimiter is reported in Writing .info files (Drupal 6.x):
info files may contain comments. The comment character is the semi-colon and denotes a comment at the beginning of a line. CVS Ids used to be placed at the head of info files using a semicolon, but now that Drupal.org has moved to git they are no longer included.
The equivalent book page for Drupal 7 (Writing .info files (Drupal 7.x)) reports the following sentence:
info files may contain comments. A semi-colon [;] placed at the beginning of a line makes that line a comment, and that line will not be parsed.
For Drupal 7 info files extension is .info
; commented line
Similarly, for Drupal 8 info files extension is .info.yml
# commented line
© 2022 - 2024 — McMap. All rights reserved.