function EquivalentUpdate::__construct

Same name in other branches
  1. 10 core/lib/Drupal/Core/Update/EquivalentUpdate.php \Drupal\Core\Update\EquivalentUpdate::__construct()

Constructs a EquivalentUpdate object.

Parameters

string $module: The module the update is for.

int $future_update: The equivalent future update.

int $ran_update: The update that already ran and registered the equivalent update.

string $future_version: The future version that has the expected update.

File

core/lib/Drupal/Core/Update/EquivalentUpdate.php, line 26

Class

EquivalentUpdate
Value object to hold information about an equivalent update.

Namespace

Drupal\Core\Update

Code

public function __construct(string $module, int $future_update, int $ran_update, string $future_version) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.