You are here

public function ProviderManagerInterface::loadApplicableDefinitionMatches in Video 8.2

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

Get the provider applicable to the given user input.

Parameters

array $definitions: A list of definitions to test against.

$user_input: The user input to test against the plugins.

Return value

\Drupal\video\ProviderPluginInterface|bool The relevant plugin or FALSE on failure.

1 method overrides ProviderManagerInterface::loadApplicableDefinitionMatches()
ProviderManager::loadApplicableDefinitionMatches in src/ProviderManager.php
Get the provider applicable to the given user input.

File

src/ProviderManagerInterface.php, line 39

Class

ProviderManagerInterface
Interface for the class that gathers the provider plugins.

Namespace

Drupal\video

Code

public function loadApplicableDefinitionMatches(array $definitions, $user_input);