public function StreamWrapperManager::register

public StreamWrapperManager::register()

Registers the tagged stream wrappers.

Internal use only.

File

core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php, line 161

Class

StreamWrapperManager
Provides a StreamWrapper manager.

Namespace

Drupal\Core\StreamWrapper

Code

public function register() {
  foreach ($this->info as $scheme => $info) {
    $this->registerWrapper($scheme, $info['class'], $info['type']);
  }
}

© 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!StreamWrapperManager.php/function/StreamWrapperManager::register/8.1.x