Add argument to event.
Parameters
string $key Argument name.:
mixed $value Value.:
Return value
GenericEvent
File
- drupal/core/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/GenericEvent.php, line 85
Class
- GenericEvent
- Event encapsulation class.
Namespace
Symfony\Component\EventDispatcher
Code
public function setArgument($key, $value) {
$this->arguments[$key] = $value;
return $this;
}