modules/custom/d_update/src/UpdateChecklist.php
public function markUpdatesSuccessful(array $names, $checkListPoints = TRUE) {
    if ($this->updateChecklist === FALSE) {
      return;
    }
    $this->setSuccessfulByHook($names, TRUE);
    if ($checkListPoints) {
      $this->checkListPoints($names);
    }
  }
public function markUpdatesSuccessful(array $names, $checkListPoints = TRUE) {
    if ($this->updateChecklist === FALSE) {
      return;
    }
    $this->setSuccessfulByHook($names, TRUE);
    if ($checkListPoints) {
      $this->checkListPoints($names);
    }
  }
Marks a list of updates as successful.

@param array $names
Array of update ids.
@param bool $checkListPoints
Indicates the corresponding checkbox should be checked.

@throws \Drupal\Core\Entity\EntityStorageException