function StubFallbackPluginManager::getFallbackPluginId
Same name in other branches
- 9 core/tests/Drupal/Tests/Component/Plugin/StubFallbackPluginManager.php \Drupal\Tests\Component\Plugin\StubFallbackPluginManager::getFallbackPluginId()
- 8.9.x core/tests/Drupal/Tests/Component/Plugin/StubFallbackPluginManager.php \Drupal\Tests\Component\Plugin\StubFallbackPluginManager::getFallbackPluginId()
- 10 core/tests/Drupal/Tests/Component/Plugin/StubFallbackPluginManager.php \Drupal\Tests\Component\Plugin\StubFallbackPluginManager::getFallbackPluginId()
Overrides PluginManagerBase::getFallbackPluginId
File
-
core/
tests/ Drupal/ Tests/ Component/ Plugin/ StubFallbackPluginManager.php, line 25
Class
Namespace
Drupal\Tests\Component\PluginCode
public function getFallbackPluginId($plugin_id, array $configuration = []) {
// Minimally implement getFallbackPluginId so that we can test it.
return $plugin_id . '_fallback';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.