You are here

public function TypeMapperPluginManager::getFallbackPluginId in Schemata 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

schemata_json_schema/src/Plugin/Type/TypeMapperPluginManager.php, line 47

Class

TypeMapperPluginManager
Manages TypeMapper plugins.

Namespace

Drupal\schemata_json_schema\Plugin\Type

Code

public function getFallbackPluginId($plugin_id, array $configuration = []) {
  return static::FALLBACK_TYPE_MAPPER;
}