class VfsInfoParser in Drupal 8
Hierarchy
- class \Drupal\Core\Extension\InfoParserDynamic implements InfoParserInterface
- class \Drupal\Core\Extension\InfoParser
- class \Drupal\KernelTests\Core\Theme\VfsInfoParser
- class \Drupal\Core\Extension\InfoParser
Expanded class hierarchy of VfsInfoParser
File
- core/
tests/ Drupal/ KernelTests/ Core/ Theme/ BaseThemeDefaultDeprecationTest.php, line 148
Namespace
Drupal\KernelTests\Core\ThemeView source
class VfsInfoParser extends InfoParser {
/**
* {@inheritdoc}
*/
public function parse($filename) {
return parent::parse("vfs://core/{$filename}");
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
InfoParser:: |
protected static | property | Array of all info keyed by filename. | |
InfoParserDynamic:: |
protected | property | The root directory of the Drupal installation. | |
InfoParserDynamic:: |
constant | The earliest Drupal version that supports the 'core_version_requirement'. | ||
InfoParserDynamic:: |
protected static | function | Gets all the versions of Drupal 8 before a specific version. | |
InfoParserDynamic:: |
protected | function | Returns an array of keys required to exist in .info.yml file. | |
InfoParserDynamic:: |
protected static | function | Determines if a constraint is satisfied by earlier versions of Drupal 8. | |
InfoParserDynamic:: |
public | function | InfoParserDynamic constructor. | |
VfsInfoParser:: |
public | function |
Parses Drupal module, theme and profile .info.yml files. Overrides InfoParser:: |