Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
bcfc0e65
Commit
bcfc0e65
authored
Apr 18, 2007
by
Steven Wittens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix formatting of doxygen for drupal_parse_info_file() (for api.drupal.org).
parent
552e2cbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
17 deletions
+26
-17
includes/common.inc
includes/common.inc
+26
-17
No files found.
includes/common.inc
View file @
bcfc0e65
...
...
@@ -2489,24 +2489,32 @@ function drupal_common_themes() {
* Files should use an ini-like format to specify values.
* White-space generally doesn't matter, except inside values.
* e.g.
* key = value
* key = "value"
* key = 'value'
* key = "multi-line
*
* value"
* key = 'multi-line
* @verbatim
* key = value
* key = "value"
* key = 'value'
* key = "multi-line
*
* value'
* value"
* key = 'multi-line
*
* value'
* key
* =
* 'value'
* @endverbatim
*
* Arrays are created using a GET-like syntax:
*
* key[] = "numeric array"
* key[index] = "associative array"
* key[index][] = "nested numeric array"
* key[index][index] = "nested associative array"
* @verbatim
* key[] = "numeric array"
* key[index] = "associative array"
* key[index][] = "nested numeric array"
* key[index][index] = "nested associative array"
* @endverbatim
*
* PHP constants are substituted in, but only when used as the entire value
.
* PHP constants are substituted in, but only when used as the entire value
:
*
* Comments should start with a semi-colon at the beginning of a line.
*
...
...
@@ -2514,19 +2522,20 @@ function drupal_common_themes() {
* variable_get() and variable_set() for that.
*
* Information stored in the module.info file:
* name - The real name of the module for display purposes.
* description - A brief description of the module.
* dependencies - An array of short names (shortname) of other modules this
* module depends on.
* package - The name of the package of modules this module belongs to.
* - name: The real name of the module for display purposes.
* - description: A brief description of the module.
* - dependencies: An array of shortnames of other modules this module depends on.
* - package: The name of the package of modules this module belongs to.
*
* Example of .info file:
* @verbatim
* name = Forum
* description = Enables threaded discussions about general topics.
* dependencies[] = taxonomy
* dependencies[] = comment
* package = Core - optional
* version = VERSION
* @endverbatim
*
* @param $filename
* The file we are parsing. Accepts file with relative or absolute path.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment