interface DefaultPluginResolverInterface in Plugin 8.2
Defines a default plugin resolver.
Hierarchy
- interface \Drupal\plugin\DefaultPluginResolver\DefaultPluginResolverInterface
Expanded class hierarchy of DefaultPluginResolverInterface
All classes that implement DefaultPluginResolverInterface
3 files declare their use of DefaultPluginResolverInterface
- AdvancedPluginSelectorBase.php in src/
Plugin/ Plugin/ PluginSelector/ AdvancedPluginSelectorBase.php - PluginSelectorBase.php in src/
Plugin/ Plugin/ PluginSelector/ PluginSelectorBase.php - PluginSelectorBaseTestBase.php in tests/
src/ Unit/ Plugin/ Plugin/ PluginSelector/ PluginSelectorBaseTestBase.php
File
- src/
DefaultPluginResolver/ DefaultPluginResolverInterface.php, line 10
Namespace
Drupal\plugin\DefaultPluginResolverView source
interface DefaultPluginResolverInterface {
/**
* Creates a default plugin instance of a given plugin type.
*
* @param \Drupal\plugin\PluginType\PluginTypeInterface
*
* @return \Drupal\Component\Plugin\PluginInspectionInterface|null
* A plugin instance or NULL of no default could be created.
*/
public function createDefaultPluginInstance(PluginTypeInterface $plugin_type);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DefaultPluginResolverInterface:: |
public | function | Creates a default plugin instance of a given plugin type. | 1 |