core/modules/rest/src/Annotation/RestResource.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/modules/rest/src/Annotation/RestResource.php b/core/modules/rest/src/Annotation/RestResource.php index 82269db..0af11a8 100644 --- a/core/modules/rest/src/Annotation/RestResource.php +++ b/core/modules/rest/src/Annotation/RestResource.php @@ -38,4 +38,11 @@ class RestResource extends Plugin { */ public $label; + /** + * The serialization class to deserialize serialized data into. + * + * @var string (optional) + */ + public $serialization_class; + }