public function LocalReadOnlyStream::stream_metadata
public LocalReadOnlyStream::stream_metadata($uri, $option, $value)
Does not change meta data as this is a read-only stream wrapper.
Overrides LocalStream::stream_metadata
File
- core/lib/Drupal/Core/StreamWrapper/LocalReadOnlyStream.php, line 137
Class
- LocalReadOnlyStream
- Defines a read-only Drupal stream wrapper base class for local files.
Namespace
Drupal\Core\StreamWrapperCode
public function stream_metadata($uri, $option, $value) { trigger_error('stream_metadata() not supported for read-only stream wrappers', E_USER_WARNING); return FALSE; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!StreamWrapper!LocalReadOnlyStream.php/function/LocalReadOnlyStream::stream_metadata/8.1.x