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