function InfoParser::parse
Same name in other branches
- 9 core/lib/Drupal/Core/Extension/InfoParser.php \Drupal\Core\Extension\InfoParser::parse()
- 8.9.x core/lib/Drupal/Core/Extension/InfoParser.php \Drupal\Core\Extension\InfoParser::parse()
- 11.x core/lib/Drupal/Core/Extension/InfoParser.php \Drupal\Core\Extension\InfoParser::parse()
Overrides InfoParserDynamic::parse
File
-
core/
lib/ Drupal/ Core/ Extension/ InfoParser.php, line 44
Class
- InfoParser
- Parses extension .info.yml files.
Namespace
Drupal\Core\ExtensionCode
public function parse($filename) {
$data = $this->fileCache
->get($filename);
if ($data === NULL) {
$data = parent::parse($filename);
$this->fileCache
->set($filename, $data);
}
return $data;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.