public function Event::getName in Event 8
Gets the Event name.
Return value
string Name of the Event.
Overrides EventInterface::getName
File
- src/
Entity/ Event.php, line 136
Class
- Event
- Defines the Event entity.
Namespace
Drupal\event\EntityCode
public function getName() {
return $this
->get('name')->value;
}