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