function MarkFutureUpdateEquivalent::__construct

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Update/Attribute/MarkFutureUpdateEquivalent.php \Drupal\Core\Update\Attribute\MarkFutureUpdateEquivalent::__construct()

File

core/lib/Drupal/Core/Update/Attribute/MarkFutureUpdateEquivalent.php, line 39

Class

MarkFutureUpdateEquivalent
Attribute used by hook_update_N() to register an equivalent update.

Namespace

Drupal\Core\Update\Attribute

Code

public function __construct(public int $futureUpdateNumber, public string $futureVersionString) {
}

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