public function FreelinkingManagerInterface::getPluginFromIndicator in Freelinking 8.3
Same name and namespace in other branches
- 4.0.x src/FreelinkingManagerInterface.php \Drupal\freelinking\FreelinkingManagerInterface::getPluginFromIndicator()
Get the plugin to use based on the indicator and a list of allowed plugins.
Parameters
string $indicator: The indicator string to test.
array $allowed_plugins: An indexed array of plugin names.
array $options: The settings from the filter. This is an associative array.
Return value
\Drupal\freelinking\Plugin\FreelinkingPluginInterface|false The plugin to use or FALSE if not found.
See also
\Drupal\freelinking\Plugin\Filter\Freelinking::process()
1 method overrides FreelinkingManagerInterface::getPluginFromIndicator()
- FreelinkingManager::getPluginFromIndicator in src/
FreelinkingManager.php - Get the plugin to use based on the indicator and a list of allowed plugins.
File
- src/
FreelinkingManagerInterface.php, line 45
Class
- FreelinkingManagerInterface
- Freelinking plugin manager interface.
Namespace
Drupal\freelinkingCode
public function getPluginFromIndicator($indicator, array $allowed_plugins = [], array $options = []);