public function AlterExcludedPathsEvent::removeExcludedPath in Stage File Proxy 8
Adds an excluded path to the excluded paths array.
Parameters
string $excluded_path: The excluded path string to add.
File
- src/
EventDispatcher/ AlterExcludedPathsEvent.php, line 67
Class
- AlterExcludedPathsEvent
- Class AlterExcludedPathsEvent.
Namespace
Drupal\stage_file_proxy\EventDispatcherCode
public function removeExcludedPath($excluded_path) {
foreach (array_keys($this->excludedPaths, $excluded_path) as $key) {
unset($this->excludedPaths[$key]);
}
}