3 namespace Drupal\Component\Plugin;
6 * Provides an interface for objects that depend on a plugin.
8 interface PluginAwareInterface {
11 * Sets the plugin for this object.
13 * @param \Drupal\Component\Plugin\PluginInspectionInterface $plugin
16 public function setPlugin(PluginInspectionInterface $plugin);