You are here

public function Minisite::delete in Mini site 8

Delete minisite.

Overrides MinisiteInterface::delete

File

src/Minisite.php, line 291

Class

Minisite
Class Minisite.

Namespace

Drupal\minisite

Code

public function delete() {
  $this->assetContainer
    ->deleteAll();
  $this->archiveFile
    ->delete();
  $this->archiveFile = NULL;
}