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
1 2 3 4 5 6 | protected function getInfoParser() { if (!isset( $this ->infoParser)) { $this ->infoParser = new InfoParser(); } return $this ->infoParser; } |
Please login to continue.