You are here

public function PackagesAwareTrait::getPackageVersions in Automatic Updates 8.2

Returns the desired package versions to update to.

Return value

string[] The desired package versions to update to, keyed by package name.

File

src/Event/PackagesAwareTrait.php, line 23

Class

PackagesAwareTrait
Common functionality for events which can carry desired package versions.

Namespace

Drupal\automatic_updates\Event

Code

public function getPackageVersions() : array {
  return $this->packageVersions;
}