You are here

public function EntityRoutingMapManager::getFallbackPluginId in Form mode manager 8

Same name and namespace in other branches
  1. 8.2 src/EntityRoutingMapManager.php \Drupal\form_mode_manager\EntityRoutingMapManager::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/EntityRoutingMapManager.php, line 35

Class

EntityRoutingMapManager
Manages EntityRoutingMap plugins.

Namespace

Drupal\form_mode_manager

Code

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