You are here

public function EmptyFieldsPluginManager::getFallbackPluginId in Empty fields 8

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/EmptyFieldsPluginManager.php, line 41

Class

EmptyFieldsPluginManager
Provides a plugin manager for empty fields.

Namespace

Drupal\empty_fields

Code

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