function ViewsHandlerManager::getFallbackPluginId
Same name and namespace in other branches
- 9 core/modules/views/src/Plugin/ViewsHandlerManager.php \Drupal\views\Plugin\ViewsHandlerManager::getFallbackPluginId()
- 8.9.x core/modules/views/src/Plugin/ViewsHandlerManager.php \Drupal\views\Plugin\ViewsHandlerManager::getFallbackPluginId()
- 11.x core/modules/views/src/Plugin/ViewsHandlerManager.php \Drupal\views\Plugin\ViewsHandlerManager::getFallbackPluginId()
Gets a fallback id for a missing plugin.
This method should be implemented in extending classes that also implement FallbackPluginManagerInterface. It is called by PluginManagerBase::handlePluginNotFound on the abstract class, and therefore should be defined as well on the abstract class to prevent static analysis errors.
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 PluginManagerBase::getFallbackPluginId
File
-
core/
modules/ views/ src/ Plugin/ ViewsHandlerManager.php, line 136
Class
- ViewsHandlerManager
- Plugin type manager for all views handlers.
Namespace
Drupal\views\PluginCode
public function getFallbackPluginId($plugin_id, array $configuration = []) {
return 'broken';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.