From 426f87ea619a1a50aac480611c09bb0ad0c657a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Mon, 20 Nov 2023 18:06:20 +0100 Subject: [PATCH] add needed implementation of get_object_type --- transformers/tribe-transformer.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/transformers/tribe-transformer.php b/transformers/tribe-transformer.php index 8e81522..661e7b8 100644 --- a/transformers/tribe-transformer.php +++ b/transformers/tribe-transformer.php @@ -36,6 +36,17 @@ class Activitypub_Tribe_Transformer extends \Activitypub\Transformer_Base { return 'The Events Calendar'; } + /** + * Returns the ActivityStreams 2.0 Object-Type for an Event. + * + * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-event + * + * @return string The Event Object-Type. + */ + protected function get_object_type() { + return 'Event'; + } + /** * Get supported post types. *