You are here

protected function MultistepFormBase::deleteStore in GatherContent 8.3

Helper removing all keys from the store collection used for multistep form.

Parameters

array $keys: Array of keys to delete.

File

src/Form/MultistepFormBase.php, line 121

Class

MultistepFormBase
Class MultistepFormBase.

Namespace

Drupal\gathercontent\Form

Code

protected function deleteStore(array $keys) {
  foreach ($keys as $key) {
    $this->store
      ->delete($key);
  }
}