Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Core / Plugin / PluginBase.php
1 <?php
2
3 namespace Drupal\Core\Plugin;
4
5 use Drupal\Component\Plugin\PluginBase as ComponentPluginBase;
6 use Drupal\Core\Messenger\MessengerTrait;
7 use Drupal\Core\StringTranslation\StringTranslationTrait;
8 use Drupal\Core\DependencyInjection\DependencySerializationTrait;
9
10 /**
11  * Base class for plugins supporting metadata inspection and translation.
12  *
13  * @ingroup plugin_api
14  */
15 abstract class PluginBase extends ComponentPluginBase {
16   use StringTranslationTrait;
17   use DependencySerializationTrait;
18   use MessengerTrait;
19
20 }