function FallbackPluginManagerInterface::getFallbackPluginId
Same name in other branches
- 9 core/lib/Drupal/Component/Plugin/FallbackPluginManagerInterface.php \Drupal\Component\Plugin\FallbackPluginManagerInterface::getFallbackPluginId()
- 8.9.x core/lib/Drupal/Component/Plugin/FallbackPluginManagerInterface.php \Drupal\Component\Plugin\FallbackPluginManagerInterface::getFallbackPluginId()
- 11.x core/lib/Drupal/Component/Plugin/FallbackPluginManagerInterface.php \Drupal\Component\Plugin\FallbackPluginManagerInterface::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.
File
-
core/
lib/ Drupal/ Component/ Plugin/ FallbackPluginManagerInterface.php, line 21
Class
- FallbackPluginManagerInterface
- An interface implemented by plugin managers with fallback plugin behaviors.
Namespace
Drupal\Component\PluginCode
public function getFallbackPluginId($plugin_id, array $configuration = []);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.