Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 360 Vote(s) - 3.49 Average
  • 1
  • 2
  • 3
  • 4
  • 5
comment in .info file of Drupal

#1
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.
Reply

#2
you can use the semicolon:

; This is a comment
Reply

#3
The character used as comment delimiter is reported in [Writing .info files (Drupal 6.x)][1]:

> 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)][2]) 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.





[1]:

[To see links please register here]

[2]:

[To see links please register here]

Reply

#4
For Drupal 7 info files extension is **.info**



> ; commented line

Similarly, for Drupal 8 info files extension is **.info.yml**

> # commented line

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through