From 8b040a09a2d24a43f0225c618f0df850b5ba8bfc Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 21 Apr 2021 00:44:39 +0100 Subject: [PATCH] Remove the toTweet() method --- web/modules/custom/blog/src/Entity/Node/Post.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/web/modules/custom/blog/src/Entity/Node/Post.php b/web/modules/custom/blog/src/Entity/Node/Post.php index 950aa4f..7b61ddc 100644 --- a/web/modules/custom/blog/src/Entity/Node/Post.php +++ b/web/modules/custom/blog/src/Entity/Node/Post.php @@ -65,8 +65,4 @@ class Post extends Node implements ContentEntityBundleInterface { return (bool) $this->get(self::FIELD_SEND_TO_SOCIAL_MEDIA)->getString(); } - public function toTweet(): string { - return ''; - } - }