You are here

public function ProviderManagerInterface::loadProviderFromStream in Video 8

Same name and namespace in other branches
  1. 8.2 src/ProviderManagerInterface.php \Drupal\video\ProviderManagerInterface::loadProviderFromStream()

Load a provider from stream wrapper.

Parameters

string $stream: Stream used from the file.

Drupal\file\Entity\File $file: The source file.

array $data: Source file metadata.

Return value

\Drupal\video\ProviderPluginInterface|bool The loaded plugin.

1 method overrides ProviderManagerInterface::loadProviderFromStream()
ProviderManager::loadProviderFromStream in src/ProviderManager.php
Load a provider from stream wrapper.

File

src/ProviderManagerInterface.php, line 56

Class

ProviderManagerInterface
Interface for the class that gathers the provider plugins.

Namespace

Drupal\video

Code

public function loadProviderFromStream($stream, $file, $data = []);