You are here

protected function MultistepFormBase::deleteStore in GatherContent 8.4

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

Parameters

array $keys: Array of keys to delete.

File

gathercontent_ui/src/Form/MultistepFormBase.php, line 108

Class

MultistepFormBase
Class MultistepFormBase.

Namespace

Drupal\gathercontent_ui\Form

Code

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