public function EntityPreforwardEvent::__construct in Forward 8
Same name and namespace in other branches
- 8.3 src/Event/EntityPreforwardEvent.php \Drupal\forward\Event\EntityPreforwardEvent::__construct()
- 8.2 src/Event/EntityPreforwardEvent.php \Drupal\forward\Event\EntityPreforwardEvent::__construct()
- 4.x src/Event/EntityPreforwardEvent.php \Drupal\forward\Event\EntityPreforwardEvent::__construct()
- 4.0.x src/Event/EntityPreforwardEvent.php \Drupal\forward\Event\EntityPreforwardEvent::__construct()
Constructs the object.
File
- src/
Event/ EntityPreforwardEvent.php, line 40
Class
- EntityPreforwardEvent
- Event that is fired when an entity is forwarded.
Namespace
Drupal\forward\EventCode
public function __construct(UserInterface $account, EntityInterface $entity, array $arguments) {
$this->account = $account;
$this->entity = $entity;
$this->arguments = $arguments;
}