You are here

public function DevelDumperPluginManager::getFallbackPluginId in Devel 8

Same name and namespace in other branches
  1. 8.3 src/DevelDumperPluginManager.php \Drupal\devel\DevelDumperPluginManager::getFallbackPluginId()
  2. 8.2 src/DevelDumperPluginManager.php \Drupal\devel\DevelDumperPluginManager::getFallbackPluginId()
  3. 4.x src/DevelDumperPluginManager.php \Drupal\devel\DevelDumperPluginManager::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

1 call to DevelDumperPluginManager::getFallbackPluginId()
DevelDumperPluginManager::createInstance in src/DevelDumperPluginManager.php
Creates a pre-configured instance of a plugin.

File

src/DevelDumperPluginManager.php, line 67

Class

DevelDumperPluginManager
Plugin type manager for Devel Dumper plugins.

Namespace

Drupal\devel

Code

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