You are here

public function DeleteFeedsEvent::__construct in Feeds 8.3

Constructs a new DeleteFeedsEvent object.

Parameters

\Drupal\feeds\FeedInterface[] $feeds: A list of feed entities.

File

src/Event/DeleteFeedsEvent.php, line 25

Class

DeleteFeedsEvent
Fired when one or more feeds is being deleted.

Namespace

Drupal\feeds\Event

Code

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