5b: Add getTitle() method
> Failed asserting that two strings are identical
This commit is contained in:
parent
07ad4dc2b1
commit
1fe7119b5d
1 changed files with 7 additions and 1 deletions
|
@ -2,4 +2,10 @@
|
|||
|
||||
namespace Drupal\my_module\Entity;
|
||||
|
||||
class Post {}
|
||||
class Post {
|
||||
|
||||
public function getTitle(): string {
|
||||
return '';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue