class IgnoredPathsIteratorFilter in Automatic Updates 8
Provides an iterator filter for file paths which are ignored.
Hierarchy
- class \Drupal\automatic_updates\IgnoredPathsIteratorFilter extends \Drupal\automatic_updates\FilterIterator uses IgnoredPathsTrait
Expanded class hierarchy of IgnoredPathsIteratorFilter
2 files declare their use of IgnoredPathsIteratorFilter
- ModifiedFiles.php in src/
ReadinessChecker/ ModifiedFiles.php - ModifiedFilesController.php in tests/
modules/ test_automatic_updates/ src/ Controller/ ModifiedFilesController.php
File
- src/
IgnoredPathsIteratorFilter.php, line 8
Namespace
Drupal\automatic_updatesView source
class IgnoredPathsIteratorFilter extends \FilterIterator {
use IgnoredPathsTrait;
/**
* {@inheritdoc}
*/
public function accept() {
return !$this
->isIgnoredPath($this
->current());
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
IgnoredPathsIteratorFilter:: |
public | function | ||
IgnoredPathsTrait:: |
protected | function | Gets the config factory. | |
IgnoredPathsTrait:: |
protected | function | Get the path matcher service. | |
IgnoredPathsTrait:: |
protected | function | Check if the file path is ignored. |