diff --git a/web/modules/custom/my_module/src/Entity/Post.php b/web/modules/custom/my_module/src/Entity/Post.php index b3cc15b..5cd63da 100644 --- a/web/modules/custom/my_module/src/Entity/Post.php +++ b/web/modules/custom/my_module/src/Entity/Post.php @@ -13,7 +13,7 @@ class Post { } public function getTitle(): string { - return ''; + return $this->node->label(); } }