Mercurial > hg > isophonics-drupal-site
comparison core/lib/Drupal/Component/Plugin/PluginAwareInterface.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 <?php | |
2 | |
3 namespace Drupal\Component\Plugin; | |
4 | |
5 /** | |
6 * Provides an interface for objects that depend on a plugin. | |
7 */ | |
8 interface PluginAwareInterface { | |
9 | |
10 /** | |
11 * Sets the plugin for this object. | |
12 * | |
13 * @param \Drupal\Component\Plugin\PluginInspectionInterface $plugin | |
14 * The plugin. | |
15 */ | |
16 public function setPlugin(PluginInspectionInterface $plugin); | |
17 | |
18 } |