public function BlockManager::getFallbackPluginId in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Block/BlockManager.php \Drupal\Core\Block\BlockManager::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
- core/
lib/ Drupal/ Core/ Block/ BlockManager.php, line 84
Class
- BlockManager
- Manages discovery and instantiation of block plugins.
Namespace
Drupal\Core\BlockCode
public function getFallbackPluginId($plugin_id, array $configuration = []) {
return 'broken';
}