public function EventInterface::setMachineName in Event 8
Sets the Event machine name.
Parameters
string $name: The Event name.
Return value
\Drupal\event\Entity\EventInterface The called Event entity.
1 method overrides EventInterface::setMachineName()
- Event::setMachineName in src/
Entity/ Event.php - Sets the Event machine name.
File
- src/
Entity/ EventInterface.php, line 54
Class
- EventInterface
- Provides an interface for defining Event entities.
Namespace
Drupal\event\EntityCode
public function setMachineName($name);