Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. StreamWrapperInterface.php

function 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
Sets the absolute stream resource URI.
ReadOnlyStream::setUri in core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php
Sets the absolute stream resource URI.

File

core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, line 131

Class

StreamWrapperInterface
Defines a Drupal stream wrapper extension.

Namespace

Drupal\Core\StreamWrapper

Code

public function setUri($uri);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal