public function EntityForwardEvent::__construct in Forward 8
Same name and namespace in other branches
- 8.3 src/Event/EntityForwardEvent.php \Drupal\forward\Event\EntityForwardEvent::__construct()
- 8.2 src/Event/EntityForwardEvent.php \Drupal\forward\Event\EntityForwardEvent::__construct()
- 4.x src/Event/EntityForwardEvent.php \Drupal\forward\Event\EntityForwardEvent::__construct()
- 4.0.x src/Event/EntityForwardEvent.php \Drupal\forward\Event\EntityForwardEvent::__construct()
Constructs the object.
File
- src/
Event/ EntityForwardEvent.php, line 40
Class
- EntityForwardEvent
- 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;
}