add needed implementation of get_object_type
This commit is contained in:
parent
b92d2d01b4
commit
426f87ea61
1 changed files with 11 additions and 0 deletions
|
@ -36,6 +36,17 @@ class Activitypub_Tribe_Transformer extends \Activitypub\Transformer_Base {
|
||||||
return 'The Events Calendar';
|
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.
|
* Get supported post types.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue