Extract helper methods
This commit is contained in:
parent
06c3da1880
commit
a656280e7b
5 changed files with 24 additions and 11 deletions
|
@ -53,6 +53,10 @@ class Talk extends Node implements ContentEntityBundleInterface {
|
|||
->max();
|
||||
}
|
||||
|
||||
public function setEvents(array $events): void {
|
||||
$this->set(self::FIELD_EVENTS, $events);
|
||||
}
|
||||
|
||||
public function setNextDate(int $date): void {
|
||||
$this->set(self::FIELD_EVENT_DATE, $date);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue