public function Event::setName

Sets the event's name property.

@api

Parameters

string $name The event name.:

File

drupal/core/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Event.php, line 117

Class

Event
Event is the base class for classes containing event data.

Namespace

Symfony\Component\EventDispatcher

Code

public function setName($name) {
  $this->name = $name;
}