public function StreamWrapperManager::isValidScheme in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php \Drupal\Core\StreamWrapper\StreamWrapperManager::isValidScheme()
- 9 core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php \Drupal\Core\StreamWrapper\StreamWrapperManager::isValidScheme()
File
- core/
lib/ Drupal/ Core/ StreamWrapper/ StreamWrapperManager.php, line 267
Class
- StreamWrapperManager
- Provides a StreamWrapper manager.
Namespace
Drupal\Core\StreamWrapperCode
public function isValidScheme($scheme) {
if (!$scheme) {
return FALSE;
}
return class_exists($this
->getClass($scheme));
}