You are here

public function WebformElementManager::getFallbackPluginId in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformElementManager.php \Drupal\webform\Plugin\WebformElementManager::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 WebformElementManager::getFallbackPluginId()
WebformElementManager::getElementPluginId in src/Plugin/WebformElementManager.php
Is an element's plugin id.

File

src/Plugin/WebformElementManager.php, line 117

Class

WebformElementManager
Provides a plugin manager for webform element plugins.

Namespace

Drupal\webform\Plugin

Code

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