function LocalStream::stream_write
Same name in other branches
- 9 core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::stream_write()
- 8.9.x core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::stream_write()
- 11.x core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::stream_write()
Overrides PhpStreamWrapperInterface::stream_write
1 method overrides LocalStream::stream_write()
- LocalReadOnlyStream::stream_write in core/
lib/ Drupal/ Core/ StreamWrapper/ LocalReadOnlyStream.php - Support for fwrite(), file_put_contents() etc.
File
-
core/
lib/ Drupal/ Core/ StreamWrapper/ LocalStream.php, line 186
Class
- LocalStream
- Defines a Drupal stream wrapper base class for local files.
Namespace
Drupal\Core\StreamWrapperCode
public function stream_write($data) {
return fwrite($this->handle, $data);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.