function StreamWrapperManagerInterface::registerWrapper

Same name in other branches
  1. 9 core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::registerWrapper()
  2. 8.9.x core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::registerWrapper()
  3. 10 core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::registerWrapper()

Registers stream wrapper with PHP.

Parameters

string $scheme: The scheme of the stream wrapper.

string $class: The class of the stream wrapper.

int $type: The type of the stream wrapper.

1 method overrides StreamWrapperManagerInterface::registerWrapper()
StreamWrapperManager::registerWrapper in core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php

File

core/lib/Drupal/Core/StreamWrapper/StreamWrapperManagerInterface.php, line 170

Class

StreamWrapperManagerInterface
Provides a StreamWrapper manager.

Namespace

Drupal\Core\StreamWrapper

Code

public function registerWrapper($scheme, $class, $type);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.