public function markAllUpdates($status = TRUE) {
    if ($this->updateChecklist === FALSE) {
      return;
    }

    $keys = [];
    foreach ($this->updateChecklist->items as $versionItems) {
      foreach ($versionItems as $key => $item) {
        if (is_array($item)) {
          $keys[] = $key;
        }
      }
    }

    $this->setSuccessfulByHook($keys, $status);
    $this->checkAllListPoints($status);
  }
public function markAllUpdates($status = TRUE) {
    if ($this->updateChecklist === FALSE) {
      return;
    }

    $keys = [];
    foreach ($this->updateChecklist->items as $versionItems) {
      foreach ($versionItems as $key => $item) {
        if (is_array($item)) {
          $keys[] = $key;
        }
      }
    }

    $this->setSuccessfulByHook($keys, $status);
    $this->checkAllListPoints($status);
  }
public function markAllUpdates ( $ status = TRUE ) { if ( $ this -> updateChecklist === FALSE ) { return ; } $ keys = [ ] ; foreach ( $ this -> updateChecklist -> items as $ versionItems ) { foreach ( $ versionItems as $ key => $ item ) { if ( is_array ( $ item ) ) { $ keys [ ] = $ key ; } } } $ this -> setSuccessfulByHook ( $ keys , $ status ) ; $ this -> checkAllListPoints ( $ status ) ; }
Marks a list of updates.

@param bool $status
Checkboxes enabled or disabled.

@throws \Drupal\Core\Entity\EntityStorageException
Marks a list of updates .