public function Event::setName in Event 8
Sets the Event name.
Parameters
string $name: The Event name.
Return value
\Drupal\event\Entity\EventInterface The called Event entity.
Overrides EventInterface::setName
File
- src/
Entity/ Event.php, line 143
Class
- Event
- Defines the Event entity.
Namespace
Drupal\event\EntityCode
public function setName($name) {
$this
->set('name', $name);
return $this;
}