protected ExtensionDiscovery::getInfoParser()
Returns a parser for .info.yml files.
Return value
\Drupal\Core\Extension\InfoParser The InfoParser instance.
File
- core/lib/Drupal/Core/Extension/ExtensionDiscovery.php, line 512
Class
- ExtensionDiscovery
- Discovers available extensions in the filesystem.
Namespace
Drupal\Core\Extension
Code
protected function getInfoParser() { if (!isset($this->infoParser)) { $this->infoParser = new InfoParser(); } return $this->infoParser; }
Please login to continue.