More updates to stop using dev or alpha or beta versions.
[yaffs-website] / web / core / tests / Drupal / Tests / Core / Plugin / Fixtures / TestConfigurablePlugin.php
1 <?php
2
3 namespace Drupal\Tests\Core\Plugin\Fixtures;
4
5 use Drupal\Component\Plugin\ConfigurablePluginInterface;
6 use Drupal\Component\Plugin\PluginBase;
7
8 class TestConfigurablePlugin extends PluginBase implements ConfigurablePluginInterface {
9
10   /**
11    * {@inheritdoc}
12    */
13   public function getConfiguration() {
14     return $this->configuration;
15   }
16
17   /**
18    * {@inheritdoc}
19    */
20   public function setConfiguration(array $configuration) {
21     $this->configuration = $configuration;
22   }
23
24   /**
25    * {@inheritdoc}
26    */
27   public function defaultConfiguration() {
28     return [];
29   }
30
31   /**
32    * {@inheritdoc}
33    */
34   public function calculateDependencies() {
35     return [];
36   }
37
38 }