core/lib/Drupal/Component/Annotation/Plugin.php | 9 +++++++++ core/modules/rest/src/Annotation/RestResource.php | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/core/lib/Drupal/Component/Annotation/Plugin.php b/core/lib/Drupal/Component/Annotation/Plugin.php index 790440d..3c78ede 100644 --- a/core/lib/Drupal/Component/Annotation/Plugin.php +++ b/core/lib/Drupal/Component/Annotation/Plugin.php @@ -27,6 +27,15 @@ class Plugin implements AnnotationInterface { protected $definition; /** + * The deriver class for this resource plugin, if any. + * + * @see \Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator::getDeriverClass() + * + * @var string|null + */ + public $deriver; + + /** * Constructs a Plugin object. * * Builds up the plugin definition and invokes the get() method for any diff --git a/core/modules/rest/src/Annotation/RestResource.php b/core/modules/rest/src/Annotation/RestResource.php index 8b60f9f..d21f24c 100644 --- a/core/modules/rest/src/Annotation/RestResource.php +++ b/core/modules/rest/src/Annotation/RestResource.php @@ -48,15 +48,6 @@ class RestResource extends Plugin { public $serialization_class; /** - * The deriver class for this resource plugin, if any. - * - * @see \Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator::getDeriverClass() - * - * @var string|null - */ - public $deriver; - - /** * The URI paths that this REST resource plugin provides. * * Key-value pairs, with link relation type plugin IDs as keys, and URL