function GenerateTheme::createFilesFinder
Same name in other branches
- 11.x core/lib/Drupal/Core/Command/GenerateTheme.php \Drupal\Core\Command\GenerateTheme::createFilesFinder()
File
-
core/
lib/ Drupal/ Core/ Command/ GenerateTheme.php, line 235
Class
- GenerateTheme
- Generates a new theme based on latest default markup.
Namespace
Drupal\Core\CommandCode
private static function createFilesFinder(string $dir) : Finder {
return (new Finder())->in($dir)
->files();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.