You are here

public function FlaggingEvent::__construct in Flag 8.4

Builds a new FlaggingEvent.

Parameters

\Drupal\flag\FlaggingInterface $flagging: The flaging.

File

src/Event/FlaggingEvent.php, line 26

Class

FlaggingEvent
Event for when a flagging is created.

Namespace

Drupal\flag\Event

Code

public function __construct(FlaggingInterface $flagging) {
  $this->flagging = $flagging;
}