function StreamWrapperInterface::setUri
Same name in other branches
- 9 core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php \Drupal\Core\StreamWrapper\StreamWrapperInterface::setUri()
- 8.9.x core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php \Drupal\Core\StreamWrapper\StreamWrapperInterface::setUri()
- 11.x core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php \Drupal\Core\StreamWrapper\StreamWrapperInterface::setUri()
Sets the absolute stream resource URI.
This allows you to set the URI. Generally is only called by the factory method.
Parameters
string $uri: A string containing the URI that should be used for this instance.
2 methods override StreamWrapperInterface::setUri()
- LocalStream::setUri in core/
lib/ Drupal/ Core/ StreamWrapper/ LocalStream.php - ReadOnlyStream::setUri in core/
lib/ Drupal/ Core/ StreamWrapper/ ReadOnlyStream.php
File
-
core/
lib/ Drupal/ Core/ StreamWrapper/ StreamWrapperInterface.php, line 131
Class
- StreamWrapperInterface
- Defines a Drupal stream wrapper extension.
Namespace
Drupal\Core\StreamWrapperCode
public function setUri($uri);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.