function StreamWrapperManagerInterface::getClass
Same name in other branches
- 8.9.x core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::getClass()
- 10 core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::getClass()
- 11.x core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::getClass()
Returns the stream wrapper class name for a given scheme.
Parameters
string $scheme: Stream scheme.
Return value
string|bool Return string if a scheme has a registered handler, or FALSE.
1 method overrides StreamWrapperManagerInterface::getClass()
- StreamWrapperManager::getClass in core/
lib/ Drupal/ Core/ StreamWrapper/ StreamWrapperManager.php - Returns the stream wrapper class name for a given scheme.
File
-
core/
lib/ Drupal/ Core/ StreamWrapper/ StreamWrapperManagerInterface.php, line 158
Class
- StreamWrapperManagerInterface
- Provides a StreamWrapper manager.
Namespace
Drupal\Core\StreamWrapperCode
public function getClass($scheme);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.