function InfoParser::parse
Overrides InfoParserDynamic::parse
File
-
core/
lib/ Drupal/ Core/ Extension/ InfoParser.php, line 20
Class
- InfoParser
- Parses extension .info.yml files.
Namespace
Drupal\Core\ExtensionCode
public function parse($filename) {
if (!isset(static::$parsedInfos[$filename])) {
static::$parsedInfos[$filename] = parent::parse($filename);
}
return static::$parsedInfos[$filename];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.