transformer_refactoring #44

Merged
linos merged 42 commits from transformer_refactoring into main 2024-10-02 19:15:29 +02:00
3 changed files with 6 additions and 6 deletions
Showing only changes of commit a66dc74577 - Show all commits

View file

@ -45,7 +45,7 @@ final class Events_Manager extends Event_Transformer {
* @access public
* @return string Widget name.
*/
public function get_transformer_name() {
public function get_transformer_name() { // todo can we remove this or is this in use?
return 'activitypub-event-transformers/events-manager';
}
@ -58,7 +58,7 @@ final class Events_Manager extends Event_Transformer {
* @access public
* @return string Widget title.
*/
public function get_transformer_label() {
public function get_transformer_label() { // todo can we remove this or is this in use?
return 'Events Manager';
}
@ -71,7 +71,7 @@ final class Events_Manager extends Event_Transformer {
* @access public
* @return array Widget categories.
*/
public static function get_supported_post_types() {
public static function get_supported_post_types() { // todo can we remove this or is this in use?
return array();
}

View file

@ -29,7 +29,7 @@ final class GatherPress extends Event {
*
* @var Event
*/
protected $ap_object;
protected $ap_object; // todo can we remove this or is this in use?
/**
* The current GatherPress Event object.
@ -69,7 +69,7 @@ final class GatherPress extends Event {
* @access public
* @return array Widget categories.
*/
public static function get_supported_post_types() {
public static function get_supported_post_types() { // todo can we remove this or is this in use?
return array( GatherPress_Event::POST_TYPE );
}

View file

@ -28,7 +28,7 @@ final class VS_Event_List extends Event_Transformer {
*
* @var Event
*/
protected $ap_object;
protected $ap_object; // todo can we remove this or is this in use?
/**
* Get the event location.