Skip to content
Snippets Groups Projects

Issue #3246036: Remove PreStartEvent in favor of PreCreateEvent

Compare and
20 files
+ 139
307
Compare changes
  • Side-by-side
  • Inline
Files
20
+ 0
27
<?php
namespace Drupal\automatic_updates\Event;
/**
* Common functionality for events which can carry desired package versions.
*/
trait PackagesAwareTrait {
/**
* The desired package versions to update to, keyed by package name.
*
* @var string[]
*/
protected $packageVersions;
/**
* Returns the desired package versions to update to.
*
* @return string[]
* The desired package versions to update to, keyed by package name.
*/
public function getPackageVersions(): array {
return $this->packageVersions;
}
}
Loading