Skip to content
Snippets Groups Projects
Commit e135e3e2 authored by Jennifer Hodgdon's avatar Jennifer Hodgdon
Browse files

Issue #2001180 by frob: Change reference to variable get/set to Config class...

Issue #2001180 by frob: Change reference to variable get/set to Config class in drupal_parse_info_file docs
parent 334b3d7f
No related branches found
No related tags found
No related merge requests found
...@@ -5486,9 +5486,9 @@ function element_set_attributes(array &$element, array $map) { ...@@ -5486,9 +5486,9 @@ function element_set_attributes(array &$element, array $map) {
* Parses Drupal module and theme .info.yml files. * Parses Drupal module and theme .info.yml files.
* *
* Info files are NOT for placing arbitrary theme and module-specific settings. * Info files are NOT for placing arbitrary theme and module-specific settings.
* Use variable_get() and variable_set() for that. Info files are formatted as * Use Config::get() and Config::set()->save() for that. Info files are
* YAML. If the 'version' key is set to 'VERSION' in any info file, then the * formatted as YAML. If the 'version' key is set to 'VERSION' in any info file,
* value will be substituted with the current version of Drupal core. * then the value will be substituted with the current version of Drupal core.
* *
* Information stored in a module .info.yml file: * Information stored in a module .info.yml file:
* - name: The real name of the module for display purposes. * - name: The real name of the module for display purposes.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment