function PoStreamInterface::setURI
Same name in other branches
- 9 core/lib/Drupal/Component/Gettext/PoStreamInterface.php \Drupal\Component\Gettext\PoStreamInterface::setURI()
- 8.9.x core/lib/Drupal/Component/Gettext/PoStreamInterface.php \Drupal\Component\Gettext\PoStreamInterface::setURI()
- 10 core/lib/Drupal/Component/Gettext/PoStreamInterface.php \Drupal\Component\Gettext\PoStreamInterface::setURI()
Set the URI of the PO stream that is going to be read or written.
Parameters
string $uri: URI string to set for this stream.
2 methods override PoStreamInterface::setURI()
- PoStreamReader::setURI in core/
lib/ Drupal/ Component/ Gettext/ PoStreamReader.php - Set the URI of the PO stream that is going to be read or written.
- PoStreamWriter::setURI in core/
lib/ Drupal/ Component/ Gettext/ PoStreamWriter.php - Set the URI of the PO stream that is going to be read or written.
File
-
core/
lib/ Drupal/ Component/ Gettext/ PoStreamInterface.php, line 37
Class
- PoStreamInterface
- Common functions for file/stream based PO readers/writers.
Namespace
Drupal\Component\GettextCode
public function setURI($uri);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.