function EquivalentUpdate::__construct
Same name and namespace in other branches
- 11.x 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\UpdateCode
public function __construct(public readonly string $module, public readonly int $future_update, public readonly int $ran_update, public readonly string $future_version) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.