interface PluginAwareInterface in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Component/Plugin/PluginAwareInterface.php \Drupal\Component\Plugin\PluginAwareInterface
Provides an interface for objects that depend on a plugin.
Hierarchy
- interface \Drupal\Component\Plugin\PluginAwareInterface
Expanded class hierarchy of PluginAwareInterface
All classes that implement PluginAwareInterface
6 files declare their use of PluginAwareInterface
- PluginFormBase.php in core/
lib/ Drupal/ Core/ Plugin/ PluginFormBase.php - PluginFormFactory.php in core/
lib/ Drupal/ Core/ Plugin/ PluginFormFactory.php - PluginFormFactoryTest.php in core/
tests/ Drupal/ Tests/ Core/ Plugin/ PluginFormFactoryTest.php - WorkflowTypeConfigureFormBase.php in core/
modules/ workflows/ src/ Plugin/ WorkflowTypeConfigureFormBase.php - WorkflowTypeStateFormBase.php in core/
modules/ workflows/ src/ Plugin/ WorkflowTypeStateFormBase.php
File
- core/
lib/ Drupal/ Component/ Plugin/ PluginAwareInterface.php, line 8
Namespace
Drupal\Component\PluginView source
interface PluginAwareInterface {
/**
* Sets the plugin for this object.
*
* @param \Drupal\Component\Plugin\PluginInspectionInterface $plugin
* The plugin.
*/
public function setPlugin(PluginInspectionInterface $plugin);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PluginAwareInterface:: |
public | function | Sets the plugin for this object. | 4 |