You are here

public function FlysystemPluginManager::getFallbackPluginId in Flysystem 8

Same name and namespace in other branches
  1. 3.x src/Plugin/FlysystemPluginManager.php \Drupal\flysystem\Plugin\FlysystemPluginManager::getFallbackPluginId()
  2. 2.0.x src/Plugin/FlysystemPluginManager.php \Drupal\flysystem\Plugin\FlysystemPluginManager::getFallbackPluginId()
  3. 3.0.x src/Plugin/FlysystemPluginManager.php \Drupal\flysystem\Plugin\FlysystemPluginManager::getFallbackPluginId()

Gets a fallback id for a missing plugin.

Parameters

string $plugin_id: The ID of the missing requested plugin.

array $configuration: An array of configuration relevant to the plugin instance.

Return value

string The id of an existing plugin to use when the plugin does not exist.

Overrides FallbackPluginManagerInterface::getFallbackPluginId

File

src/Plugin/FlysystemPluginManager.php, line 34

Class

FlysystemPluginManager
Manages Flysystem plugins.

Namespace

Drupal\flysystem\Plugin

Code

public function getFallbackPluginId($plugin_id, array $configuration = []) {
  return 'missing';
}