You are here

public function PostUpdateEvent::__construct in Automatic Updates 8

Constructs a new PostUpdateEvent.

Parameters

\Drupal\automatic_updates\UpdateMetadata $metadata: The update metadata.

bool $success: TRUE if update succeeded, FALSE otherwise.

File

src/Event/PostUpdateEvent.php, line 37

Class

PostUpdateEvent
Defines the post update event.

Namespace

Drupal\automatic_updates\Event

Code

public function __construct(UpdateMetadata $metadata, $success) {
  $this->updateMetadata = $metadata;
  $this->success = $success;
}