W3cubDocs

/Drupal 8

class InfoParser

Parses extension .info.yml files.

Hierarchy

File

core/lib/Drupal/Core/Extension/InfoParser.php, line 8

Namespace

Drupal\Core\Extension

Members

Name Modifiers Type Description
InfoParser::$parsedInfos protected static property Array of all info keyed by filename.
InfoParser::parse public function Parses Drupal module, theme and profile .info.yml files. Overrides InfoParserDynamic::parse
InfoParserDynamic::getRequiredKeys protected function Returns an array of keys required to exist in .info.yml file.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Extension!InfoParser.php/class/InfoParser/8.1.x