interface FallbackPluginManagerInterface (View source)

An interface implemented by plugin managers with fallback plugin behaviors.

Methods

string
getFallbackPluginId(string $plugin_id, array $configuration = [])

Gets a fallback id for a missing plugin.

Details

string getFallbackPluginId(string $plugin_id, array $configuration = [])

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.