Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
bcfc0e65
Commit
bcfc0e65
authored
Apr 18, 2007
by
Steven Wittens
Browse files
Fix formatting of doxygen for drupal_parse_info_file() (for api.drupal.org).
parent
552e2cbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
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