public function FilebrowserValidator::blackListed in Filebrowser 8.2
Same name and namespace in other branches
- 3.x src/Services/FilebrowserValidator.php \Drupal\filebrowser\Services\FilebrowserValidator::blackListed()
File
- src/
Services/ FilebrowserValidator.php, line 43
Class
Namespace
Drupal\filebrowser\ServicesCode
public function blackListed($file, $pattern) {
return trim($pattern) != '' && $this
->matchPath($file, $pattern);
}