You are here

public function UnflaggingEvent::__construct in Flag 8.4

Builds a new UnflaggingEvent.

Parameters

\Drupal\flag\FlaggingInterface[] $flaggings: The flaggings.

File

src/Event/UnflaggingEvent.php, line 25

Class

UnflaggingEvent
Event for when a flagging is deleted.

Namespace

Drupal\flag\Event

Code

public function __construct(array $flaggings) {
  $this->flaggings = $flaggings;
}