protected YamlDiscovery::findFiles()
Returns an array of file paths, keyed by provider.
array
protected function findFiles() { $files = array(); foreach ($this->directories as $provider => $directory) { $file = $directory . '/' . $provider . '.' . $this->name . '.yml'; if (file_exists($file)) { $files[$provider] = $file; } } return $files; }
© 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!Component!Discovery!YamlDiscovery.php/function/YamlDiscovery::findFiles/8.1.x