YamlDiscovery

Provides discovery for YAML files within a given set of directories.

This overrides the Component file decoding with the Core YAML implementation.

Hierarchy

File

core/lib/Drupal/Core/Discovery/YamlDiscovery.php, line 13

Namespace

Drupal\Core\Discovery

Members

Name Modifiers Type Description
YamlDiscovery::$directories protected property An array of directories to scan, keyed by the provider.
YamlDiscovery::$name protected property The base filename to look for in each directory.
YamlDiscovery::decode protected function Decode a YAML file. Overrides YamlDiscovery::decode
YamlDiscovery::findAll public function Returns an array of discoverable items. Overrides DiscoverableInterface::findAll
YamlDiscovery::findFiles protected function Returns an array of file paths, keyed by provider.
YamlDiscovery::__construct public function Constructs a YamlDiscovery object.
doc_Drupal
2016-10-29 09:56:56
Comments
Leave a Comment

Please login to continue.