You are here

protected function DeleteTermsConfirm::deleteStore in Taxonomy Multi-delete Terms 8

1 call to DeleteTermsConfirm::deleteStore()
DeleteTermsConfirm::submitForm in src/Form/DeleteTermsConfirm.php
Form submission handler.

File

src/Form/DeleteTermsConfirm.php, line 90

Class

DeleteTermsConfirm
Defines a confirmation form for deleting term data.

Namespace

Drupal\taxonomy_multidelete_terms\Form

Code

protected function deleteStore() {
  $storedata = $this->tempStore
    ->get('deletedterms');
  if (!empty($storedata)) {
    $this->tempStore
      ->delete('deletedterms');
  }
}