You are here

public function LocalReadOnlyStream::stream_metadata in System stream wrapper 8

Does not change meta data as this is a read-only stream wrapper.

Overrides LocalStream::stream_metadata

File

src/StreamWrapper/LocalReadOnlyStream.php, line 122

Class

LocalReadOnlyStream
Defines a read-only Drupal stream wrapper base class for local files.

Namespace

Drupal\system_stream_wrapper\StreamWrapper

Code

public function stream_metadata($uri, $option, $value) {
  trigger_error('stream_metadata() not supported for read-only stream wrappers', E_USER_WARNING);
  return FALSE;
}