aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity/Tag.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2015-06-02 18:54:34 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2015-06-02 18:56:07 +0200
commit82d6d9cb06a1486e2e3b05fa6ce857b3b8655180 (patch)
tree973017b934f12bed3a46cc23b30446a41c9ff7d8 /src/Wallabag/CoreBundle/Entity/Tag.php
parent51d9699fa130a18a1c5cd09d1b03a382d73e91db (diff)
downloadwallabag-82d6d9cb06a1486e2e3b05fa6ce857b3b8655180.tar.gz
wallabag-82d6d9cb06a1486e2e3b05fa6ce857b3b8655180.tar.zst
wallabag-82d6d9cb06a1486e2e3b05fa6ce857b3b8655180.zip
Add basic title edition
Fix #218 I mean basic, because there is no javascript at all. It could be a nice edit-in-place. But for the moment, it is simple.
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/Tag.php')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Tag.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Tag.php b/src/Wallabag/CoreBundle/Entity/Tag.php
index afe9e1b9..92442df6 100644
--- a/src/Wallabag/CoreBundle/Entity/Tag.php
+++ b/src/Wallabag/CoreBundle/Entity/Tag.php
@@ -51,6 +51,12 @@ class Tag
51 $this->user = $user; 51 $this->user = $user;
52 $this->entries = new ArrayCollection(); 52 $this->entries = new ArrayCollection();
53 } 53 }
54
55 public function __toString()
56 {
57 return $this->label;
58 }
59
54 /** 60 /**
55 * Get id. 61 * Get id.
56 * 62 *