You are here

public function ProviderManagerInterface::loadProviderFromInput in Video Embed Field 8

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

Load a provider from user input.

Parameters

string $input: Input provided from a field.

Return value

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

1 method overrides ProviderManagerInterface::loadProviderFromInput()
ProviderManager::loadProviderFromInput in src/ProviderManager.php
Load a provider from user input.

File

src/ProviderManagerInterface.php, line 51

Class

ProviderManagerInterface
Interface for the class that gathers the provider plugins.

Namespace

Drupal\video_embed_field

Code

public function loadProviderFromInput($input);